Skip to content

add usermode multithreading halt for breakpoints not on main thread - #3836

Open
rliebig wants to merge 14 commits into
AFLplusplus:mainfrom
rliebig:usermode-multithreading-support
Open

add usermode multithreading halt for breakpoints not on main thread#3836
rliebig wants to merge 14 commits into
AFLplusplus:mainfrom
rliebig:usermode-multithreading-support

Conversation

@rliebig

@rliebig rliebig commented May 19, 2026

Copy link
Copy Markdown

Companion PR to this.

This adds a single method run_single_cpu which 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.

@rliebig
rliebig force-pushed the usermode-multithreading-support branch from d0c26b7 to d56f601 Compare June 8, 2026 12:11
@domenukk

Copy link
Copy Markdown
Member

wide::CmpEq should now be fixed in main :)

@rliebig

rliebig commented Jun 25, 2026

Copy link
Copy Markdown
Author

wide::CmpEq should now be fixed in main :)

Thanks! I will now work on fixing the remaining build issues :)

Comment thread crates/libafl_qemu/src/qemu/usermode.rs
@rliebig
rliebig force-pushed the usermode-multithreading-support branch from 3041123 to 1cf3b2b Compare July 21, 2026 13:20
@rliebig

rliebig commented Jul 21, 2026

Copy link
Copy Markdown
Author

Some of the changes are necessary because of qemu-libafl-bridge#130 ("Pre-syscall hook: take arguments by reference"), which came in through a routine main merge before it was actually needed here. Sorry for the extra churn this caused.

@rliebig

rliebig commented Jul 22, 2026

Copy link
Copy Markdown
Author

Hey @rmalmain, sorry to bother you. Since CI is now passing, could you please review this PR?

I took the liberty of implementing the missing bindings for qemu-libafl-bridge#130 (“Pre-syscall hook: take arguments by reference”).

If these changes look good to you, I would recommend first merging the corresponding PR into libafl-qemu-bridge, then updating the Git revision in this PR’s build.rs to point to the new main commit before merging this PR.

@domenukk

domenukk commented Aug 4, 2026

Copy link
Copy Markdown
Member

Hey @rmalmain, sorry to bother you. Since CI is now passing, could you please review this PR?

I took the liberty of implementing the missing bindings for qemu-libafl-bridge#130 (“Pre-syscall hook: take arguments by reference”).

If these changes look good to you, I would recommend first merging the corresponding PR into libafl-qemu-bridge, then updating the Git revision in this PR’s build.rs to point to the new main commit before merging this PR.

I pinged @rmalmain and it might take a bit, he's preoccupied atm (sorry)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants