about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-05-23 09:06:29 +0200
committervanhauser-thc <vh@thc.org>2023-05-23 09:06:29 +0200
commitdd736126dc9da78d6828cdf76f7eb8b389af7ed3 (patch)
tree118b05e4d3228c9311fb0e5bc85453afe50fc19a
parentd5e3223f0340181e74d352db3def2c98cf14d628 (diff)
downloadafl++-dd736126dc9da78d6828cdf76f7eb8b389af7ed3.tar.gz
allow llvm_instrument native
-rw-r--r--src/afl-cc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index e3cc04dd..64c0ce66 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -1838,7 +1838,8 @@ int main(int argc, char **argv, char **envp) {
       }
 
       if (strncasecmp(ptr2, "llvmnative", strlen("llvmnative")) == 0 ||
-          strncasecmp(ptr2, "llvm-native", strlen("llvm-native")) == 0) {
+          strncasecmp(ptr2, "llvm-native", strlen("llvm-native")) == 0 ||
+          strncasecmp(ptr2, "native", strlen("native")) == 0) {
 
         if (!instrument_mode || instrument_mode == INSTRUMENT_LLVMNATIVE)
           instrument_mode = INSTRUMENT_LLVMNATIVE;