Skip to content

Whether the [ldab] instruction supports #1724

Closed
@crazy-copy

Description

@crazy-copy
<CsInsn 0x40000000 [70b5]: push {r4, r5, r6, lr}>
<CsInsn 0x40000002 [0546]: mov r5, r0>
<CsInsn 0x40000004 [2148]: ldr r0, [pc, #0x84]>
<CsInsn 0x40000006 [0c46]: mov r4, r1>
<CsInsn 0x40000008 [7844]: add r0, pc>
<CsInsn 0x4000000a [d0e88f0f]: ldab r0, [r0]>
Traceback (most recent call last):
  File "C:\Users\crazystone\PycharmProjects\pythonProject\main.py", line 34, in <module>
    uc.emu_start(0x40000000 | 1, 0x40000000 + len(code) - 1)
  File "C:\Users\crazystone\PycharmProjects\pythonProject\venv\lib\site-packages\unicorn\unicorn.py", line 548, in emu_start
    raise UcError(status)
unicorn.unicorn.UcError: Invalid instruction (UC_ERR_INSN_INVALID)

Process finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions