-
-
Notifications
You must be signed in to change notification settings - Fork 365
Qemu tmin #3118
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
base: main
Are you sure you want to change the base?
Qemu tmin #3118
Conversation
Also some comment improvements.
Can you add your fuzzer to this list |
Should this supercede your pending PR? @WorksButNotTested |
}); | ||
|
||
// The executor. Nothing exciting here. | ||
#[cfg(feature = "fork")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said this should not be run with a normal executor
Romain will replace forkexecutor with forkserver in #3114
I think we should wait it to be merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, happy to wait for that to be merged. I'll keep going with this as best I can until that PR is merged and then deal with replacing it. Presumably the same will need to be done for other fuzzers I'm not touching, like qemu_cmin
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fork version of my code doesn't work anyway, so rather than fix it, I'll wait for this new ForkServer to drop and refactor against that.
Check out this for an example of how you can have a single crate create multiple binaries. Then you can put any common code in a single file and reference it from either fuzzer. Alternatively, you can just add a command line argument for '--cores' like the other qemu fuzzers.
|
Absolutely. I didn't get time to finish it. I hope it was a useful starting point though. |
Looks like a little format error here... |
Thanks all; I've got more pressing things to do today but I'll take all comments on board on Monday. Yes @WorksButNotTested it was useful thanks! |
Whatever that thing toplo is whinging about, neither |
install taplo, then run |
How does one install taplo? I've tried:
Never mind; I found the crate: taplo-cli |
I've done the parallel version as best I can. Waiting on ForkServer completion before finishing the "fork" version. Then I'll look at merging the single and multiple core versions as @WorksButNotTested suggested. |
Description
Single-threaded version of a QEMU testcase minizer. Submitting for interested parties.
Possibly working on a multi-threaded modification, but I would like to propose that both single-threaded and multi-threaded version could be kept in the codebase as a tutorial to others. I've tried to be quite detailed in my comments.
Checklist
./scripts/precommit.sh
and addressed all comments