CARB_ASAN_ENABLED

Defined in carb/Defines.h

CARB_ASAN_ENABLED

A macro defined as 1 if the toolchain is building the current file with -fsanitize=address, that is, if __SANITIZE_ADDRESS__ is defined; 0 otherwise. May be overridden by defining a different value before including this file or by specifying a different value on the compiler command line. Microsoft Visual Studio supports address sanitizer starting with 2019 (v16.9) by specifying /fsanitize=address on the compiler command line. See https://learn.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-160.