Comments (3)
This is an LLVM bug as it turns out:
echo "0x24,0xca,0x8c,0xe2,0x00,0xc6,0x8f,0xe2" | llvm-mc-19 --triple=arm --disassemble .text add r12, r12, #36, #20 add r12, pc, #0, #12
Same for
llvm-mc-18
. Could you please open an issue with LLVM?
I post on llvm/llvm-project#93930
from capstone.
Another case:
0xe28cca24
Should be:
ADD, ADDS (immediate) - A1
But result with cstool:
0 e2 8c ca 24 add r12, r12, #36, #20
ID: 31 (add)
op_count: 4
operands[0].type: REG = r12
operands[0].access: WRITE
operands[1].type: REG = r12
operands[1].access: READ
operands[2].type: IMM = 0x24
operands[2].access: READ
operands[3].type: IMM = 0x14
operands[3].access: READ
Registers read: r12
Registers modified: r12
Groups: IsARM
Got an unexpected imm op[3]
, which seems not be expanded (rotr op[2]
by op[3]
).
from capstone.
This is an LLVM bug as it turns out:
echo "0x24,0xca,0x8c,0xe2,0x00,0xc6,0x8f,0xe2" | llvm-mc-19 --triple=arm --disassemble
.text
add r12, r12, #36, #20
add r12, pc, #0, #12
Same for llvm-mc-18
. Could you please open an issue with LLVM?
from capstone.
Related Issues (20)
- Ability to Generate Bitmasks for Specific Instruction Components? HOT 3
- x64 disassembler big endian bug
- Compiler warnings in the next branch HOT 2
- python bindings depends on setuptools HOT 3
- Remove python2 leftovers
- [AArch64] Instr. with groups `HasNEON`, don't have `HasNEONorSME` and similar assigned. HOT 25
- Release v4.0.3
- Wrong operand type for RISCV compressed instruction disassemble
- [5.0.1] Warning in Mapping.c module
- [Auto-Sync] Add `PatchFiles` and `WriteFiles` steps to `ASUpdater`
- [Auto-Sync] Smarter MC test generator
- Add documentation about LLVM imported `FEATURE` groups.
- ARM64_REG_Vx vs. ARM64_REG_Qx HOT 1
- Capstone v5 compile issues HOT 1
- Capstone Next Bug in code. modRMRequired has an invalid index read
- register accesses for Implicit operands
- Add "DIET" CI job
- Incorrect aarch64 umov decoding HOT 3
- HPPA, ARM disassemblers "error: comparison of unsigned expression in ‘< 0’ is always false [-Werror=type-limits]"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capstone.