Commit Graph

52 Commits

Author SHA1 Message Date
naq
46c6aab052 x86: printf64m should print qword ptr by default. TODO: fix related cases in tablegen instead 2019-06-09 01:58:03 +08:00
eb25f46d6a x86: recognize xrelease lock 2019-05-14 09:59:23 +08:00
d5dd80e979 x86: recognize xacquire prefix. issue #1477 2019-05-13 22:27:05 +08:00
124f91b303 arm: sync with llvm 7.0.1 2019-03-16 15:22:15 +08:00
5a99624074 sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
4ae8645b43 Add webassembly arch (#1359)
* add wasm arch

* fix bug

* delete todo & add wasm into readme
2019-02-01 23:03:47 +08:00
c09f7f7133 remove unused MCOperand_Init() 2019-01-22 08:43:02 +08:00
850ebc2a32 Fix missing-prototypes warnings (#1348) 2019-01-22 08:43:02 +08:00
afffa5d741 merge next to master 2018-07-20 12:36:50 +08:00
ed1246d79b add Ethereum VM architecture 2018-03-31 17:29:22 +08:00
64328e3f56 x86: add UD0 instruction 2017-05-07 11:17:23 +08:00
dabc9f2990 x86: properly handle SSE/AVX instructions 2016-07-15 20:37:19 +08:00
e51eeaef39 skip stdint.h for windows driver configuration 2016-04-23 15:58:31 -07:00
b914a1be3f Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).
Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).

Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).

Replaced header inclusions of "stdint.h" and "intrin.h" by selective inclusions to support platforms that do not provide those headers. The header "platform.h" handles the platform test.
Updated the build script for Windows CE 7 on ARMv7.
2016-04-07 17:05:00 +02:00
88e8da65bd Remove duplicate function declaration.
Signed-off-by: Tyler J. Stachecki <tstache1@binghamton.edu>
2015-10-23 20:55:56 -04:00
29f777bdd9 arm: support cs_regs_access() API 2015-04-07 11:59:26 +08:00
bfcaba5851 2015 2015-03-04 17:45:23 +08:00
9c10ace558 Make pkg-config and source consistent with installation 2015-02-24 05:03:04 +01:00
e19490e8f7 arm: some load/store instructions writeback without bang letter. bug reported by @jabba2989 2015-01-21 20:03:21 +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
f1ec52628e x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions 2014-06-25 22:03:18 +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
b287301ef4 bump number of operands supported by MCInst to 48. this fixes a segfault in ARM 2014-06-17 17:19:11 +08:00
495295ecd4 MCInst_Init() is arch-independent 2014-06-16 15:54:32 +08:00
370b7d7d4e remove unused MCInst/MCOperand functions 2014-06-16 14:57:07 +08:00
264ca37ad8 MCInst_addOperand2() does not need to return value 2014-06-16 14:52:09 +08:00
215e76b223 ppc: use MCInst_insert0() instead of MCInst_insert() to avoid malloc/free 2014-06-16 14:47:43 +08:00
0f648ea3e8 arm: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free to improve performance 2014-06-10 01:01:23 +07:00
29fd0f6405 fix all the code in other non-X86 archs after the change made by commit 5329a6ffd4 2014-06-09 08:00:18 +07:00
5329a6ffd4 directly update cs_insn from MCInst interface to avoid multiple memcpy() 2014-06-08 23:35:52 +07:00
30c065998b optimize memset() of MCInst_Init() 2014-06-07 13:30:59 +08:00
99e69e1868 remove a redundant call to memset() in cs_disasm_ex() 2014-06-06 16:49:23 +08:00
cf0813809a x86: more simplification on managing MCOperand. this also fixes a bug in handling memory reference instructions 2014-06-06 00:56:46 +08:00
937e48314c x86: avoid malloc/free MCOperand with new API of MCInst: MCInst_addOperand0, MCInst_CreateReg0, MCInst_CreateImm0 2014-06-04 22:51:51 +07:00
46b6693d36 x86: save prefixes to avoid expensive copying loop. based on idea of Dang Hoang Vu 2014-06-04 19:04:46 +08:00
c80d840ffc add XCore architecture 2014-05-26 23:02:48 +08:00
c5cad6cab3 avoid using stdbool.h to support compilers without C99 support 2014-05-15 21:40:24 +08:00
45c77aeadd x86: handle tricky instructions related to MULPD at http://habrahabr.ru/company/intel/blog/200658/ 2014-05-07 11:39:41 +08:00
a5ffdc3a80 x86: properly handle LOCK/REP in the core, so remove buch of hacks 2014-05-07 08:25:24 +08:00
6023ef7843 Disassembler -> Disassembly 2014-04-29 11:21:04 +08:00
e51cf36636 x86: do not print negative immediate. request of Le Dinh Long 2014-03-27 12:36:46 +08:00
48a14ca4ce add SystemZ arch 2014-03-23 08:35:45 +08:00
05e27138ae core: add Sparc arch 2014-03-10 11:58:57 +08:00
13f40d26a2 x86: upgrade core 2014-02-07 22:06:33 +08:00
0636f68331 increase size of @op_str to 160 to contain long operand string of some Neon Arm instructions 2014-01-15 17:51:08 +08:00
3d56b823ed extend @op_str of cs_insn_flat following the core change 2014-01-14 07:22:06 +08:00
ae3649ff71 rename some C header guards to be without _ as prefix to follow naming convention of C language. suggested by Markus Elfring 2014-01-02 13:15:07 +08:00
42c6b1acc7 initial support for PPC 2013-12-30 00:15:25 +08:00
4fe224b1ed change API cs_disasm_dyn(): break cs_insn into 2 structures, and put all details into new structure cs_detail. this break API compatibility 2013-12-24 16:49:36 +08:00
a209e67f8a support to turn on/off building instruction details 2013-12-14 00:23:41 +08:00