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.
This commit adds the aflplusplus package.
The aflplusplus package is a fork of the afl package, which is already
included in the nixpkgs repository. Currently, only source fuzzing mode
is supported, as I'm not too interested in supporting the qemu fuzzing
mode.
AFL or AFLplusplus wraps the compiler (clang or gcc) and adds instrumentation to aid fuzzing. It also includes a set of tools to help with corpus creation and management, and the actual fuzzing application.
Note: you need to install clang_9 to use the aflplusplus compiler and python3 for some of the included tools
Motivation for this change
I like using AFL for fuzzing, and AFLplusplus has a lot of improvements over AFL.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)@thoughtpolice and @risicle are listed as maintainers for AFL, maybe they're interested in this too (either for maintaining or as a user).