Commit Graph

87 Commits

Author SHA1 Message Date
3b461fb4dd x86: fix issue #717 2016-06-26 01:03:26 +08:00
8d377f3b7b address warnings with capstone_static_winkernel 2016-05-04 05:54:28 -07:00
3f461adae3 remove myinttypes.h 2016-04-26 09:47:30 +08:00
609e342fef x86: another attempt to fix #456 2015-08-19 09:34:56 +08:00
0dde6707b9 x86: another attempt for #456 2015-08-16 18:43:49 +08:00
4243d21a68 x86: fix issue #456 reported by Ruslan Kabatsayev 2015-08-15 14:46:51 +08:00
9899510e01 x86: fix target addresses of CALL/JMP rel16. bug reported by Ruslan Kabatsayev 2015-08-15 13:25:13 +08:00
c0bf5feac9 x86: fix selector part of farjmp/farcall instructions. bug reported by Ruslan Kabatsayev 2015-08-13 23:38:01 +08:00
1757603fb1 x86: truncat immediate for non-64bit. this fixes the disassembly of the code e9e9eeeeee in 32bit mode 2015-07-11 10:01:24 +08:00
459556c769 x86: fix immediate operand of AND/OR/XOR instructions. bug reported by @yegord 2015-06-20 10:56:54 +08:00
743832a80f x86: some algorithm instructions with immediate of 1 byte should be printed in positive form 2015-06-06 00:04:03 +08:00
c52d8cd7d3 x86: make all shifted instructions to support first operand in AT&T syntax 2015-05-08 14:23:08 +08:00
cf6201419a Add support to embed Capstone into OS X kernel extensions. 2015-04-10 23:28:12 +08:00
9d60607645 inttypes.h fix 2015-03-29 18:29:06 +08:00
e10b53f110 x86: fix operand size for 'CALL PTR [REG]'. bug reported by Gabriel Quadros 2015-02-10 18:46:25 +08:00
9f694cc934 x86: handle undocumented immediates for (v)cmpps/pd/ss/sd instructions 2014-12-26 17:54:11 +08:00
d319c114db x86: more encodings for FXCH & FCOMP. also print LJUMP without * as prefix for Intel syntax. handle BOUND & FARCALL better 2014-12-26 16:49:10 +08:00
03fb6f357d x86: MOV32sm should reference word rather than dword. bug reported by Andrew Wesie 2014-12-12 11:51:35 +08:00
9578185ad8 x86: add missing operands in detail mode for 'IN/OUT reg, reg' instructions. bug reported by Andrew Wesie 2014-12-12 11:25:12 +08:00
5b981a4399 x86: also fix AT&T syntax for the last MOV32ms bug 2014-12-04 23:19:04 +07:00
9cc87876ea x86: RET imm16 comes with positive number 2014-11-04 11:04:16 +08:00
ff7bba3d6d x86: print out immediate as positive number for logic arithmetic operations: AND, OR, XOR. only works for x86 Intel syntax so far. issue reported by Pancake 2014-11-03 16:32:06 +08:00
b87f855281 x86: print negative number in memory reference address (more friendly). issue reported by @pancake 2014-11-02 23:38:35 +08:00
a90b047d9f x86: simplify printPCRelImm() in calculating absolute address. also fix the issue on AT&T syntax 2014-10-02 12:04:35 +08:00
ea3c089591 some simple optimizations for speed. this improves performance about 5% 2014-10-02 10:17:55 +08:00
a4da8951e7 x86: relative CALL should print out absolute addresses. bug reported by @acez 2014-09-23 15:24:19 +08:00
ced9d24e35 Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
1f196d12ea x86: CALLpcrel32 should be outputed as 'callq' in 64bit mode in AT&T syntax. ported from upstream 2014-09-10 00:00:55 +08:00
0efef5dd48 solve some conflicts when merging -next into -v3 2014-08-25 17:01:45 +08:00
86e845056d renamed CAPSTONE_NO_ATT to CAPSTONE_X86_ATT_DISABLE, added options to makefile, cmake, compile.txt 2014-08-17 20:59:05 +02:00
4f412c4483 Selectively disable AT&T syntax in non-diet mode to reduce library size 2014-08-17 19:38:20 +02:00
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
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
f1ec52628e x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions 2014-06-25 22:03:18 +08:00
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
1e688d4ff9 x86: do not use markup in AT&T syntax 2014-06-18 14:28:55 +08:00
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
5329a6ffd4 directly update cs_insn from MCInst interface to avoid multiple memcpy() 2014-06-08 23:35:52 +07:00
a62b9a07e4 x86: use SStream_concat0() where possible to improve performance - for AT&T and X86_REDUCE 2014-06-04 22:25:48 +07:00
0577bb728c x86: ATT syntax does not print word size pointer like Intel syntax 2014-06-03 13:50:35 +07:00
f7850266d5 x86: enable AT&T code only when DIET mode is off 2014-05-14 22:03:06 +08:00
0ffd811d67 merge next branch 2014-05-14 14:33:03 +08:00
8598a219f3 enable arch code from source with CAPSTONE_HAS_* for MSVC to pick up 2014-05-14 11:26:41 +08:00
bb0744df5d do not initialize some local vars unnecessarily. this problem was introduced when we fixed C89 issues for MSVC 2014-05-12 13:41:49 +08:00
2d34251889 x86: handle 16bit segment bound for JMP. bug reported by Pancake & Anton Kochkov 2014-05-11 15:33:11 +08:00
42706a39e2 indentation with tab 2014-05-09 07:33:35 +08:00
779d4c75d9 first changes to get a successfully compiled version of capstone on VS2012 2014-05-08 23:44:49 +01:00
e93179b851 x86: BOUND instruction uses dword & qword for boundary array, but not memory reference 2014-04-25 11:18:40 +08:00
81a6df4d00 x86: temporarily revert a part of commit 2be9b8791a due to some broken output 2014-04-01 07:24:33 +08:00
6d3d8005aa x86: do not print memory offset in negative form. bug reported by Le Dinh Long 2014-03-29 17:26:51 +08:00