Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | H A D | 25-Apr-2025 | 137 | 7 | 5 | |
README.md | H A D | 25-Apr-2025 | 315 | 19 | 13 | |
read_into_rdi.c | H A D | 25-Apr-2025 | 922 | 35 | 17 | |
test.c | H A D | 25-Apr-2025 | 428 | 36 | 21 |
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```