Name Date Size #Lines LOC

..--

MakefileH A D25-Apr-2025137 75

README.mdH A D25-Apr-2025315 1913

read_into_rdi.cH A D25-Apr-2025922 3517

test.cH A D25-Apr-2025428 3621

README.md

1# QEMU persistent hook example
2
3Compile the test binary and the library:
4
5```
6make
7```
8
9Fuzz with:
10
11```
12export AFL_QEMU_PERSISTENT_ADDR=0x$(nm test | grep "T target_func" | awk '{print $1}')
13export AFL_QEMU_PERSISTENT_HOOK=./read_into_rdi.so
14
15mkdir in
16echo 0000 > in/in
17
18../../afl-fuzz -Q -i in -o out -- ./test
19```