mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 14:19:02 +00:00
Document QEMU persistent hook on mipsel
This adds a new persistent hook library `mipsel_read_into_a0.c`. With it, you can test the persistent hook on the *mipsel* architecture. I'm also updating the README in `utils/qemu_persistent_hook` and Makefile and explain how to test the persistent hook on *mipsel*. This all works thanks to qemuafl already having the correct CPU struct for *mipsel* in `qemuafl/api.h`. This patch also updates the root `.gitignore` file to ignore the two test binaries `test` and `mipsel_test`.
This commit is contained in:
@ -2,5 +2,9 @@ all:
|
||||
$(CC) -no-pie test.c -o test
|
||||
$(CC) -fPIC -shared read_into_rdi.c -o read_into_rdi.so
|
||||
|
||||
all_mipsel: test.c mipsel_read_into_a0.c
|
||||
$(CPU_TARGET_CC) -no-pie test.c -o mipsel_test
|
||||
$(CC) -fPIC -shared mipsel_read_into_a0.c -o mipsel_read_into_a0.so
|
||||
|
||||
clean:
|
||||
rm -rf in out test read_into_rdi.so
|
||||
rm -rf in out test read_into_rdi.so mipsel_test mipsel_read_into_a0.so
|
||||
|
Reference in New Issue
Block a user