mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 01:58:17 +00:00
malloc_context_size=0 as default options for sanitizers to have faster malloc/free
This commit is contained in:
@ -249,6 +249,7 @@ void init_forkserver(char **argv) {
|
|||||||
setenv("ASAN_OPTIONS",
|
setenv("ASAN_OPTIONS",
|
||||||
"abort_on_error=1:"
|
"abort_on_error=1:"
|
||||||
"detect_leaks=0:"
|
"detect_leaks=0:"
|
||||||
|
"malloc_context_size=0:"
|
||||||
"symbolize=0:"
|
"symbolize=0:"
|
||||||
"allocator_may_return_null=1",
|
"allocator_may_return_null=1",
|
||||||
0);
|
0);
|
||||||
@ -260,6 +261,7 @@ void init_forkserver(char **argv) {
|
|||||||
"exit_code=" STRINGIFY(MSAN_ERROR) ":"
|
"exit_code=" STRINGIFY(MSAN_ERROR) ":"
|
||||||
"symbolize=0:"
|
"symbolize=0:"
|
||||||
"abort_on_error=1:"
|
"abort_on_error=1:"
|
||||||
|
"malloc_context_size=0:"
|
||||||
"allocator_may_return_null=1:"
|
"allocator_may_return_null=1:"
|
||||||
"msan_track_origins=0",
|
"msan_track_origins=0",
|
||||||
0);
|
0);
|
||||||
|
Reference in New Issue
Block a user