How to add support to armv8m?
I'd like to add armv8m (main line) instruction set and use capstone. How can I do that?
See https://github.com/aquynh/capstone/issues/1319 Basically, you need to synchronize with the latest LLVM code (TableGen definitions).
See also https://github.com/aquynh/capstone/issues/1712, https://github.com/aquynh/capstone/issues/1650, and https://github.com/aquynh/capstone/issues/1697
I'm not an expert on LLVM. Can you guide me on where the TableGen definitions are in both projects?
Hi,
Were you able to move forward with this? I'm interested in this architecture as well.
No, I was not. Unfortunately, I have no time to acquire the knowledge to do it by myself. Any idea from your side?
No, unfortunately, this is all new to me. Currently, I don't have enough time to do it by myself.
is there any update on this?
Capstone v4.0.2 doesn't decode vldr (amongst others) correctly. It just results in ldc instructions (which are related). Is this likely to fixed by syncing to the latest LLVM TableGen definitions as suggested above?
Latest (well, pretty recent) llvm-objdump does correctly disassemble the instructions in question.
Will be done with https://github.com/capstone-engine/capstone/pull/1949