Retrieving All Entries in the Win64 Exception Table

From some clearer understanding from the Win64 exception stack that does not display entries , I would like to get all the entries from the Win64 exception table — temporary additions to the RtlAddFunctionTable and RtlInstallFunctionTableCallback API calls.

Is this possible from Delphi?

+1
source share
1 answer

From:

RtlVirtualUnwind(UNW_FLAG_NHANDLER, LImageBase, LContext.Rip, LRuntimeFunction, LContext, HandlerData, EstablisherFrame, NvContext); 

The HandlerData pointer contains information about the exception table for the compiler / language . If you cancel some details from System.pas , in particular, the _DelphiExceptionHandler and FindOnExceptionDescEntry , you can determine what each record is for - the details relate to the definition of the TExcScope record in System.pas .

+1
source

All Articles