mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
Merge pull request #855 from MegaManSec/leak-sanitizer
Add support for standalone leak-sanitizer
This commit is contained in:
@ -572,6 +572,13 @@ static void set_up_environment(afl_forkserver_t *fsrv, char **argv) {
|
||||
"handle_sigill=0",
|
||||
0);
|
||||
|
||||
setenv("LSAN_OPTIONS",
|
||||
"exitcode=" STRINGIFY(LSAN_ERROR) ":"
|
||||
"fast_unwind_on_malloc=0:"
|
||||
"symbolize=0:"
|
||||
"print_suppressions=0",
|
||||
0);
|
||||
|
||||
setenv("UBSAN_OPTIONS",
|
||||
"halt_on_error=1:"
|
||||
"abort_on_error=1:"
|
||||
|
Reference in New Issue
Block a user