mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-07 15:51:32 +00:00
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`.
11 lines
331 B
Makefile
11 lines
331 B
Makefile
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 mipsel_test mipsel_read_into_a0.so
|