Work environment
| Questions |
Answers |
| System Capstone runs on OS/arch/bits |
all |
| Capstone module affected |
riscv |
| Source of Capstone |
git clone |
| Version/git commit |
next |
Instruction bytes giving faulty results
cstool -dr riscv32 "0x67, 0x80, 0x50, 0x00"
0 67 80 50 00 jr 5(ra)
ID: 31 (tail)
Is alias: 0 ((null)) with REAL operand set
op_count: 3
operands[0].type: REG = zero
operands[0].access: WRITE
operands[1].type: REG = ra
operands[1].access: READ
operands[2].type: IMM = 0x5
operands[2].access: READ
Groups: jump
Expected results
It should be:
is_alias: 1
id: jlar
alias_id: jr
Steps to get the wrong result
With cstool: above
Additional Logs, screenshots, source code, configuration dump, ...
Drag and drop zip archives containing the Additional info here, don't use external services or link.
Screenshots can be directly dropped here.
Work environment
git clonenextInstruction bytes giving faulty results
Expected results
It should be:
Steps to get the wrong result
With
cstool: aboveAdditional Logs, screenshots, source code, configuration dump, ...
Drag and drop zip archives containing the Additional info here, don't use external services or link.
Screenshots can be directly dropped here.