diff options
author | David Givone <david@givone.net> | 2012-05-10 08:23:48 +0400 |
---|---|---|
committer | David Givone <david@givone.net> | 2012-05-10 08:23:48 +0400 |
commit | 09fb5fac9f564c967a77d6c0fbf48c041964ba19 (patch) | |
tree | 332e8e53d1fcafddd6a0d1092a8f461ee63c4842 | |
parent | d2c013267dabe16026651ad4e278fecadc2b645b (diff) |
add mov %edi, %eax instruction for x86_64 architectures which is needed to override CGErrorBreakpoint in CoreGraphics framework
-rw-r--r-- | mach_override/mach_override.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mach_override/mach_override.c b/mach_override/mach_override.c index 8d4b4c8..6841ab8 100644 --- a/mach_override/mach_override.c +++ b/mach_override/mach_override.c @@ -599,6 +599,7 @@ static AsmInstructionMatch possibleInstructions[] = { { 0x5, {0xF8, 0x00, 0x00, 0x00, 0x00}, {0xB8, 0x00, 0x00, 0x00, 0x00} }, // mov $imm, %reg { 0x3, {0xFF, 0xFF, 0x00}, {0xFF, 0x77, 0x00} }, // pushq $imm(%rdi) { 0x2, {0xFF, 0xFF}, {0x31, 0xC0} }, // xor %eax, %eax + { 0x2, {0xFF, 0xFF}, {0x89, 0xF8} }, // mov %edi, %eax { 0x0 } }; #endif |