aboutsummaryrefslogtreecommitdiff
path: root/docs/custom_mutators.md
diff options
context:
space:
mode:
authorDustin Spicuzza <dustin@virtualroadside.com>2020-11-18 14:29:17 -0500
committerGitHub <noreply@github.com>2020-11-18 20:29:17 +0100
commitcd0a25be5e9b05a2ab6a11592cd95e7f653bf42d (patch)
treec7a903633c7d1b0b5e373535188fd3a458a7f329 /docs/custom_mutators.md
parentb260204b728efcc4ba13dfa77692cfc5721db606 (diff)
downloadAFLplusplus-cd0a25be5e9b05a2ab6a11592cd95e7f653bf42d.tar.gz
Use buffer protocol to retrieve result from python post_process (#605)
Saves an extra copy, gives post processing functions more flexibility
Diffstat (limited to 'docs/custom_mutators.md')
-rw-r--r--docs/custom_mutators.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/custom_mutators.md b/docs/custom_mutators.md
index 2516e511..53f783fe 100644
--- a/docs/custom_mutators.md
+++ b/docs/custom_mutators.md
@@ -130,6 +130,9 @@ def introspection():
`post_process` function. This function is then transforming the data into the
format expected by the API before executing the target.
+ This can return any python object that implements the buffer protocol and
+ supports PyBUF_SIMPLE. These include bytes, bytearray, etc.
+
- `queue_new_entry` (optional):
This methods is called after adding a new test case to the queue.