jmpews / Dobby

a lightweight, multi-platform, multi-architecture hook framework.
Apache License 2.0
4k stars 833 forks source link

没实现的指令处理 #81

Closed yangboyd closed 4 years ago

yangboyd commented 4 years ago
} else if (instr.instr.opcode1 >= 0xE3) {
  // JCXZ JCEXZ JCRXZ
  UNIMPLEMENTED();

0 0x00007ffff75df1d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

1 0x00007ffff75e08c8 in __GI_abort () at abort.c:90

2 0x00007ffff75d8146 in __assert_fail_base (fmt=0x7ffff77293a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff689e347 "0",

file=file@entry=0x7ffff689e2c0 "/Dobby/source/InstructionRelocation/x64/X64InstructionRelocation.cc", line=line@entry=48, 
function=function@entry=0x7ffff689e380 <GenRelocateCodeTo(void*, int*, unsigned long, unsigned long)::__PRETTY_FUNCTION__> "zz::AssemblyCode* GenRelocateCodeTo(void*, int*, uint64_t, uint64_t)") at assert.c:92

3 0x00007ffff75d81f2 in __GI___assert_fail (assertion=0x7ffff689e347 "0", file=0x7ffff689e2c0 "/Dobby/source/InstructionRelocation/x64/X64InstructionRelocation.cc",

line=48, 
function=0x7ffff689e380 <GenRelocateCodeTo(void*, int*, unsigned long, unsigned long)::__PRETTY_FUNCTION__> "zz::AssemblyCode* GenRelocateCodeTo(void*, int*, uint64_t, uint64_t)")
at assert.c:101

4 0x00007ffff689bcfa in GenRelocateCodeTo (buffer=0x7ffff76929a0 , relocate_size=0x7fffffffe054, from_ip=140737344252320, to_ip=140737354100864)

at /Dobby/source/InstructionRelocation/x64/X64InstructionRelocation.cc:48

5 0x00007ffff689c057 in GenRelocateCode (buffer=0x7ffff76929a0 , relocate_size=0x7fffffffe054, from_pc=0, to_pc=140737354100864)

at /Dobby/source/InstructionRelocation/x64/X64InstructionRelocation.cc:115

6 0x00007ffff689c446 in InterceptRouting::Prepare (this=0x60a4a0) at /Dobby/source/InterceptRouting/InterceptRouting.cpp:23

7 0x00007ffff689c707 in FunctionInlineReplaceRouting::Dispatch (this=0x60a4a0)

at /Dobby/source/InterceptRoutingPlugin/FunctionInlineReplace/function-inline-replace.cc:11