FRET-LibAFL/fuzzers/nyx_libxml2_parallel
Andrea Fioraldi fe459f6fa5
DumpOnDiskStage in fuzzbench_text to dump the grimoire inputs as bytes for the fuzzbench measurers (#869)
* 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>
2022-11-11 17:38:48 +01:00
..
2022-08-25 10:55:35 +02:00
2022-10-23 01:58:33 +02:00
2022-08-25 10:55:35 +02:00
2022-10-23 01:58:33 +02:00

this example shows to use libafl_nyx to fuzz libxml2

requirement

the following command will:

  1. run cargo build --release to generate libafl_cc,libafl_cxx
  2. download and extract libxml2
  3. instruct libxml2 using libafl_cc and libafl_cxx
  4. prepare nyx shared dir and config file at /tmp/nyx_libxml2
  5. 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.