Transcription of Compiler Internals: Exceptions and RTTI - Hex Blog
{{id}} {{{paragraph}}}
Compiler Internals: Exceptions and RTTIIgor SkochinskyHex-RaysRecon 2012 Montreal2(c) 2012 Igor SkochinskyOutlineOutlineVisual C++Structured exception Handling (SEH)C++ exception Handling (EH)GCCRTTISjLj exceptionsZero-cost (table based)3(c) 2012 Igor SkochinskyVisual C++SEH vs C++ EHSEH (Structured Exceptions Handling) is the low-level, system layerAllows to handle Exceptions sent by the kernel or raised by user codeC++ Exceptions in MSVC are implemented on top of SEH4(c) 2012 Igor SkochinskyVisual C++Keywords __try, __except and __finally can be used for Compiler -level SEH supportThe Compiler uses a single exception handler per all functions with SEH, but different supporting structures (scope tables)
Compiler Internals: Exceptions and RTTI Igor Skochinsky Hex-Rays Recon 2012 Montreal
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}