write target errors to out_dir/error.txt

This commit is contained in:
vanhauser-thc
2021-06-07 09:26:53 +02:00
parent a5ff9f1beb
commit 92fcef4520
4 changed files with 116 additions and 29 deletions

View File

@ -1205,6 +1205,8 @@ 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 (getenv("AFL_NO_UI") && getenv("AFL_FORCE_UI")) {