diff options
author | van Hauser <vh@thc.org> | 2023-03-10 09:25:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 09:25:07 +0100 |
commit | 7a650e48669c51784da17ef43eb756c64e3eb25e (patch) | |
tree | 75f1ff4a15521ae913cc5c2e6f1e78625da14c60 /include/common.h | |
parent | cd5764170595e5bafa85b2d28c63135b1ab07146 (diff) | |
parent | 30483919eb65f6301dbbba7762e28a6d21972571 (diff) | |
download | afl++-7a650e48669c51784da17ef43eb756c64e3eb25e.tar.gz |
Merge pull request #1672 from AFLplusplus/dev
Dev
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 |