-
-
Notifications
You must be signed in to change notification settings - Fork 372
Full libfuzzer shimming (for cargo-fuzz libfuzzer alternative and other use cases) #981
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
Merged
Changes from all commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
8568bb4
squash libfuzzer edits
addisoncrump 1caf157
mergeup; make compat with libfuzzer-sys
addisoncrump 8882d5e
fixup: compat with custom mutators
addisoncrump e95ff89
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump 2c5428a
use tui flag
addisoncrump 8fd5474
add introspection support
addisoncrump 3d2a4e9
use libfuzzer dep now that we've merged
addisoncrump 016cadf
force input loading
addisoncrump 2157790
some fixes
addisoncrump 89ec678
mergeup
addisoncrump 89ac90c
begin docs, impl shrink
addisoncrump 629422b
make whole-archive conditional and not default
addisoncrump 5286103
make more copies of counters maps
addisoncrump f652f77
lol, remember to add the observer
addisoncrump ce0be40
make size edge map observer an observer
addisoncrump a1d059d
fixup: make def of run driver conditional
addisoncrump 856e969
add sanity checks for insertion
addisoncrump f87f2c4
revert silencing of forks
addisoncrump 9d976e5
add experimental tmin support; add default asan flags
addisoncrump 9d32627
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump e51d3df
use default options instead of specifying our own
addisoncrump b750c3d
implement lockless mode
addisoncrump 5711017
fix merge
addisoncrump ce33aad
fixup lockless corpus
addisoncrump 807b1be
fixup for generalisation
addisoncrump 25cc95b
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump 538f9fa
remove erroneous drop_in_place
addisoncrump ee12bd2
improve error logging in the case of corpus loading failure
addisoncrump 874b426
ok, use lock files :pensive:
addisoncrump dc9cf00
fix tmin
addisoncrump f2778e1
implement merge (again); fix rare cases with maps being too small
addisoncrump 580f8d0
implement a scheduler for removing excess
addisoncrump 03afd7d
implement a walking strategy for corpus loading for large corpora
addisoncrump 9f07169
revert filename parameter; rename and remove duplicates
addisoncrump 0e742c7
Merge branch 'main' into libfuzzer
addisoncrump 89735d1
various cleanup and clippy satisfaction
addisoncrump 5a8c7c5
fix no_std tests
addisoncrump 6d8e4ea
clang-format
addisoncrump 4a06217
expand and satisfy the clippy gods
addisoncrump 3af961a
fix sanitizer_ifaces bindgen for no_std
addisoncrump 64facff
fix wasm fuzzer
addisoncrump 9d2589d
fixup clippy script
addisoncrump f8a6142
rename and provide a small amount of explanation for sanitizer_interf…
addisoncrump 86f29a9
mergeup
addisoncrump a45e04d
fixup: HasLastReportTime
addisoncrump 3aad5e9
fix clippy oddities
addisoncrump 5f6f8c9
restrict clippy checks to linux-only for libafl_libfuzzer_runtime
addisoncrump d3c32ce
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump 84a9d3a
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump d4b0140
name the mutators
addisoncrump 81f2020
format
addisoncrump 067d7e4
fix clippy warning
addisoncrump 7ed73a2
hope docker is fixed
addisoncrump bec635b
Merge branch 'main' into libfuzzer
domenukk 51824bd
fix cmin lint
addisoncrump 14287d0
clippy pass
domenukk 80ba77a
more docs
domenukk e363c40
more clippy
domenukk a41cab1
Merge branch 'main' into libfuzzer
domenukk 7c77e55
fix remaining clippy complaints
addisoncrump 6b1c16c
fix import
addisoncrump 381c834
miri fixes (no constructors executed)
addisoncrump 537bd1a
exclude libafl_libfuzzer from cargo-hack
addisoncrump 29fa6de
fix clippy check for sanitizer_interfaces
addisoncrump e23c81b
fmt
addisoncrump 74f3c02
fix CI (?)
domenukk 89143dd
Merge branch 'main' into libfuzzer
domenukk 11165cf
Merge branch 'main' into libfuzzer
domenukk 37a2175
Merge branch 'main' into libfuzzer
domenukk fd3bc07
deduplicate sancov 8bit for improved perf on ASAN
addisoncrump aaff794
merge 8bit coverage regions + comment out insane deduplication
addisoncrump 368815c
no erroring out on free hooks
addisoncrump d49d8fc
fixup for non-forking merge
addisoncrump 476200d
skip the corpus dir if we use it
addisoncrump 6f0c7be
Merge branch 'main' of github.com:AFLplusplus/LibAFL into libfuzzer
addisoncrump d05916c
fixup: recent libafl changes and feature flags
addisoncrump 69ace6c
libafl_libfuzzer: use rust-lld for whole-archive feature
Mrmaxmeier 3e0118f
clarify cause of failure
addisoncrump dbea434
mark unsafe
addisoncrump ae4686c
clippy :cursed_cowboy:
addisoncrump d5b39e8
attempt to fix wasm
addisoncrump cf0e1ef
spooky unknowable bug :ghost:
addisoncrump ebe961d
more clippy lints
addisoncrump 0122a03
clippy fix for merge
addisoncrump f6d225c
use the version pin
addisoncrump d5d654e
Merge branch 'main' into libfuzzer
domenukk b7e2752
add unsafe to ::register
domenukk 9020704
Serdeany autoreg fix
domenukk ff23e2b
make type assert actionable
domenukk 672137c
miri fixes
addisoncrump 49718c8
Merge branch 'main' into libfuzzer
domenukk aefcb82
Merge branch 'main' into libfuzzer
domenukk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,7 @@ jobs: | |
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: llvm-tools | ||
- name: Install and cache deps | ||
uses: awalsh128/[email protected] | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ perf.data.old | |
.vscode | ||
test.dict | ||
|
||
.idea/ | ||
|
||
# Ignore all built fuzzers | ||
fuzzer_* | ||
AFLplusplus | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.