HookRuntimeInfo Class |
Namespace: EasyHook
The HookRuntimeInfo type exposes the following members.
Name | Description | |
---|---|---|
HookRuntimeInfo | Initializes a new instance of the HookRuntimeInfo class |
Name | Description | |
---|---|---|
AddressOfReturnAddress |
A stack address pointing to ReturnAddress.
Executes in max. one micro secound.
| |
Callback |
The user callback initially passed to either Create(IntPtr, Delegate, Object) or CreateUnmanaged(IntPtr, IntPtr, IntPtr).
Executes in max. one micro secound.
| |
CallingManagedModule |
Determines the first managed module on the current call stack. This is always the module
that invoked the hook.
Executes in max. 40 micro secounds.
| |
CallingUnmanagedModule |
Determines the first unmanaged module on the current call stack. This is always the module
that invoked the hook.
Executes in max. 15 micro secounds.
| |
Handle |
The hook handle initially returned by either Create(IntPtr, Delegate, Object) or CreateUnmanaged(IntPtr, IntPtr, IntPtr).
Executes in max. one micro secound.
| |
IsHandlerContext |
Is the current thread within a valid hook handler? This is only the case
if your handler was called through the hooked entry point...
Executes in max. one micro secound.
| |
ManagedStackTrace |
Creates a call stack trace of the managed code path that finally
lead to your hook. To detect whether the desired module is within the
call stack you will have to walk through the whole list!
Executes in max. 80 micro secounds.
| |
ReturnAddress |
Returns the address where execution is continued, after you hook has
been completed. This is always the instruction behind the hook invokation.
Executes in max. one micro secound.
| |
UnmanagedStackTrace |
Creates a call stack trace of the unmanaged code path that finally
lead to your hook. To detect whether the desired module is within the
call stack you will have to walk through the whole list!
Executes in max. 20 micro secounds.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PointerToModule |
Retrives the unmanaged module that contains the given pointer. If no module can be
found, null is returned. This method will automatically update the unmanaged
module list from time to time.
Executes in less than one micro secound.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateUnmanagedModuleList |
Allows you to explicitly update the unmanaged module list which is required for
CallingUnmanagedModule, UnmanagedStackTrace and PointerToModule(IntPtr).
Normally this is not necessary, but if you hook a process that frequently loads/unloads modules, you
may call this method in a LoadLibrary hook to always operate on the latest module list.
|