about summary refs log tree commit diff
path: root/include/common.h
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-03-09 17:36:13 +0100
committervanhauser-thc <vh@thc.org>2023-03-09 17:36:13 +0100
commit5221938945cc5ff15af04b727c6a7e0085005044 (patch)
treeffcb60f2dd0345633d1a934c7d207ed3d5a26809 /include/common.h
parentdc7ef967d8dd4a338ddc72b41dcf8840437aabc2 (diff)
downloadafl++-5221938945cc5ff15af04b727c6a7e0085005044.tar.gz
various fixes
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c5a32cdb..5d198468 100644
--- a/include/common.h
+++ b/include/common.h
@@ -143,5 +143,8 @@ 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