Changed a comment
This commit is contained in:
@@ -244,7 +244,7 @@ LONG WINAPI FOVVehHandler(PEXCEPTION_POINTERS ep) {
|
|||||||
if (!ep || !ep->ContextRecord || !ep->ExceptionRecord) return EXCEPTION_CONTINUE_SEARCH;
|
if (!ep || !ep->ContextRecord || !ep->ExceptionRecord) return EXCEPTION_CONTINUE_SEARCH;
|
||||||
if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_SINGLE_STEP) return EXCEPTION_CONTINUE_SEARCH;
|
if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_SINGLE_STEP) return EXCEPTION_CONTINUE_SEARCH;
|
||||||
|
|
||||||
CONTEXT* ctx = ep->ContextRecord; // Vérifie si on est sur l'instruction cible //logger->info("Avant if ep");
|
CONTEXT* ctx = ep->ContextRecord; // Check if instruction breakpoint is the one targeted
|
||||||
if (ctx->Rip == reinterpret_cast<uintptr_t>(FOVaddress)) {
|
if (ctx->Rip == reinterpret_cast<uintptr_t>(FOVaddress)) {
|
||||||
t_fov_address_to_patch = static_cast<uintptr_t>(ctx->Rdi) + 0x30;
|
t_fov_address_to_patch = static_cast<uintptr_t>(ctx->Rdi) + 0x30;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user