We recommend five classic articles about exception handling, and a roadmap about its general development history. I used to have a rough understanding of the implementation mechanism of exception handling. I have read it over the past two days, and I feel more and more memorable, we can vaguely see the shadows of many ideas, such as stackwalking, managed thread logic stack reuse, and dynamic monitoring Point Insertion during compilation, which are frequently used by sscli. In fact, the ideas are consistent and consistent, the development stages are different. If you are surprised by the EE implementation in rotor 2 like me, take a look at the following articles.ArticleTo learn more about the ins and outs of EH and its evolution, it is interesting to say that :)
[1] Win32 seh: the most basic Exception Handling Mechanism
[2] structured exception handling mechanism supported by the compiler in vc6
[3] exception handling mechanism supported by buffer overflow detection and compiler in vs2005
[4] object-oriented Exception Handling Mechanism in C ++ and Its Compiler support
[5] The stack structure in CLI and Its Exception Handling Model
Document link:
A. a crash course on the depths of Win32 structured exception handling. Matt pietrek. MSJ, Jan. 1997
B. How a C ++ compiler implements Exception Handling. Vishal Kochhar. The Code project, Apr. 2002
C. c ++ compiler how to handle exceptions (translated above). Translator: local variable. VC Knowledge Base
D. Reversing Microsoft Visual C ++ Part I: Exception Handling. igorsk. openrce.org, Mar. 2006
E. the CLI exception model. cbrumme's weblog, Oct. 2003.