diff options
| author | vanhauser-thc <vh@thc.org> | 2022-07-19 17:28:57 +0200 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-07-19 17:28:57 +0200 |
| commit | 0373628adf2e27079b84048c474db1c8cbea49ed (patch) | |
| tree | 7ea3b7b4ed70903ef26e91a7345b345c4b9fe89b /docs | |
| parent | d09023245204808a0eedfee221216d999fe85d5c (diff) | |
| download | afl++-0373628adf2e27079b84048c474db1c8cbea49ed.tar.gz | |
fix custom mutator examples
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/custom_mutators.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/custom_mutators.md b/docs/custom_mutators.md index d84e4e02..6f3353ec 100644 --- a/docs/custom_mutators.md +++ b/docs/custom_mutators.md @@ -38,6 +38,11 @@ performed with the custom mutator. ## 2) APIs +**IMPORTANT NOTE**: If you use our C/C++ API and you want to increase the size +of an **out_buf buffer, you have to use `afl_realloc()` for this, so include +`include/alloc-inl.h` - otherwise afl-fuzz will crash when trying to free +your buffers. + C/C++: ```c |
