Explorar el Código

loop() crashes when hooked with MinHook

as expected basically
master
aaaaaa aaaaaaa hace 6 años
padre
commit
c7e4e9b050
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      tester/minhook.cpp

+ 1
- 1
tester/minhook.cpp Ver fichero

@@ -70,7 +70,7 @@ bool MinHook::hook_all(void) {
bool ret3 = MH_CreateHook(getAVX(), &MinHook_Hooks::hookAVX, (LPVOID*)&trueAVX) == MH_OK;
bool ret4 = MH_CreateHook(getRDRAND(), &MinHook_Hooks::hookRDRAND, (LPVOID*)&trueRDRAND) == MH_OK;

bool ret5 = MH_CreateHook(getLoop(), &MinHook_Hooks::hookLoop, (LPVOID*)&trueLoop) == MH_OK;
//bool ret5 = MH_CreateHook(getLoop(), &MinHook_Hooks::hookLoop, (LPVOID*)&trueLoop) == MH_OK;
bool ret6 = MH_CreateHook(getTailRecursion(), &MinHook_Hooks::hookTail_recursion, (LPVOID*)&trueTailRecursion) == MH_OK;

bool ret7 = MH_EnableHook(MH_ALL_HOOKS) == MH_OK;

Cargando…
Cancelar
Guardar