Beispiel #1
0
 /// <summary>
 /// Return stack frame native IP address.
 /// </summary>
 public static IntPtr GetNativeIP(this StackFrame stackFrame)
 {
     return(stackFrame.GetNativeIPAddress());
 }
Beispiel #2
0
 /// <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()));
 }