|
From: Kristis M. <kri...@as...> - 2006-03-29 22:17:09
|
libdisasm2 incorrectly inteprets junk bytes as a jump. For example: # quickdis append_linux_2_6_semaphore_trampoline.bin QUICKDIS Disassembly of .text: Intel syntax 0: 8d 42 6c lea eax, [edx+108] 3: e8 c1 d4 0f 00 call 0x000FD4C9 8: e9 1d jmp 0x0000000A While objdump thinks that this is really a: # objdump -D -b binary -m i386 append_linux_2_6_semaphore_trampoline.bin append_linux_2_6_semaphore_trampoline.bin: file format binary objdump: append_linux_2_6_semaphore_trampoline.bin: no symbols Disassembly of section .data: 00000000 <.data>: 0: 8d 42 6c lea 0x6c(%edx),%eax 3: e8 c1 d4 0f 00 call 0xfd4c9 8: e9 .byte 0xe9 9: 1d .byte 0x1d I haven't looked in detail in the internals of libdisasm2 to debug this. What is the state of libdisasm2 ? Will it continue being maintained ? |