/// <summary> /// Return stack frame native IP address. /// </summary> public static IntPtr GetNativeIP(this StackFrame stackFrame) { return(stackFrame.GetNativeIPAddress()); }
/// <summary> /// Return load address of the native image pointed to by the stack frame. /// </summary> public static IntPtr GetNativeImageBase(this StackFrame stackFrame) { return(RuntimeImports.RhGetOSModuleFromPointer(stackFrame.GetNativeIPAddress())); }