about summary refs log tree commit diff
path: root/custom_mutators/examples/example.py
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-11-28 05:55:23 +0100
committerGitHub <noreply@github.com>2023-11-28 05:55:23 +0100
commite4f3ebcebb3031c6a70f841996a7fb03d52fe351 (patch)
treed48a4b5c0708a1a150f880eac18871a90b82b5bd /custom_mutators/examples/example.py
parent0547c49b2bcd13e234ba4fddc360702abe666ecf (diff)
parent81b43cefdfa99b14628c487dc0183a4c1a21c811 (diff)
downloadafl++-e4f3ebcebb3031c6a70f841996a7fb03d52fe351.tar.gz
Merge pull request #1915 from yangzao/dev
add custom mutator function for running script after target gets executed
Diffstat (limited to 'custom_mutators/examples/example.py')
-rw-r--r--custom_mutators/examples/example.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/custom_mutators/examples/example.py b/custom_mutators/examples/example.py
index 3a6d22e4..830f302f 100644
--- a/custom_mutators/examples/example.py
+++ b/custom_mutators/examples/example.py
@@ -133,6 +133,11 @@ def fuzz(buf, add_buf, max_size):
 #     @return: The buffer containing the test case after
 #     '''
 #     return buf
+# def post_run():
+#     '''
+#     Called after each time the execution of the target program by AFL++
+#     '''
+#     pass
 #
 # def havoc_mutation(buf, max_size):
 #     '''