diff options
| author | van Hauser <vh@thc.org> | 2022-01-21 13:06:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-21 13:06:15 +0100 |
| commit | 2bb86863e6d15dbd5bb0c381afa51f476302784e (patch) | |
| tree | 020fb8d0b012d5ebfd7ded0b32c00b79851a0532 /nyx_mode/README.md | |
| parent | b4c2fc94166b22a77c521884a07fdfee2098147a (diff) | |
| parent | 26a3d1b53b0a3ae690735c550c2985f079f3c672 (diff) | |
| download | afl++-2bb86863e6d15dbd5bb0c381afa51f476302784e.tar.gz | |
Merge branch 'dev' into docs_quality_assurance_3
Diffstat (limited to 'nyx_mode/README.md')
| -rw-r--r-- | nyx_mode/README.md | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/nyx_mode/README.md b/nyx_mode/README.md index f5350164..b75f1793 100644 --- a/nyx_mode/README.md +++ b/nyx_mode/README.md @@ -46,12 +46,9 @@ requires an Intel processor (6th generation onwards) and a special 5.10 kernel Nyx uses full system emulation hence your fuzzing targets have to be especially packaged. -**For source code based instrumentation with `afl-clang-fast` for the time -being these must be instrumented to `AFL_LLVM_INSTRUMENT=AFL` to work!** - With your target ready at hand execute the following command (note that for binary-only fuzzing with the special 5.10 kernel switch the -option `instrumentation` below with `process_trace`): +option `instrumentation` below with `processor_trace`): ```shell python3 nyx_mode/packer/packer/nyx_packer.py \ @@ -130,10 +127,9 @@ git clone https://gitlab.gnome.org/GNOME/libxml2 cd libxml2 ``` -Remember that currently only classic AFL instrumentation is supported! +Next, compile libxml2: -``` -export AFL_LLVM_INSTRUMENT=AFL +``` ./autogen.sh ./configure --enable-shared=no make CC=afl-clang-fast CXX=afl-clang-fast++ LD=afl-clang-fast @@ -294,8 +290,8 @@ mkdir /tmp/nyx_custom_agent/ To compile this example, run the following command (remove the `-DNO_PT_NYX` option if you are using KVM-Nyx): -``` -gcc example.c -DNO_PT_NYX -static -I ./packer/ -o /tmp/nyx_custom_agent/target +``` +gcc example.c -DNO_PT_NYX -static -I ../packer/ -o /tmp/nyx_custom_agent/target ``` Copy both bootstrap scripts into the sharedir: |
