~/talk

MISRA C and C++ in OSS: Yes, We Can!

Talkat Open Source Summit Europe 2025 · on Wednesday, 2025-08-27· at 16:20· D204 (Elicium Level 2)· [c-and-cpp, open-source]
links:none on file
slides:none on file

MISRA C/C++ gets applied to large open‑source stacks using a three‑step program of training, tailoring, tooling. Projects reported: Xen drops from >1,000,000 violations to ~2,000 on x86_64 and <1,000 on arm64, Zephyr falls from >1,000,000 to <10,000, and 120 MISRA guidelines are upstream‑accepted for Xen. Compliance is checked in CI with ECLAIR static analyzer and regressions blocked; where static fixes are impractical, sanitizers run test suites to catch overflows.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27Advantages and challenges of C and C++
  3. 3:37Undefined behaviors in C/C++
  4. 10:22C/C++ lack of full definition
  5. 15:07Embedded C/C++ readability issues
  6. 19:05MISRA C/C++ standards overview
  7. 27:07MISRA compliance for OSS
  8. 30:00Case studies: XEN, Zephyr, Trusted Firmware, Linux
  9. 35:01MISRA compliance strategies for OSS
  10. 38:56Conclusion: MISRA in OSS feasibility
  11. 40:02Q&A: MISRA for Rust and others
  12. 41:28Q&A: MISRA for libraries
  13. 44:36Q&A: MISRA tooling
  14. 46:24Q&A: Open source MISRA tools
  15. 47:32Q&A: Bugs found in MISRA work
  16. 48:15Q&A: Sanitizers vs static analysis
~/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.