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
- Read the overview: Code sanitizerA 5-minute orientation
- 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
- Read the landmark paper: The Code Sanitizer: Regular Expression Based Prevention of Content Injection AttacksCited 1 times
- Go sideways: C dynamic memory allocationA closely related topic
- Go sideways: Variable-length arrayA closely related topic
đź“– Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
📚 Books worth reading
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 suggestionsRogers Field · 1877
The sanitary code, article xi: minimum requirements for the disposal of sanitary sewage in unsewered areasMassachusetts. Dept. of Public Health · 1962
The sanitary code, article 1: general application and administrationMassachusetts. Dept. of Public Health · 1960
The sanitary code, article iii: housing and sanitation standards for farm labor campsMassachusetts. Dept. of Public Health · 1960
The sanitary code, article vi: minimum standards for swimming poolsMassachusetts. Dept. of Public Health · 1964
The sanitary code, article iv: sanitation standards for recreational camps for childrenMassachusetts. Dept. of Public Health · 1963
The sanitary code, article viii: minimum standards for developed family type camp groundMassachusetts. Dept. of Public Health · 1963
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
đź”— Related topics
- C dynamic memory allocation C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions…
- Variable-length array In computer programming, a variable-length array (VLA), also called variable-sized or runtime-sized, is an array data structure whose length is determined…
- Control-flow integrity Control-flow integrity (CFI) is a general term for computer security techniques that prevent a wide variety of malware attacks from redirecting the flow…
- Entry point In computer programming, an entry point is the place in a program where the execution of a program begins, and where the program has access to command…
- Stack buffer overflow In software, a stack buffer overflow or stack buffer overrun occurs when a program writes to a memory address on the program's call stack outside of the…
- Sizeof sizeof is a unary operator in the C and C++ programming languages that evaluates to the storage size of an expression or a data type, measured in units…
- C syntax C syntax is the form that text must have in order to be C programming language code. The language syntax rules are designed to allow for code that is terse…
- Pointer (computer programming) I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures." — Donald Knuth, Structured Programming…