-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
For ARM_OP_REG we call cs_reg_name, but for ARM_OP_SYSREG we can't.
https://github.com/aquynh/capstone/blob/8984920722733400e93f695a0c37a80158341103/cstool/cstool_arm.c#L29-L30
https://github.com/aquynh/capstone/blob/8984920722733400e93f695a0c37a80158341103/cstool/cstool_arm.c#L68-L69
$ ./cstool -d cortexm 80f30988
0 80 f3 09 88 msr psp, r0
ID: 90 (msr)
op_count: 2
operands[0].type: SYSREG = 276
operands[1].type: REG = r0
operands[1].access: READ
Registers read: r0
Groups: thumb mclass
Metadata
Metadata
Assignees
Labels
No labels