AddressSanitizer
AddressSanitizer (or ASan) is an open source programming tool that detects memory corruption bugs such as buffer overflows or accesses to a dangling pointer (use-after-free). AddressSanitizer is based on compiler instrumentation and directly mapped shadow memory. AddressSanitizer is currently implemented in Clang (starting from version 3.1[1]), GCC (starting from version 4.8[2]), Xcode (starting from version 7.0[3]) and MSVC (widely available starting from version 16.9[4]). On average, the instrumentation increases processing time by about 73% and memory usage by 240%.[5]
This article needs additional citations for verification. (July 2014) |