diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-24 19:38:55 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-24 19:38:55 +0100 |
commit | 27c3423fb6f1cf568cf0e50b16a82c035945ae7c (patch) | |
tree | 905af0f8d2e89aba3c1aa9431009ef5bc015a097 /src | |
parent | ed2f82eaf40a49d76d7615370ea8749c2f1fefaa (diff) | |
download | afl++-27c3423fb6f1cf568cf0e50b16a82c035945ae7c.tar.gz |
test-pre.sh: remove old uses of afl-clang, afl-cc.c: add missing env.var. AFL_LLVM_LAF_ALL
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index 19dc9a6a..1ad43c43 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -686,7 +686,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { } if (getenv("AFL_NO_BUILTIN") || getenv("AFL_LLVM_LAF_TRANSFORM_COMPARES") || - getenv("LAF_TRANSFORM_COMPARES") || lto_mode) { + getenv("LAF_TRANSFORM_COMPARES") || getenv("AFL_LLVM_LAF_ALL") || lto_mode) { cc_params[cc_par_cnt++] = "-fno-builtin-strcmp"; cc_params[cc_par_cnt++] = "-fno-builtin-strncmp"; @@ -1030,7 +1030,7 @@ int main(int argc, char **argv, char **envp) { if (instrument_mode == 0) instrument_mode = INSTRUMENT_PCGUARD; else if (instrument_mode != INSTRUMENT_PCGUARD) - FATAL("you can not set AFL_LLVM_INSTRUMENT and AFL_TRACE_PC together"); + FATAL("you cannot set AFL_LLVM_INSTRUMENT and AFL_TRACE_PC together"); } @@ -1049,7 +1049,7 @@ int main(int argc, char **argv, char **envp) { instrument_mode = INSTRUMENT_CFG; else if (instrument_mode != INSTRUMENT_CFG) FATAL( - "you can not set AFL_LLVM_INSTRUMENT and AFL_LLVM_INSTRIM together"); + "you cannot set AFL_LLVM_INSTRUMENT and AFL_LLVM_INSTRIM together"); } |