3 ms·
While RtlInstallFunctionTable callback was designed specifically for JIT compilers, RtlAddFunctionTable may also be used. The trick is to give every function it
by kaushiks 10y ago
While RtlInstallFunctionTable callback was designed specifically for JIT compilers, RtlAddFunctionTable may also be used. The trick is to give every function its own function table. I wrote Chakra's P/XData handler and was surprised to find that they still haven't switched to function table callbacks [1], like the CLR has.
[1] https://github.com/Microsoft/ChakraCore/blob/7587147fac16654797fca082deeef607c4f3d6a6/lib/Common/Memory/amd64/XDataAllocator.cpp#L220 https://github.com/Microsoft/ChakraCore/blob/7587147fac16654...