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>2012-08-10 07:31:03 +0400
committerrentzsch <jwr.git@redshed.net>2012-08-10 07:31:03 +0400
commit3290ea0825f6621b7213dcec5b1d26bc71723dd1 (patch)
treeb39db2d2faa23aa968467a5b5c950883cbebf4a8
parent1b3aa46fc36ea65ad6294379df54fad13a7b27a6 (diff)
Re-apply https://github.com/rentzsch/mach_star/pull/39
Test passed.
-rw-r--r--mach_override.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mach_override.c b/mach_override.c
index 64dd0ab..248e645 100644
--- a/mach_override.c
+++ b/mach_override.c
@@ -594,6 +594,7 @@ static AsmInstructionMatch possibleInstructions[] = {
{ 0x3, {0xFF, 0xFF, 0xFF}, {0x48, 0x89, 0xE5} }, // mov %rsp,%rbp
{ 0x4, {0xFF, 0xFF, 0xFF, 0x00}, {0x48, 0x83, 0xEC, 0x00} }, // sub 0x??, %rsp
{ 0x4, {0xFB, 0xFF, 0x00, 0x00}, {0x48, 0x89, 0x00, 0x00} }, // move onto rbp
+ { 0x4, {0xFF, 0xFF, 0xFF, 0xFF}, {0x40, 0x0f, 0xbe, 0xce} }, // movsbl %sil, %ecx
{ 0x2, {0xFF, 0x00}, {0x41, 0x00} }, // push %rXX
{ 0x2, {0xFF, 0x00}, {0x85, 0x00} }, // test %rX,%rX
{ 0x5, {0xF8, 0x00, 0x00, 0x00, 0x00}, {0xB8, 0x00, 0x00, 0x00, 0x00} }, // mov $imm, %reg