Lesson plan

Code sanitizer

A code sanitizer is a programming tool that detects bugs in the form of undefined or suspicious behavior by a compiler inserting instrumentation code at runtime. Sanitizers have evolved over several decades to detect memory errors in unsafe programming languages, beginning with early pointer and array access checks in 1994 and type-safe retrofitting in 2005 , followed by a significant expansion into sophisticated spatial and temporal memory safety tools between 2009 and 2019. As of 2024, the most popular sanitizer is ASan, originally designed by Google. It is integrated into most mainstream compilers due to its relatively small memory and performance overhead.

Back to article

Article summary

A code sanitizer is a programming tool that detects bugs in the form of undefined or suspicious behavior by a compiler inserting instrumentation code at runtime. Sanitizers have evolved over several decades to detect memory errors in unsafe programming languages, beginning with early pointer and array access checks in 1994 and type-safe retrofitting in 2005 , followed by a significant expansion into sophisticated spatial and temporal memory safety tools between 2009 and 2019. As of 2024, the most popular sanitizer is ASan, originally designed by Google. It is integrated into most mainstream compilers due to its relatively small memory and performance overhead.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.