* fix(Dockerfile): add build_linux.rs to libafl_qemu and libafl_qemu_sys
* fix(Dockerfile): workaround for llvm.sh failing on bookworm
Revert this once https://github.com/llvm/llvm-project/issues/62475 has been resolved
* fix(libafl_qemu): add unsafe to callbacks
* chore(devcontainer): update devcontainer to work with newer VSCode versions
* revert(libafl_qemu): revert unsafe keyword
* fix(devcontainer): move settings and extension under customizations.vscode
* fix(devcontainer): use postCreateCommand instead of initializeCommand
* Move into_vec to extra trait
* fix no_std
* First step towards stages tuples as vecs
* Allow dyn in StagesTuple, add Current Testcase API, un-traitify Progress, cleanups
* Move from generics to impl keyword, more replacements with better API
* rename fn
* Fix additional stages, more cleanup, rename progress to retries
* Fix more fixes
* Fixes
* Rename ProgressHelper -> RestartHelper
* Fix sugar, python, add perform_restartable
* fixes
* remove prelude bs
* rename to restart_progress_should_run
* more cleanup, remove tests I don't understand (sorry)
* fix docs
* more fix
* fix miri
* unsafe safety annotations
* more comments
* last docs
* Mixed_attributes only allowed for bindgen
Add `--locked` flag when installing `sccache` in the first stages to ensure the image gets built when the base image's Rust version satisfies `sccache`'s MSRV.
Fixes#1923🐛
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
* introduce multicore load initial corpus
* update fuzzers/libfuzzer_libpng_norestart to use multicore corpus loading
* run clippy
* use CoreId and Cores in state if std
* misc. typos
* adapt multicore load initial inputs to allow resumable corpus loading
in case of crashes or timeouts during corpus loading.
* add std feature flag to multicore_inputs_processed
* fix doc comment
* run fmt for example fuzzer
---------
Co-authored-by: aarnav <aarnav@srlabs.de>
Co-authored-by: Romain Malmain <romain.malmain@pm.me>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
Cargo previously complained when loading libafl as a git dependency:
warning: skipping duplicate package `fuzzbench` found at
`~/.cargo/git/checkouts/libafl-c33dc6f5ec2f7a70/55a300d/fuzzers/fuzzbench`
* fix(Dockerfile): allow running commands with docker run
According to
<https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2109#note_47480476>
adding the "-c" to the ENTRYPOINT is necessary to be able to run
commands like `docker run libafl "cargo build"`
* fix(Dockerfile): restore ability to docker run without command
As `bash -c` always requires a string, the previous commit
removed the ability to just `docker run -it libafl` and
get a shell.
This commit restores that ability
* inital commit.
* clippy
* tests
* clippy
* adapt example
* systemmode.
* renaming
* fmt
* fix lints.
* more lint fix.
* even more lint fixes.
* always more lint fixes.
* lint fix.
* allow unused qualifications for crate when it could be confusing.
* Still lint fixes.
* Lint fixes on generated code.
* Some lint fixes.
* renamed modules as well.
* Fix for #1881, ProbabilitySamplingScheduler seems to be inverted
* Run 'cargo +nightly fmt'
* Added debug_assert as negative and infinite probability values would break the current implementation of next()
---------
Co-authored-by: Dan Blackwell <danblackwell@eduroam-int-dhcp-97-192-218.ucl.ac.uk>
Co-authored-by: Dan Blackwell <danblackwell@ML-W0NYVW4XCK.local>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
* fix lints.
* more lint fix.
* even more lint fixes.
* always more lint fixes.
* lint fix.
* allow unused qualifications for crate when it could be confusing.
* Still lint fixes.
* Lint fixes on generated code.
* Some lint fixes.
* Implement MutatorTuple for Vecs to allow Dynamic Mutator Choices
* fix test
* clippy
* Move into_vec to extra trait
* fix no_std
* more nostd
* no_std
* do that again but smarter
* remember to register
* appease the clippy
* cleanup
* autofix clippy
* more clippy fixes
* more clippy...
* small clippy fix
* with_tries => with_retries
* most recent suggestions
* final clippy... hopefully