Skip to content

cann't correctly disassembly PPC instruction '\x41\x81\x00\x00' #1117

Closed
@gh0stZerO

Description

@gh0stZerO

`python
from capstone import *
from capstone.ppc import *

base_addr = 0x8000f000
code = b'\x41\x81\x00\x00'
md = Cs(CS_ARCH_PPC, CS_MODE_BIG_ENDIAN)
for j in md.disasm(code, base_addr):
print j.op_str
`

then you will find the
j.op_str =='' is True
code = b'\x41\x82\x00\x00'
code = b'\x40\x82\x00\x00'
code = b'\x41\x80\x00\x00'
code = b'\x40\x80\x00\x00'

Metadata

Metadata

Assignees

No one assigned

    Labels

    PowerPCArchbugSomething is not working as it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions