Work environment
| Questions |
Answers |
| System Capstone runs on OS/arch/bits |
any |
| Capstone module affected |
risc-v |
| Source of Capstone |
git clone |
| Version/git commit |
6.0.0-Alpha8 |
Steps to get the wrong result
With cstool:
cstool -d riscv64 d7600542
0 d7 60 05 42 vmv.s.x v1, a0
ID: 1382 (vmv_s_x)
op_count: 2
operands[0].type: REG = v1
operands[0].access: READ
operands[1].type: REG = a0
operands[1].access: READ
Groups: HasVInstructions
Should classify v1 as WRITE
Work environment
git cloneSteps to get the wrong result
With
cstool:cstool -d riscv64 d7600542 0 d7 60 05 42 vmv.s.x v1, a0 ID: 1382 (vmv_s_x) op_count: 2 operands[0].type: REG = v1 operands[0].access: READ operands[1].type: REG = a0 operands[1].access: READ Groups: HasVInstructionsShould classify v1 as WRITE