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]


Share this article:

This article uses material from the Wikipedia article AddressSanitizer, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.