
* FuzzbenchDumpStage in fuzzbench_text * fix * DumpOnDiskStage * clippy * removed duplicated code from example fuzzer * shorthand to move OwnedSlice into vec * clippy * fiz * fix missing semicolon Co-authored-by: Dominik Maier <domenukk@gmail.com> Co-authored-by: Dominik Maier <dmnk@google.com>
this example shows to use libafl_nyx
to fuzz libxml2
requirement
the following command will:
- run
cargo build --release
to generatelibafl_cc
,libafl_cxx
- download and extract
libxml2
- instruct
libxml2
usinglibafl_cc
andlibafl_cxx
- prepare nyx shared dir and config file at
/tmp/nyx_libxml2
- open kvm support
./setup_libxml2.sh
run the fuzzer
use cargo make run
to run the fuzzer. If you have setup all environment, you can use cargo run
directly.