diff options
author | van Hauser <vh@thc.org> | 2023-02-25 09:20:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 09:20:47 +0100 |
commit | ea14f3fd40e32234989043a525e3853fcb33c1b6 (patch) | |
tree | aaa8770a743f6ab25a9f2849f62af8a68521344d /custom_mutators/examples/custom_send.c | |
parent | 3881ccd0b7520f67fd0b34f010443dc249cbc8f1 (diff) | |
parent | 2b5c9954f6099d7a70cbcf2db9af5a19327f385f (diff) | |
download | afl++-ea14f3fd40e32234989043a525e3853fcb33c1b6.tar.gz |
Merge pull request #1653 from AFLplusplus/dev
push to stable
Diffstat (limited to 'custom_mutators/examples/custom_send.c')
-rw-r--r-- | custom_mutators/examples/custom_send.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/custom_mutators/examples/custom_send.c b/custom_mutators/examples/custom_send.c index ffea927e..7de72819 100644 --- a/custom_mutators/examples/custom_send.c +++ b/custom_mutators/examples/custom_send.c @@ -1,7 +1,14 @@ +// +// This is an example on how to use afl_custom_send +// It writes each mutated data set to /tmp/foo +// You can modify this to send to IPC, shared memory, etc. +// // cc -O3 -fPIC -shared -g -o custom_send.so -I../../include custom_send.c // cd ../.. // afl-cc -o test-instr test-instr.c -// afl-fuzz -i in -o out -- ./test-instr -f /tmp/foo +// AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/examples/custom_send.so \ +// afl-fuzz -i in -o out -- ./test-instr -f /tmp/foo +// #include "custom_mutator_helpers.h" |