diff options
| author | vanhauser-thc <vh@thc.org> | 2023-03-09 17:36:13 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2023-03-09 17:36:13 +0100 |
| commit | 5221938945cc5ff15af04b727c6a7e0085005044 (patch) | |
| tree | ffcb60f2dd0345633d1a934c7d207ed3d5a26809 /include/common.h | |
| parent | dc7ef967d8dd4a338ddc72b41dcf8840437aabc2 (diff) | |
| download | afl++-5221938945cc5ff15af04b727c6a7e0085005044.tar.gz | |
various fixes
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 3 |
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 |
