2024-09-07 18:15:29 +06:00

1.4 KiB

name, about
name about
Bug report - Incorrect disassembly Create a report about incorrect disassembly.

Work environment

Questions Answers
OS/arch/bits Debian arm 64, MacOS AArch64, MacOS x86, Windows x86 etc.
Architecture ppc, x86, cortexm, armv8 etc.
Source of Capstone git clone, brew, pip, release binaries etc.
Version/git commit v5.0.1,

Instruction bytes giving faulty results

0x00,0x00,0x00,0x00

Expected results

It should be:

<this or that>

Steps to get the wrong result

With cstool:

cstool arm -d 0x00,0x00,0x00,0x00

or with Python

CODE = b'\x90\x90\x90\x90'

md = Cs(CS_ARCH_ARM, CS_MODE_THUMB)
md.detail = True
for insn in md.disasm(CODE, 0x1000):
  # Print the faulty disassembly

Additional Logs, screenshots, source code, configuration dump, ...

Drag and drop zip archives containing the Additional info here, don't use external services or link. Screenshots can be directly dropped here.