add usermode multithreading halt for breakpoints not on main thread#3836
Open
rliebig wants to merge 8 commits into
Open
add usermode multithreading halt for breakpoints not on main thread#3836rliebig wants to merge 8 commits into
rliebig wants to merge 8 commits into
Conversation
d0c26b7 to
d56f601
Compare
Member
|
wide::CmpEq should now be fixed in main :) |
Author
Thanks! I will now work on fixing the remaining build issues :) |
Comment on lines
+507
to
+509
| unsafe { | ||
| libafl_qemu_run_single_cpu(cpu.raw_ptr()); | ||
| } |
There was a problem hiding this comment.
Hi, @rliebig
Thank you for this. This could not have come at a better time for our team.
Trying out your changes I noticed you seem to be missing
unsafe {
QEMU_IS_RUNNING = true;
libafl_qemu_run_single_cpu(cpu.raw_ptr());
QEMU_IS_RUNNING = false;
}Without this the fuzzers crashes the first time a crash is detected.
[2026-07-09T17:54:16Z ERROR libafl_qemu::executor] The fuzzer crashed at addr 0x0... Bug in the fuzzer? Exiting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion PR to this.
This adds a single method
run_single_cpuwhich allows resumption of execution of a earlier halted thread that is not the main thread of the application under test. Useful for isolating i.e. parsing threads in multithreaded applications.