FRET-LibAFL/fuzzers/nyx_libxml2_standalone
Tobias Mayer 63a6d1aac0
Update setup_libxml2.sh of nyx_libxml2_standalone fuzzer (#1990)
On testing this on my machine not all neccessary files for fuzzing with nyx where provided by the setup. Compared to the nyx_libxml2_parallel fuzzer this packer generation line was missing.
After adding this the fuzzer was able to start.
2024-04-02 10:19:22 +02:00
..
2023-12-18 14:33:14 +01:00
2022-10-23 01:58:33 +02:00
2022-08-25 10:55:35 +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.