What you will learn in Memory Safe C++
How to write safety-critical software
Chapter by chapter
Chapter 1: Real-time and safety-critical software
The section uses the CrowdStrike outage to contrast a recoverable software failure with the potentially irreversible consequences of memory errors in safety-critical systems.
What you learn in chapter 1 →Chapter 2: Standards, coding guidelines, and memory safety
This introduction explains why C++ compilation alone cannot ensure safety and how standards, coding guidelines, and independent assessment complement it.
What you learn in chapter 2 →Concepts explained in this book
- memory safetyThe property that a program's memory operations do not cause errors such as out-of-bounds access or corruption.
- safety-critical applicationA system whose failure could cause serious harm, including harm propagated through connected systems.
- style guideA set of rules specifying what software source code may contain and what it must not do.
- dynamic analysisAnalysis of software behavior by executing the software and observing its runtime properties.
- static analysisStatic analysis examines software without executing it to identify properties, defects, or rule violations.
- safety cultureA safety culture is a shared team and organizational commitment to prioritizing safety and best practices.
- safe-programming disciplineSafe-programming discipline is the consistent application of safe practices, including under schedule pressure.
- use-after-free errorUse-after-free is an error in which a program accesses memory after it has been deallocated.
- spatial memory safety violationSpatial memory safety is the property that memory accesses remain within the valid boundaries of the objects they access.
- predictabilityPredictability is the property of an operation having an execution time that can be bounded in advance.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.
