about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-10-29 15:06:20 +0000
committerDavid Carlier <devnexen@gmail.com>2019-10-29 15:06:20 +0000
commitc87210820c1566c74bf08ab4345679598cabd71b (patch)
tree6ca4ff5ea768c16e5416240822d0d2533747d43a /llvm_mode/afl-clang-fast.c
parentee9b2522a37e4ca70891674619c107e8a32e7324 (diff)
downloadafl++-c87210820c1566c74bf08ab4345679598cabd71b.tar.gz
libtokencap update proposal
- bcmp interception.
- FreeBSD using default argument to get current pid for the mapping
data gathering, getpid seems to cause some issues under certain
conditions (getenv call).
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index a7f6acdc..1acf8856 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -273,6 +273,9 @@ static void edit_params(u32 argc, char** argv) {
     cc_params[cc_par_cnt++] = "-fno-builtin-strcasecmp";
     cc_params[cc_par_cnt++] = "-fno-builtin-strncasecmp";
     cc_params[cc_par_cnt++] = "-fno-builtin-memcmp";
+    cc_params[cc_par_cnt++] = "-fno-builtin-bcmp";
+    cc_params[cc_par_cnt++] = "-fno-builtin-strstr";
+    cc_params[cc_par_cnt++] = "-fno-builtin-strcasestr";
 
   }