Lines Matching defs:MemoryHook
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),
414 bool MemoryHook::hooked_ = false;
415 MemoryHook* MemoryHook::global_hook_ = NULL;
417 MemoryHook::MemoryHook()
423 MemoryHook::~MemoryHook() {
430 bool MemoryHook::Initialize() {
432 global_hook_ = new MemoryHook();
436 bool MemoryHook::Hook() {
476 bool MemoryHook::Unhook() {
508 bool MemoryHook::RegisterWatcher(MemoryObserver* watcher) {
519 bool MemoryHook::UnregisterWatcher(MemoryObserver* watcher) {
531 bool MemoryHook::CreateHeap() {
539 bool MemoryHook::CloseHeap() {
546 void MemoryHook::OnTrack(HANDLE heap, int32 id, int32 size) {
555 void MemoryHook::OnUntrack(HANDLE heap, int32 id, int32 size) {