about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-01 01:38:45 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:07 +0200
commit71372c4d2f0b148cba6a7fd82ca89f2fa1096ef9 (patch)
treec688a38ceb9c2789e78c694d3fbe15c15fd86f96
parenta0693d466cdb298e2990e6f343745afc95ea4149 (diff)
downloadafl++-71372c4d2f0b148cba6a7fd82ca89f2fa1096ef9.tar.gz
fixed docu
-rw-r--r--include/afl-fuzz.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 357cd854..a9165064 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -713,8 +713,8 @@ struct custom_mutator {
    *
    * @param data pointer returned in afl_custom_init for this fuzz case
    * @param[out] out_buf Pointer to the buffer containing the trimmed test case.
-   *     External library should allocate memory for out_buf. AFL++ will release
-   *     the memory after saving the test case.
+   *             The library can reuse a buffer for each call
+   *             and will have to free the buf (for example in deinit)
    * @return the size of the trimmed test case
    */
   size_t (*afl_custom_trim)(void *data, u8 **out_buf);