Securing GCC and GLIBC
summary
GCC adds incremental prevention features: buffer bounds checking (improving since GCC 9), object-size detection, new static analyzers in GCC 10 and sanitizers (UBSan) shared with LLVM, and compiler plugins that record compilation metadata (anabin with anacheck) so builds can be audited for flags like fortify and optimization. glibc adds header access annotations, fortify_source=3 (glibc 2.33) and removed some malloc exploit primitives (2.34). Hardware CFI (Intel CET, ARM PAC/BTI) and function-pointer obfuscation plugins are in use for mitigation.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:44GLIBC: Choosing a direction
- 7:41Prevention in the compiler
- 8:45Prevention: In the compiler
- 9:41Prevention in the runtime
- 13:19Setting quality baselines
- 14:55Mitigation compiler and runtimes
- 17:33Mitigation runtimes
- 18:22Prevention the future of GCC
- 18:44Prevention: the future of GLIBC
- 19:35Quality control
- 20:08Mitigation: The future of GCC and GLIBC
related talks
44mWhere are we on security features?
42mDefending the Branch: PAC, BTI & GCS on Linux
34mMaking C Less Dangerous
21mSecurity Features status update
01h 34mSecurity in C++ - Hardening Techniques From the Trenches
18mExciting new compiler flags for kernel security
01h 05mSecurity in C++: Hardening techniques from the trenches
58mKeynote: Safety and Security: The Future of C and C++
