about summary refs log tree commit diff
path: root/include/common.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-03-17 12:47:33 +0100
committerGitHub <noreply@github.com>2023-03-17 12:47:33 +0100
commit24503fba5fd2580559223ec3c6ee408dfa15e080 (patch)
tree95826d4a61f3c423d0e70eb7f1da568dc793204b /include/common.h
parent2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff)
parentd80cedcf02f56351bb08e7520ddcd76b0ff3f84e (diff)
downloadafl++-24503fba5fd2580559223ec3c6ee408dfa15e080.tar.gz
Merge pull request #1668 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c5a32cdb..0958b035 100644
--- a/include/common.h
+++ b/include/common.h
@@ -143,5 +143,9 @@ FILE *create_ffile(u8 *fn);
 /* create a file */
 s32 create_file(u8 *fn);
 
+/* memmem implementation as not all platforms support this */
+void *afl_memmem(const void *haystack, size_t haystacklen, const void *needle,
+                 size_t needlelen);
+
 #endif