~/talk

Internals of Exceptions

Talkat NDC Sydney 2019 · 2019-10-14..10-18· [dotnet, linux-and-operating-systems]
slides:none on file

Walks through concrete Windows internals: shows SEH and VEH mechanics, differences between x86 stack‑chain handlers and x64/table‑based handlers, and how CLR maps exceptions to those codes. Live demos modify CPU registers to resume after a divide‑by‑zero, hijack the Thread constructor with emitted machine code to catch otherwise unhandled thread exceptions, and run a VEH + setjmp/longjmp sequence to recover from StackOverflow. Presents async/await pitfalls (never use async void), details about 10‑iteration continue behavior for division faults, and what works versus what is unsafe.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Agenda
  3. 5:28Exception Handling SH
  4. 9:05Exception Handling VH
  5. 11:33Other Methods
  6. 13:28Implementation Details
  7. 15:08Handling Exceptions
  8. 20:18Handling Everything
  9. 22:53Uncatchable Exceptions
  10. 24:23Exceptions from In
  11. 28:48Constraint Executed Region
  12. 33:53LowLevel Exceptions
  13. 35:53Stackbased Exceptions
  14. 37:11Seh Exceptions
  15. 43:22Intermediate Language Exceptions
  16. 44:55dogma
  17. 46:50return
  18. 48:43pass exception system
  19. 50:06fred abort
  20. 51:08access violation
  21. 53:23stack overflow exception
  22. 55:40QA time
~/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.