Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mach_override.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrentzsch <jwr.git@redshed.net>2009-02-22 07:34:51 +0300
committerrentzsch <jwr.git@redshed.net>2009-02-22 07:34:51 +0300
commit556df5b8ac3104c761bdd343a4833f936a270b39 (patch)
treea8884d3bea70b427e8051205030cda344ee2a55d
parentea44cebd2149fa473f94d213560bd0b5bb64ca24 (diff)
[FIX] mach_override: broaden known i386 push reg possibleInstructions. (Niall Smart from "some random project")
-rw-r--r--mach_override/mach_override.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mach_override/mach_override.c b/mach_override/mach_override.c
index 9a9ae02..c9049a9 100644
--- a/mach_override/mach_override.c
+++ b/mach_override/mach_override.c
@@ -475,9 +475,8 @@ typedef struct {
static AsmInstructionMatch possibleInstructions[] = {
{ 0x1, {0xFF}, {0x90} }, // nop
- { 0x1, {0xFF}, {0x55} }, // push %esp
+ { 0x1, {0xF8}, {0x50} }, // push %eax | %ebx | %ecx | %edx | %ebp | %esp | %esi | %edi
{ 0x2, {0xFF, 0xFF}, {0x89, 0xE5} }, // mov %esp,%ebp
- { 0x1, {0xFF}, {0x53} }, // push %ebx
{ 0x3, {0xFF, 0xFF, 0x00}, {0x83, 0xEC, 0x00} }, // sub 0x??, %esp
{ 0x0 }
};