aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/afl-fuzz.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 423230f1..933af65d 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -326,8 +326,7 @@ typedef struct py_mutator {
u8 * fuzz_buf;
size_t fuzz_size;
- u8 * post_process_buf;
- size_t post_process_size;
+ Py_buffer post_process_buf;
u8 * trim_buf;
size_t trim_size;