Internals of Exceptions
summary
Covers Windows exception handling internals: SEH, VEH and VCH, and how C++ and C# implement exceptions including CLR instructions and machine-code details. Shows why C# has exception filters and techniques to catch even StackOverflowException, illustrated with live debugging and low-to-high-level code examples.
AI-written summary · about
chapters (21)
- 0:00Intro
- 2:10Popular mechanisms
- 2:41Lower level mechanisms
- 8:47One might ask...
- 9:56Finally during exit
- 11:18Stacktraces in .NET
- 15:01Catching everything
- 16:31Uncatchable exceptions in .NET
- 20:32Exceptions in async
- 21:28Exceptions in other threads
- 22:30Constrained Executed Region
- 24:37Exceptions as seen in WinDBG
- 30:41IL Metadata
- 32:10NET two-pass exception system
- 34:04Catching rules
- 34:53C# Exception filters
- 36:59SEHException mapping
- 38:03Handling corrupted state in .NET
- 43:26Catching Stack OverflowException in C#
- 43:41Summary
- 46:32References
related talks
01h 00mExceptional C++
01h 02mExceptional C++
59m“The Exception Situation"
01h 03mExceptionally Bad: The Misuse of Exceptions in C++ & How to Do Better
02h 18mHacking C# from the inside - how to do anything in .NET
42mWindows 10 Segment Heap Internals
01h 06mHacking C# from the inside
34mExceptions and Interrupts on amd64: How the OS Controls the Computer
