# AddressSanitizer options for Zen # # IMPORTANT: There is no native "options from file" mechanism for ASAN on any # platform or compiler. The sanitizer.options rule in xmake.lua parses this # file and sets ASAN_OPTIONS directly. If you run a binary without xmake you # must set ASAN_OPTIONS manually, e.g.: # Linux/Mac: ASAN_OPTIONS="new_delete_type_mismatch=0" ./zenserver # Windows: set ASAN_OPTIONS=new_delete_type_mismatch=0 # # Format: # key=value ASAN runtime option # # comment line (the whole line must start with #) # ignored # EASTL's allocator stores a size_t header in every allocation, but the # deallocation path passes the element size without the header. ASAN reports # this as a new/delete type mismatch. This is a false positive. new_delete_type_mismatch=0