
* Add ccache * Update codecov.yml * Add libnyx * Fix * Add nyx build script * Fix build.sh && init executor.rs * Fix commit * Fix code * initialize `exector.rs` * refine API in `nyx_bridge.rs` * initialze `run_target` * add `test_nyxhelper` * initize `test_executor` * remove `nyx_beidge.rs` * make `test_executor` compile * Improve test * refine code * update version * fix docker * fix docker * Fix clippy * Fix build * fix build && add `set_timeout` * Fix and refine CI * fix CI * Fix CI * Add platform restrict * cargo fmt * add parallel mode * add example `nyx_libxml2_parallel` * fix fuzzer example * fix CI * add README * fix CI * fix CI * fix CI * remove unwrap and NyxResult * code format fix * add libnyx's rev * fix format * change Duration format && Fix CI * caego fmt * fix CI * fix CI * Add doc * test CI * Update test_all_fuzzers.sh * Update test_all_fuzzers.sh * Update test_all_fuzzers.sh * add cache for apt and cargo-install * Update build_and_test.yml * Update build_and_test.yml * tmp test CI * fix CI * remove debug cmd * remove test * code refine * code refine * code refine * code refine * add Makefile * fix example doc for nyx * add `NyxHelper::new_with_initial_timeout` * fix `NyxHelper::new` * fix curl parameter * code refine * add check for setup script * use afl-clang-fast in nyx * fix logic * fix makefile * fix CI * Update build_and_test.yml * Update build_and_test.yml * remove debug cmd Co-authored-by: syheliel <syheliel@gmail.com> Co-authored-by: Dominik Maier <dmnk@google.com>
16 lines
497 B
Markdown
16 lines
497 B
Markdown
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.
|