Skip to content

Sanitizers

dk949 edited this page May 21, 2022 · 1 revision

Sanitizers instrument the compiled code to raise runtime errors when certain memory-unsafe operations are performed (like out-of-bounds access and memory leaks).

When enabled, Clang and GCC will use the AddressSanitizer, LeakSanitizer and UndefinedBehaviourSanitizer. MSVC will only use AddressSanitizer.

Clone this wiki locally