keystone-engine / keystone

Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
http://www.keystone-engine.org
GNU General Public License v2.0
2.29k stars 456 forks source link

arm swbkpt instruction missing #265

Open shakamd opened 7 years ago

shakamd commented 7 years ago

I was performing some identity tests. It seems the 'SWBKPT' instruction is missing (from IDA disassembly).

cstool arm "\x10\x00\x00\xe6"
ERROR: invalid assembly code

Is it possible to add this to capstone (and to keystone for assembly)?

aquynh commented 7 years ago

Yes, that is possible

shakamd commented 7 years ago

Great, some direction would be nice. Would this change have to be done in the llvm-mc?

aquynh commented 7 years ago

ideally this should be added into TD files, then we compile to get .INC files for Capstone & Keystone.