about summary refs log tree commit diff
path: root/custom_mutators/examples
diff options
context:
space:
mode:
authoryangzao <yangzaocn@outlook.com>2023-11-24 22:47:50 -0700
committeryangzao <yangzaocn@outlook.com>2023-11-24 22:47:50 -0700
commit8af74bcaeebbe2407006333024d8803baacdb4e2 (patch)
treea3a91f12c51576e521503a8300bb5aded12079ba /custom_mutators/examples
parent770e868d04c0f52a1c57e5471e459dd24a002748 (diff)
downloadafl++-8af74bcaeebbe2407006333024d8803baacdb4e2.tar.gz
update afl-fuzz-run
Diffstat (limited to 'custom_mutators/examples')
-rw-r--r--custom_mutators/examples/custom_post_run.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/custom_mutators/examples/custom_post_run.c b/custom_mutators/examples/custom_post_run.c
index 073aac96..828216ea 100644
--- a/custom_mutators/examples/custom_post_run.c
+++ b/custom_mutators/examples/custom_post_run.c
@@ -2,10 +2,10 @@
 // This is an example on how to use afl_custom_post_run
 // It executes custom code each time after AFL++ executes the target
 //
-// cc -O3 -fPIC -shared -g -o custom_send.so -I../../include custom_send.c /////////////////////to_be_edited
+// cc -O3 -fPIC -shared -g -o custom_post_run.so -I../../include custom_post_run.c
 // cd ../..
 // afl-cc -o test-instr test-instr.c
-// AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/examples/custom_send.so \
+// AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/examples/custom_post_run.so \
 //   afl-fuzz -i in -o out -- ./test-instr -f /tmp/foo
 //
 
@@ -39,7 +39,7 @@ my_mutator_t *afl_custom_init(afl_state_t *afl, unsigned int seed) {
 
 }
 
-void afl_custom_post_run(my_mutator_t *data, uint8_t *buf, size_t buf_size) {
+void afl_custom_post_run(my_mutator_t *data) {
 
   printf("hello from afl_custom_post_run\n");
   return;