diff options
author | van Hauser <vh@thc.org> | 2023-06-12 10:03:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 10:03:15 +0300 |
commit | af8c68a774d0271ae6a2145ac566e1c7024e95d5 (patch) | |
tree | d307651ffd5ad2b03d3e97a2b2ccd4d410e16c93 /docs/custom_mutators.md | |
parent | 26cbc1e99337da4dc82c7c827dc2dac0a3733dc2 (diff) | |
parent | bf2727b76366ce4c9cdc723c3f3ccffae3cc3619 (diff) | |
download | afl++-af8c68a774d0271ae6a2145ac566e1c7024e95d5.tar.gz |
Merge pull request #1766 from AFLplusplus/dev 4.07c
v4.07c release
Diffstat (limited to 'docs/custom_mutators.md')
-rw-r--r-- | docs/custom_mutators.md | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/custom_mutators.md b/docs/custom_mutators.md index 3f7e9e6e..c5a64622 100644 --- a/docs/custom_mutators.md +++ b/docs/custom_mutators.md @@ -145,12 +145,15 @@ def deinit(): # optional for Python - `fuzz` (optional): - This method performs custom mutations on a given input. It also accepts an - additional test case. Note that this function is optional - but it makes - sense to use it. You would only skip this if `post_process` is used to fix - checksums etc. so if you are using it, e.g., as a post processing library. - Note that a length > 0 *must* be returned! - The returned output buffer is under **your** memory management! + This method performs your custom mutations on a given input. + The add_buf is the contents of another queue item that can be used for + splicing - or anything else - and can also be ignored. If you are not + using this additional data then define `splice_optout` (see above). + This function is optional. + Returing a length of 0 is valid and is interpreted as skipping this + one mutation result. + For non-Python: the returned output buffer is under **your** memory + management! - `describe` (optional): |