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