I use the Profiler API to get a mixed mode call stack.
The problem is that for some of the native frames of the resulting stack (related to the managed -> unmanaged transition, hidden behind the DllImport) are completely unknown - it is impossible to get symbolic information for them, even just the module to which the return address belongs.
GetFunctionFromIP for the address of this frame returns E_FAIL, which means that the function is unmanaged.
As I understand, this is a JIT generated piece of code.
But how can I know this for sure, to determine this for any other such piece of code from any call stack?
And I'd like to get the module to which this piece of code belongs, as well as some text description (let's say the "name" of the function).
Please, could you help me?
I use the Profiler API to get a mixed mode call stack.
The problem is that for some of the native frames of the resulting stack (related to the managed -> unmanaged transition, hidden behind the
DllImport) are completely unknown - it is impossible to get symbolic information for them, even just the module to which the return address belongs.GetFunctionFromIPfor the address of this frame returnsE_FAIL, which means that the function is unmanaged.As I understand, this is a JIT generated piece of code.
But how can I know this for sure, to determine this for any other such piece of code from any call stack?
And I'd like to get the module to which this piece of code belongs, as well as some text description (let's say the "name" of the function).
Please, could you help me?