~/talk

Internals of Exceptions

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [security]
slides:none on file

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

  1. 0:00Intro
  2. 2:10Popular mechanisms
  3. 2:41Lower level mechanisms
  4. 8:47One might ask...
  5. 9:56Finally during exit
  6. 11:18Stacktraces in .NET
  7. 15:01Catching everything
  8. 16:31Uncatchable exceptions in .NET
  9. 20:32Exceptions in async
  10. 21:28Exceptions in other threads
  11. 22:30Constrained Executed Region
  12. 24:37Exceptions as seen in WinDBG
  13. 30:41IL Metadata
  14. 32:10NET two-pass exception system
  15. 34:04Catching rules
  16. 34:53C# Exception filters
  17. 36:59SEHException mapping
  18. 38:03Handling corrupted state in .NET
  19. 43:26Catching Stack OverflowException in C#
  20. 43:41Summary
  21. 46:32References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.