Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings. (bloaty 依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
484 B

Version 2.0 has a known X86 issue: if you disassemble a buffer of instructions
that having the first byte as a prefix (LOCK, REP, REPNE), and you only
get 1 instruction (passing 1 as value for the 'count' argument), then only
the prefix will be returned as instruction.
An work-around is to disassemble the whole buffer & get out the first
instruction, then this instruction would properly include both prefix and
the next instruction.
This issue will be fixed in the next version.