C++ Security Fundamentals: From Standards to Practice
summary
C++ has pervasive undefined and unspecified behavior that can make compilers produce surprising results, so the practical claim is that wholesale migration away isn’t feasible today and the workable path is disciplined rules plus tools. The talk names MISRA C++ 2023 (covers up to C++17 with 179 guidelines), ISO 26262 for process, and static analyzers like clang-tidy and Sonar to enforce decidable rules; examples include the goto ban and switch/default conflicts and the recommendation to document required deviations.
AI-written summary · about
chapters (11)
- 0:00The inherent risks of C++
- 2:06Defining the goal
- 4:41Software error types
- 7:03Undefined and vague behavior
- 13:44Safety and security checklist
- 17:19The migration debate
- 21:29Mitigation through process
- 27:46Introduction to Misra
- 32:27Analyzing Misra guidelines
- 41:25Benefits of strict practices
- 47:51Conclusion and Q&A
