Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Enhancing Spatial Safety - Better Array-bounds Checking in C and Linux

Linux Foundation via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced techniques for implementing robust array bounds-checking mechanisms in C programming and Linux kernel development through this comprehensive conference talk. Discover how the Linux Kernel Self-Protection Project addresses historical vulnerabilities in C's array handling by examining cutting-edge hardening strategies for fixed-size and flexible arrays. Learn about innovative approaches to fortifying critical APIs like memcpy() against buffer overflow attacks, including the implementation of specialized built-in compiler functions and runtime protection mechanisms. Delve into recent compiler enhancements such as the -fstrict-flex-arrays and -Wflex-array-member-not-at-end options, and understand how the new counted_by attribute in Clang 18 and GCC 15 enables comprehensive runtime bounds-checking for flexible arrays. Gain insights into the technical challenges overcome in developing these security measures and examine the groundbreaking innovations that aim to eliminate array bounds-checking vulnerabilities in both C programming and Linux kernel environments permanently.

Syllabus

Enhancing Spatial Safety: Better Array-bounds Checking in C (and Linux) - Gustavo A. R. Silva

Taught by

Linux Foundation

Reviews

Start your review of Enhancing Spatial Safety - Better Array-bounds Checking in C and Linux

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.