diff options
author | van Hauser <vh@thc.org> | 2023-03-17 12:47:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 12:47:33 +0100 |
commit | 24503fba5fd2580559223ec3c6ee408dfa15e080 (patch) | |
tree | 95826d4a61f3c423d0e70eb7f1da568dc793204b /include/common.h | |
parent | 2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff) | |
parent | d80cedcf02f56351bb08e7520ddcd76b0ff3f84e (diff) | |
download | afl++-24503fba5fd2580559223ec3c6ee408dfa15e080.tar.gz |
Merge pull request #1668 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
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 |