#39 Add ARM and ARM64 configuration.

This commit is contained in:
Boring
2024-01-04 14:54:25 +08:00
parent 2aa3cf99c8
commit a6c494a0d1
16 changed files with 684 additions and 171 deletions
+2 -2
View File
@@ -231,7 +231,7 @@ __skip_tls:
return Context.ThreadStartRoutine(Context.ThreadParameter);
}
#ifdef _WIN64
#if (defined(_WIN64) || defined(_M_ARM))
VOID NTAPI HookRtlUserThreadStart(
_In_ PTHREAD_START_ROUTINE Function,
_In_ PVOID Parameter) {
@@ -256,7 +256,7 @@ HookRtlUserThreadStart(
// Context.ThreadParameter = Parameter;
mov dword ptr ds : [esp + 4] , ebx;
mov eax, MmpUserThreadStart;
mov ebx, esp;