Completed
Always-initialized local variables: switch gotcha
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Making C Less Dangerous in the Linux Kernel
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Making C Less Dangerous in the Linux kernel
- 3 Kernel Self Protection Project
- 4 C as a fancy assembler: almost machine code
- 5 C as a fancy assembler: undefined behavior
- 6 Variable Length Arrays and alloca () are bad
- 7 Variable Length Arrays are slow
- 8 Variable Length Arrays: stop it
- 9 Switch case fall-through: new "statement"
- 10 Always-initialized local variables: just do it
- 11 Always-initialized local variables: switch gotcha
- 12 Arithmetic overflow detection: gcc?
- 13 Arithmetic overflow detection: Clang :
- 14 Bounds checking: explicit checking is slow
- 15 Instead of sprintf(): scnprintf()
- 16 Instead of memcpy: uhhh ... be ... careful?
- 17 Bounds checking: memory tagging :
- 18 Control Flow Integrity: indirect calls
- 19 CFI, forward edges: just call pointers
- 20 CFI, forward edges: enforce prototype :
- 21 CFI, backward edges: two stacks
- 22 CFI, backward edges: shadow call stack
- 23 CFI, backward edges: hardware support
- 24 Where is the Linux kernel now?
- 25 Challenges in Kernel Security Development