Skip to content

bug/qdb-handle_bnj_arm-add-line-parsing #1042

@whoismissing

Description

@whoismissing

r0, r1, r2 = line.op_str.split(", ")

In qdb/utils.py::handle_bnj_arm(),

elif line.mnemonic == "add":
        r0, r1, r2 = line.op_str.split(", ")

the disassembly line parsing for the instruction

add pc, pc, r2, lsl #2.

fails with a too many values to unpack (expected 3) error.

To reproduce, use the opcode b'\x02\xf1\x8f\xe0' and run a single-step using do_step()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions