mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Specify more ASan options (#1860)
This commit is contained in:
1 parent
8ab4602ae5
commit
0f266d1c66
1 file changed
+7
-1
+7
-1
@@ -14,7 +14,13 @@
|
||||
#if !defined(NDEBUG) && defined(__SANITIZE_ADDRESS__) && !defined(__APPLE__)
|
||||
extern "C" {
|
||||
char const *__asan_default_options(void) {
|
||||
return "detect_leaks=1";
|
||||
return "detect_leaks=1"
|
||||
":detect_stack_use_after_return=1"
|
||||
":detect_invalid_pointer_pairs=2"
|
||||
":check_initialization_order=1"
|
||||
":strict_init_order=1"
|
||||
":strict_string_checks=1"
|
||||
":print_legend=0";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user