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

YouTube

Fix C++ Stack Corruptions with the Shadow Stack Library

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to identify and fix elusive C++ stack corruptions that bypass traditional debugging tools in this conference talk from CppCon 2025. Explore why standard protection mechanisms like address sanitizers, stack protectors, GNU C Library's MALLOC_CHECK, and even Valgrind sometimes fail to catch treacherous stack micro-corruptions that can cause mysterious segmentation faults and bus errors. Dive deep into calling conventions and examine disassembled machine code to understand how innocent functions like pthread_mutex_unlock() can be falsely blamed for crashes. Discover the Shadow Stack technique and C/C++ library that recursively narrows the search scope of function call graphs to pinpoint the true source of stack corruptions. Witness live demonstrations of taming fatal stack corruptions, mysterious segmentation faults, and bus errors while gaining practical insights into advanced debugging techniques for complex memory corruption scenarios.

Syllabus

Fix C++ Stack Corruptions with the Shadow Stack Library - Bartosz Moczulski - CppCon 2025

Taught by

CppCon

Reviews

Start your review of Fix C++ Stack Corruptions with the Shadow Stack Library

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.