disable -> no variants

This commit is contained in:
vanhauser-thc
2024-05-13 19:51:38 +02:00
parent 0cabc12f91
commit 622474e9e4
3 changed files with 10 additions and 3 deletions

View File

@ -1565,7 +1565,11 @@ int main(int argc, char **argv_orig, char **envp) {
setenv("__AFL_OUT_DIR", afl->out_dir, 1);
if (get_afl_env("AFL_DISABLE_TRIM")) { afl->disable_trim = 1; }
if (get_afl_env("AFL_DISABLE_TRIM") || get_afl_env("AFL_NO_TRIM")) {
afl->disable_trim = 1;
}
if (getenv("AFL_NO_UI") && getenv("AFL_FORCE_UI")) {