~/talk

Embedded C and C++: A Security Perspective

Talkat emBO++ 2023 · 2023-03-23..03-25· [security, c-and-cpp]
slides:none on file

C and C++ still cause recurring security faults like out‑of‑bounds writes (top CWE) despite years of experience, and switching languages is slow and costly. The claim: C++ language features can systematically prevent common mistakes. Concrete patterns shown: tainted<T> wrapper that forces verification or sanitization via private access, references for non‑null to eliminate scattered null checks, and an encapsulated single‑read buffer to avoid TOCTOU race vulnerabilities by buffering shared memory before use. These techniques compile-time enforce safer use and reduce exploitable faults.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:30Security risks in C and C++
  3. 4:01Memory safety and stack vulnerabilities
  4. 7:32Industry reliance on C and C++
  5. 8:57Input validation with C++ classes
  6. 10:47Null pointer safety in C++
  7. 11:48Time-of-check to time-of-use flaws
  8. 13:59Summary and future outlook
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.