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.
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
Full libfuzzer shimming (for cargo-fuzz libfuzzer alternative and other use cases) #981
Full libfuzzer shimming (for cargo-fuzz libfuzzer alternative and other use cases) #981
Changes from 41 commits
8568bb4
1caf157
8882d5e
e95ff89
2c5428a
8fd5474
3d2a4e9
016cadf
2157790
89ec678
89ac90c
629422b
5286103
f652f77
ce0be40
a1d059d
856e969
f87f2c4
9d976e5
9d32627
e51d3df
b750c3d
5711017
ce33aad
807b1be
25cc95b
538f9fa
ee12bd2
874b426
dc9cf00
f2778e1
580f8d0
03afd7d
9f07169
0e742c7
89735d1
5a8c7c5
6d8e4ea
4a06217
3af961a
64facff
9d2589d
f8a6142
86f29a9
a45e04d
3aad5e9
5f6f8c9
d3c32ce
84a9d3a
d4b0140
81f2020
067d7e4
7ed73a2
bec635b
51824bd
14287d0
80ba77a
e363c40
a41cab1
7c77e55
6b1c16c
381c834
537bd1a
29fa6de
e23c81b
74f3c02
89143dd
11165cf
37a2175
fd3bc07
aaff794
368815c
d49d8fc
476200d
6f0c7be
d05916c
69ace6c
3e0118f
dbea434
ae4686c
d5b39e8
cf0e1ef
ebe961d
0122a03
f6d225c
d5d654e
b7e2752
9020704
ff23e2b
672137c
49718c8
aefcb82
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I don't think having an
Option
in an API is good design, maybe it's time for a builder?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.
I think it is... 😔
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.
Now or later? :D
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.
Why would you not be locking? Are you using one folder per node?
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.
If you aren't forking, you probably don't want to lock.
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.
fork as in multicore? Then I agree. Although you can also restart, you wouldn't have to fork :P
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.
Does libafl_libfuzzer support a non-forking multiprocess mode btw? Might be relevant for some targets
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.
How do you mean? With e.g. threads instead of forks?
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.
LibAFL launcher can start new processes instead of fork, yes
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.
So, it should just use whatever's appropriate for the system. I don't specify fork/process explicitly.
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.
You need to specifically not use fork for some targets like browsers - they don't cope well with forking since all vital threads die in the forked process.