-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No expected output when using standalone debug mode of WinAFL client #442
Comments
Hmm, IIRC afl-fuzz will mute output by default, but running DynamoRIO with winafl.dll directly should not. Does switching to latest DynamoRIO from https://github.com/DynamoRIO/dynamorio/releases help? Note: You might need to rebuild winafl. |
Tackled this problem (I used previous binary compiled without -g flag, so apparently instruments were unable to locate main() correctly). Now the output of
But now, when I try to run afl-fuzz.exe with command: I result in an error:
As I understand, it usually happens when debug mode is working uncorrectly but it is not the case this time. Full output:
|
The only thing I notice is that in afl-fuzz command line, you use One thing you might try is using TinyInst instead of DynamoRIO instrumentation. TinyInst mode makes it easier to diagnose some issues IMO, in the above case it will tell you a real reason why the run hanged. You need to compile with |
Greetings,
Ran into a problem and unfortunately have no idea what the mistake i make. Any help to resolve this issue would be greatly appreciated.
I am attaching afl.target.exe.22576.0000.proc.log
Source code of test.cpp can be found at the very end of the issue.
If needed, I will provide any more information.
Description
Output
None
Expected output - 10 times (due to fuzz_iterations option = 10) text below:
Log file output afl.target.exe.22576.0000.proc
Handlers are called 10 times but no console output and an empty coverage map
To be mentioned
1. Target is running correctly without instrumentation.
Command:
target .\input\1
Output:
2. Target seems to be running correctly with command
C:\Users\stepanova.anna\dev\projects\winafl\DynamoRIO-Windows-10.0.0\bin64\drrun.exe -debug -- target .\input\1
See expected output but have no idea what threads are mentioned at the end.
Output:
test.cpp
The text was updated successfully, but these errors were encountered: