articleUSENIX Annual Technical ConferenceJun 13, 2012Closed access

AddressSanitizer: a fast address sanity checker

Google (United States)

Abstract

Memory access bugs, including buffer overflows and uses of freed heap memory, remain a serious problem for programming languages like C and C++. Many memory error detectors exist, but most of them are either slow or detect a limited set of bugs, or both. This paper presents AddressSanitizer, a new memory error detector. Our tool finds out-of-bounds accesses to heap, stack, and global objects, as well as use-after-free bugs. It employs a specialized memory allocator and code instrumentation that is simple enough to be implemented in any compiler, binary translation system, or even in hardware. AddressSanitizer achieves efficiency without sacrificing comprehensiveness. Its average slowdown is just 73% yet…

Citation impact

642
total citations
FWCI
31.62
Percentile
100%
References
17
Citations per year

Authors

4

Topics & keywords

Keywords
  • Computer science
  • Heap (data structure)
  • Memory leak
  • Compiler
  • Operating system
  • Memory safety
  • Software bug
  • Memory address
No related works found for this paper.