Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ASAN, or the address sanitizer, is one of many C++ sanitizers developed by Google with the primary initial goal of securing Chrome from use-after-free and buffer-overflow errors.  It was originally launched as a feature for clang, but is now available in recent versions of GCC.  ASAN on it's its own will detect:

  • Use after free errors
  • Heap buffer overflows
  • Stack buffer overflows
  • Global buffer overflows
  • Use after returns
  • Use after scopes
  • Initialization order bugs
  • Memory leaks

...