Open
Description
Work environment
Questions | Answers |
---|---|
OS/arch/bits | Ubuntu 20.04, 64 bit |
Architecture | armv8 |
Source of Capstone | git clone |
Version/git commit | v5.0.1, 097c04d |
Instruction bytes giving faulty results
0x43,0x3c,0x1c,0x0e
Expected results
It should be:
umov w3, v2.S[3]
Steps to get the wrong result
./cstool -d arm64 0x43,0x3c,0x1c,0x0e 0x1000
1000 43 3c 1c 0e mov w3, v2.s[3]
ID: 488 (mov)
op_count: 2
operands[0].type: REG = w3
operands[0].access: WRITE
operands[1].type: REG = v2
operands[1].access: WRITE
Vector Arrangement Specifier: 0xb
Vector Index: 3
Registers modified: w3 v2
Groups: neon
Additional Logs, screenshots, source code, configuration dump, ...
According to official arm doc it's really alias on UMOV instruction, that's why ID: 488 (mov) is incorrect and leads to errors while using capstone as a library
Activity