mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
fix silly mistake
This commit is contained in:
@ -484,7 +484,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
|
|
||||||
/* Set sane defaults for ASAN if nothing else specified. */
|
/* Set sane defaults for ASAN if nothing else specified. */
|
||||||
|
|
||||||
if (!afl->debug || !getenv("ASAN_OPTIONS"))
|
if (!getenv("ASAN_OPTIONS"))
|
||||||
setenv("ASAN_OPTIONS",
|
setenv("ASAN_OPTIONS",
|
||||||
"abort_on_error=1:"
|
"abort_on_error=1:"
|
||||||
"detect_leaks=0:"
|
"detect_leaks=0:"
|
||||||
@ -500,7 +500,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
|
|
||||||
/* Set sane defaults for UBSAN if nothing else specified. */
|
/* Set sane defaults for UBSAN if nothing else specified. */
|
||||||
|
|
||||||
if (!afl->debug || !getenv("UBSAN_OPTIONS"))
|
if (!getenv("UBSAN_OPTIONS"))
|
||||||
setenv("UBSAN_OPTIONS",
|
setenv("UBSAN_OPTIONS",
|
||||||
"halt_on_error=1:"
|
"halt_on_error=1:"
|
||||||
"abort_on_error=1:"
|
"abort_on_error=1:"
|
||||||
@ -517,7 +517,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
/* MSAN is tricky, because it doesn't support abort_on_error=1 at this
|
/* MSAN is tricky, because it doesn't support abort_on_error=1 at this
|
||||||
point. So, we do this in a very hacky way. */
|
point. So, we do this in a very hacky way. */
|
||||||
|
|
||||||
if (!afl->debug || !getenv("MSAN_OPTIONS"))
|
if (!getenv("MSAN_OPTIONS"))
|
||||||
setenv("MSAN_OPTIONS",
|
setenv("MSAN_OPTIONS",
|
||||||
"exit_code=" STRINGIFY(MSAN_ERROR) ":"
|
"exit_code=" STRINGIFY(MSAN_ERROR) ":"
|
||||||
"symbolize=0:"
|
"symbolize=0:"
|
||||||
|
Reference in New Issue
Block a user