diff options
author | rish9101 <rranjan@cs.iitr.ac.in> | 2020-05-10 12:21:19 +0530 |
---|---|---|
committer | rish9101 <rranjan@cs.iitr.ac.in> | 2020-05-10 12:21:19 +0530 |
commit | 7b9ac9d414e7434c11a95b85c2c24e9cbdcbe935 (patch) | |
tree | 9cfe8c31251fa5ee7e1129d28e9c6117104ec9df /docs/custom_mutators.md | |
parent | 515de0d68d30a4e69fe5fb971c622391185fc4ba (diff) | |
download | afl++-7b9ac9d414e7434c11a95b85c2c24e9cbdcbe935.tar.gz |
Specify usage of multiple custom mutators
Diffstat (limited to 'docs/custom_mutators.md')
-rw-r--r-- | docs/custom_mutators.md | 5 |
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 ``` |