Skip to content

Feature: Implement --detailed option #24

@ChenMiaoi

Description

@ChenMiaoi

We can see the -d, --detailed option output in cstool:

$ ./third_party/capstone/cstool/cstool -d riscv32 "97 02 00 00 93 82 82 44"
 0  97 02 00 00  auipc	t0, 0
	ID: 79 (auipc)
	op_count: 2
		operands[0].type: REG = t0
		operands[0].access: WRITE
		operands[1].type: IMM = 0x0
		operands[1].access: READ


 4  93 82 82 44  addi	t0, t0, 0x448
	ID: 2 (addi)
	op_count: 3
		operands[0].type: REG = t0
		operands[0].access: WRITE
		operands[1].type: REG = t0
		operands[1].access: READ
		operands[2].type: IMM = 0x448
		operands[2].access: READ

It's different with robustone's option, so we should implement the same option for --detailed.

Metadata

Metadata

Assignees

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