-
Notifications
You must be signed in to change notification settings - Fork 120
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
Crash because of user-defined exceptions when running thru the fuzzer #3
Comments
Two points here
|
Thanks, it works perfectly (x86). |
Hangs are more difficult to deduplicate, so if your code produces a lot of hangs for whatever reasons, it would create a lot of files quickly. Additionally, as you said, hangs might not be as interesting from the security standpoint. |
Great, thanks! (closing issue) |
Hi,
I'm trying to fuzz-test my program.
I'm Running:
fuzzer -in in -out out -t 100000 -delivery file -instrument_module mycode.exe -target_module mycode.exe -target_method RunFuzzingTest -nargs 1 -iterations 10000 -persist -loop -cmp_coverage -- "<PATH>\mycode.exe" @@
I get it running, but I get frequent hangs and "
[!] WARNING: Process exit during target function
" errors.For example:
However, I get nothing in the out/dump or out/crash directories.
If I install Procdump, I will also get crash dumps frequently (but can't do anything with them because they did not contain symbols correctly when running through the fuzzer, contrary to regular crash).
I see that in some of those dumps, the program crashed because of unhandled exceptions that my program throws. Those exceptions are user-generated ones (i.e., not memory issues that are not real exceptions). That is odd because my fuzzing function is wrapped with try-catch, so all those exceptions are definitely handled. Furthermore, I can't make my program crash with the same input as well when running manually.
I even tried to edit my program, and make it to constantly throw an exception, and the result is that by running manually, it will get caught in my try-catch. However, running the fuzzer will cause it to constantly crash, as explained above.
Additional Details:
Thanks!
The text was updated successfully, but these errors were encountered: