-
-
Notifications
You must be signed in to change notification settings - Fork 964
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
qemu_mode crash #24
Comments
mmmm this is a problem that affects also afl 2.52b with QEMU 2.1.0. In the worst case, there is a bug in the code that compiles blocks when requested in the parent process. Note that with |
Ok I have disabled TCG block caching in the parent and the problem is not present now, we are in the worst case. This will be very hard to debug. |
Update: disabling TCG block chaining the bug disappear so the afl 2.52b bug is different and not present in afl++. |
The crash is in tb_gen_code when called from afl_wait_tsl. I'm starting to think that this is a QEMU 3.1.0 bug. |
OK, I fixed it. This deserves a brief explanation because it has always been a bug in afl qemu_mode. |
@vanhauser-thc can you double check the fix testing it on xmllint? |
@andreafioraldi - sorry took me long. doesnt crash anymore, great job! |
this crash in qemu only seem to happen with specific input files. weird.
always after exactly 5 seconds of running:
to reproduce:
I tried a few other test xml files but they did not produce a crash
@andreafioraldi - thats more your competence, can you have a look?
The text was updated successfully, but these errors were encountered: