Everything About ___
Live briefing

Everything about Code sanitizer

Tool to detect memory-related bugs

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. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Code sanitizerA 5-minute orientation
  2. Pick up a classic book: Bye-laws and regulations with reference to house drainage, adopted by the Uppingham Sanitary Authority and allowed by the Local Government Board, with explanations and suggestionsThe most-reprinted book on the subject
  3. Read the landmark paper: The Code Sanitizer: Regular Expression Based Prevention of Content Injection AttacksCited 1 times
  4. Go sideways: C dynamic memory allocationA closely related topic
  5. Go sideways: Variable-length arrayA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. AddressSanitizer
  2. Other sanitizers
  3. Usage
  4. Users
  5. Examples

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics