2017-09-11 22 views

答えて

0

Q: Can I run AddressSanitizer with more aggressive diagnostics enabled? 

A: Yes! In particular you may want to 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 for more details on this. 
関連する問題