Home | History | Annotate | Download | only in memory_watcher

Lines Matching refs:Hook

7 // Some notes about how to hook Memory Allocation Routines in Windows.
9 // For our purposes we do not hook the libc routines. There are two
12 // Second, it can be tricky to hook in both static and dynamic linkages
102 // Constructor. Does not hook the function yet.
197 MemoryHook::hook()->OnTrack(hHeap, reinterpret_cast<int32>(rv), dwBytes);
208 MemoryHook::hook()->OnUntrack(hHeap, reinterpret_cast<int32>(lpMem), size);
257 MemoryHook::hook()->OnTrack(0, reinterpret_cast<int32>(result), size);
272 MemoryHook::hook()->OnUntrack(0, reinterpret_cast<int32>(address),
299 MemoryHook::hook()->OnTrack(0, reinterpret_cast<int32>(result),
334 MemoryHook::hook()->OnUntrack(0, reinterpret_cast<int32>(lpBaseAddress),
436 bool MemoryHook::Hook() {
512 Hook();