diff options
author | Dustin Spicuzza <dustin@virtualroadside.com> | 2020-11-18 14:29:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 20:29:17 +0100 |
commit | cd0a25be5e9b05a2ab6a11592cd95e7f653bf42d (patch) | |
tree | c7a903633c7d1b0b5e373535188fd3a458a7f329 /include/afl-fuzz.h | |
parent | b260204b728efcc4ba13dfa77692cfc5721db606 (diff) | |
download | afl++-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/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 3 |
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; |