about summary refs log tree commit diff
path: root/docs/custom_mutators.md
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-10 08:59:36 +0200
committerGitHub <noreply@github.com>2020-05-10 08:59:36 +0200
commit0e5a5f18050d729bc79e4dd5203ca245aa532d85 (patch)
tree518c1edf7f901ea69e47a0fe26ca45f475b80ce6 /docs/custom_mutators.md
parentd02cfc54b63578f1887d9042466f59ac0cff91ad (diff)
parent7b9ac9d414e7434c11a95b85c2c24e9cbdcbe935 (diff)
downloadafl++-0e5a5f18050d729bc79e4dd5203ca245aa532d85.tar.gz
Merge pull request #358 from rish9101/update_docs
Specify usage of multiple custom mutators
Diffstat (limited to 'docs/custom_mutators.md')
-rw-r--r--docs/custom_mutators.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/custom_mutators.md b/docs/custom_mutators.md
index acc9ff4e..3cd874b9 100644
--- a/docs/custom_mutators.md
+++ b/docs/custom_mutators.md
@@ -213,12 +213,15 @@ For C/C++ mutator, the source code must be compiled as a shared object:
 ```bash
 gcc -shared -Wall -O3 example.c -o example.so
 ```
+Note that if you specify multiple custom mutators, the corresponding functions will
+be called in the order in which they are specified. e.g first `pre_save` function of
+`example_first.so` will be called and then that of `example_second.so`
 
 ### Run
 
 C/C++
 ```bash
-export AFL_CUSTOM_MUTATOR_LIBRARY=/full/path/to/example.so
+export AFL_CUSTOM_MUTATOR_LIBRARY="/full/path/to/example_first.so;/full/path/to/example_second.so"
 afl-fuzz /path/to/program
 ```