[Missing support] Add support for unwind info added by RtlAddFunctionTable, etc #320
Labels
Debugger
Pertains to the debugger.
Feature Request
A request for a new feature or improvement.
Missing Support
A request to support a currently unsupported case.
Windows provides some apis (namely RtlAddFunctionTable, RtlAddGrowableFunctionTable, RtlInstallFunctionTableCallback) for the user application to add unwind info for dynamically generated code. This is how JIT compilers such as V8 (Turbofan) allows for stack unwinding of JIT code on Windows.
Below is a test program that uses RtlAddFunctionTable to add some unwind info to some JIT code.
In Visual Studio the callstack looks like this:
Currently in RADDBG the callstack looks like this:
I don't know the most efficient way of being notified when this unwind information has been added. Perhaps hooking the aforementioned functions would be an approach ?
I think this is where ReactOS uses the information (https://github.com/reactos/reactos/blob/master/sdk/lib/rtl/amd64/unwind.c#L139C16-L139C46).
Thanks.
The text was updated successfully, but these errors were encountered: