Nguyen Anh Quynh
3ab509192a
use common instruction groups across all architectures. this adds cs_group_type to capstone.h. suggestion by @zneak
2014-10-31 14:40:45 +08:00
Nguyen Anh Quynh
c58e704517
do not need to explicitly assign values for operand types in the last commit
2014-10-31 13:55:18 +08:00
Nguyen Anh Quynh
21ac056728
use common operand types across all architectures. this adds cs_op_type to capstone.h. suggestion by @zneak
2014-10-31 13:08:28 +08:00
Nguyen Anh Quynh
de65619fa8
x86: add prefix constants X86_PREFIX_*. suggested by Pancake
2014-10-18 06:15:49 +08:00
Nguyen Anh Quynh
85cfb1839c
x86: get rid of redundant X86_INS_LOCK/REP/RENE. issue reported by Pancake
2014-10-18 05:53:32 +08:00
Nguyen Anh Quynh
d7e42b7d36
rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly
2014-09-29 17:15:25 +08:00
Nguyen Anh Quynh
934e180e54
x86: more update to the core
2014-08-27 21:59:25 +08:00
Nguyen Anh Quynh
46a74e53b7
arm64: update core. this added a lot more details to cs_arm64_op struct
2014-08-25 16:47:12 +08:00
Nguyen Anh Quynh
0b690387b3
x86: update core with upstream. this added bunch of new instructions & groups. also updated Python & Java bindings after the core change
2014-08-13 13:01:50 +08:00
Nguyen Anh Quynh
e105594d7b
x86: update comments for prefix[] & opcode[] fields of cs_x86
2014-07-04 11:04:46 +08:00
Nguyen Anh Quynh
9f6ed7155a
x86: add @rex to cs_x86 struct. updated python & java binding for this change
2014-07-01 10:13:28 +08:00
Nguyen Anh Quynh
1a66fecdbc
x86: support avx_sae & avx_rm in cs_x86 struct. this also updates Python & Java bindings following the core's change
2014-06-26 12:09:15 +08:00
Nguyen Anh Quynh
12e6e31389
x86: rename zero_opmask of cs_x86_op to avx_zero_opmask
2014-06-26 11:27:24 +08:00
Nguyen Anh Quynh
2b338ce65a
x86: update some comments on x86.h
2014-06-26 10:58:17 +08:00
Nguyen Anh Quynh
92a3d4c079
x86: add AVX's zero_opmask to cs_x86_op struct. updated Python & Java bindings for this change
2014-06-25 23:10:39 +08:00
Nguyen Anh Quynh
4c5eabc32b
x86: support SSE_CC & AVX_CC in cs_x86 struct. this also updates Python & Java bindings
2014-06-24 23:50:41 +08:00
Nguyen Anh Quynh
0d716450fc
x86: add avx_bcast to cs_x86_op to support AVX512 instructions. this also updates Python & Java binding
2014-06-24 22:51:56 +08:00
Nguyen Anh Quynh
bb6440c5ef
x86: extend cs_x86.opcode to 4 bytes to contain EVEX opcode. this also updates Python binding following this interface change
2014-06-24 21:46:54 +08:00
Nguyen Anh Quynh
d29aa6235a
x86: correct comments on x86_op_mem.scale
2014-06-24 14:52:16 +08:00
Nguyen Anh Quynh
14ba46bfab
x86: add segment to x86_op_mem struct. this fixes a bug in generating detail for instructions with segment override. bug reported by Sean Heelan.
2014-06-24 14:32:01 +08:00
Nguyen Anh Quynh
fb15221666
x86: cs_x86.prefix[] should have size 4, not 5
2014-06-20 13:46:19 +08:00
Nguyen Anh Quynh
1085073f8f
x86: remove disp_size, imm_size, op_size. add size to each operand. thanks Gabriel Quadros for some nice ideas
2014-06-18 12:16:24 +08:00
Jay Oster
6f74ccc97a
Add new x86 instruction groups
...
- VM: Virtual Machine
- INT: Interrupts
- IRET: Interupt returns
- CALL: Subroutine call
- RET: Subroutine return
Includes a special case for writes to port 0xb2, which triggers an SMI
2014-06-02 22:21:41 -07:00
Nguyen Anh Quynh
7751fbe57b
header files: Disassembler -> Disassembly
2014-04-28 11:23:14 +08:00
Nguyen Anh Quynh
fa697076b1
x86: handle more tricky instructions.
...
- support undocumented instructions FSTP & FSTPNCE. see http://blogs.technet.com/b/mmpc/archive/2013/06/24/investigation-of-a-new-undocumented-instruction-trick.aspx
- TEST instructions with opcode 0xF6, 0xF7 (MRM1r)
2014-04-23 12:41:16 +08:00
Nguyen Anh Quynh
6f56ff5663
x86: handle SAL instructions. bug reported by Attila Suszter & Ange Albertini
2014-04-16 17:29:34 +08:00
Nguyen Anh Quynh
de319f8f95
cleanup x86.h & mips.h (C-IMM)
2014-03-10 11:59:46 +08:00
Nguyen Anh Quynh
143759d9ab
x86: update core
2014-02-24 23:30:45 +08:00
Enzo Matsumiya
6bc08a850a
Fix the X86_REL_ADDR macro in x86.h
2014-02-19 22:07:36 +08:00
Nguyen Anh Quynh
13f40d26a2
x86: upgrade core
2014-02-07 22:06:33 +08:00
Nguyen Anh Quynh
747c4eff69
change header guards to have CAPSTONE_ as prefix. suggested by Markus Elfring
2014-01-19 23:51:34 +08:00
Nguyen Anh Quynh
9dfdae6421
x86: add new instructions: FSETPM, SALC, GETSEC & INT1. bug reported by Pancake
2014-01-19 22:40:31 +08:00
Nguyen Anh Quynh
ee143c8c6c
fix a crashed bug in cs_close(): call destroy function before freeing handle's memory
2014-01-03 21:51:59 +08:00
Nguyen Anh Quynh
bdaf3b5089
x86: delete useless constant values assigned for instructions in x86.h
2013-12-09 00:55:49 +08:00
Nguyen Anh Quynh
a2f825ff07
support comments in autogen files, so constant files are more friendly
2013-12-04 23:56:24 +08:00
Nguyen Anh Quynh
ea5b79d058
move some alias registers around to after REG_MAX. this seems to fix some issues of clang, which struggles with enum that assign value from other enum
2013-12-04 12:10:47 +08:00
Nguyen Anh Quynh
3582bc1b9b
arm64: ARM64_GRP_JUMP is in the wrong place. move it to its place and also clarify some GRP comments
2013-12-03 09:43:27 +08:00
Nguyen Anh Quynh
ec0ed8ee94
semantics: add insn group JUMP, so now we can check if this insn is branching
2013-12-02 13:55:38 +08:00
Nguyen Anh Quynh
36d143b6d0
x86: update core engine
2013-12-01 00:05:22 +08:00
Nguyen Anh Quynh
26ee41aa67
initial import
2013-11-27 12:11:31 +08:00