fix laf-intel transform disable

This commit is contained in:
van Hauser 2020-04-15 23:01:33 +02:00
parent 83d5864203
commit 2ce6e7a7fb

View File

@ -223,8 +223,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
}
if (!getenv("AFL_LLVM_LTO_AUTODICTIONARY") // disabled when autodictionary
&& instrument_mode != INSTRUMENT_LTO // and lto_mode is used
if ((!(getenv("AFL_LLVM_LTO_AUTODICTIONARY") // disabled when autodictionary
&& instrument_mode != INSTRUMENT_LTO)) // and lto_mode is used
&& (getenv("LAF_TRANSFORM_COMPARES") ||
getenv("AFL_LLVM_LAF_TRANSFORM_COMPARES"))) {