address sanitizer - What AddressSanitizer flags should I use to detect more errors? -


what asan flags should use detect more errors? @ moment, use asan_options=detect_stack_use_after_return=1.

from asan faq:

q: can run addresssanitizer more aggressive diagnostics enabled?  a: yes! in particular may want enable    cflags += -fsanitize-address-use-after-scope   asan_options=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1  check https://github.com/google/sanitizers/wiki/addresssanitizerflags more details on this. 

Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -