-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
libafl-qemu: "Fast" system-mode snapshots trigger an assertion failure #2628
Comments
thank you for the report. |
@rmalmain Here's what GDB says:
|
can you print the result of |
Sure! Here they are right after
|
can you apply this patch to qemu-libafl-bridge locally and check if it solves the problem?
|
Huh, I must be doing something wrong. I applied your patch here and then modified LibAFL here and then modified my [dependencies.libafl_qemu]
git = "https://github.com/langston-barrett/LibAFL"
rev = "ad612461a8e6dde6d9be31345e32a1f7cb1a75e6"
default-features = false
features = ["systemmode"] But when I run
|
A possible cause is that your |
most likely the case yeah. |
Good catch! Yes, that patch appears to fix the assertion failure. |
I'm trying to fuzz an EDK II image. However, the "fast" system-mode snapshots seem to always trigger an assertion failure. Unfortunately, I can't share the compiled artifacts, but I'd imagine this could be reproduced with another system-mode target.
Output:
The text was updated successfully, but these errors were encountered: