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.