Spike
55f242d498
Add webassembly arch ( #1359 )
...
* add wasm arch
* fix bug
* delete todo & add wasm into readme
2019-02-01 23:03:47 +08:00
Nguyen Anh Quynh
31552062ed
remove unused MCOperand_Init()
2019-01-22 08:43:02 +08:00
Marius Melzer
7d20c40060
Fix missing-prototypes warnings ( #1348 )
2019-01-22 08:43:02 +08:00
Nguyen Anh Quynh
76c1c3c4e9
merge next to master
2018-07-20 12:36:50 +08:00
Nguyen Anh Quynh
9c7a094b58
add Ethereum VM architecture
2018-03-31 17:29:22 +08:00
Nguyen Anh Quynh
fcaf7d9a6f
x86: add UD0 instruction
2017-05-07 11:17:23 +08:00
Nguyen Anh Quynh
fae35cedac
x86: properly handle SSE/AVX instructions
2016-07-15 20:37:19 +08:00
tandasat
152c1baf9f
skip stdint.h for windows driver configuration
2016-04-23 15:58:31 -07:00
Koutheir Attouchi
9f2070748c
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
Tyler J. Stachecki
d096274830
Remove duplicate function declaration.
...
Signed-off-by: Tyler J. Stachecki <tstache1@binghamton.edu>
2015-10-23 20:55:56 -04:00
Nguyen Anh Quynh
29f777bdd9
arm: support cs_regs_access() API
2015-04-07 11:59:26 +08:00
Nguyen Anh Quynh
bfcaba5851
2015
2015-03-04 17:45:23 +08:00
pancake
9c10ace558
Make pkg-config and source consistent with installation
2015-02-24 05:03:04 +01:00
Nguyen Anh Quynh
e19490e8f7
arm: some load/store instructions writeback without bang letter. bug reported by @jabba2989
2015-01-21 20:03:21 +08:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
f1ec52628e
x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions
2014-06-25 22:03:18 +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
Nguyen Anh Quynh
b287301ef4
bump number of operands supported by MCInst to 48. this fixes a segfault in ARM
2014-06-17 17:19:11 +08:00
Nguyen Anh Quynh
495295ecd4
MCInst_Init() is arch-independent
2014-06-16 15:54:32 +08:00
Nguyen Anh Quynh
370b7d7d4e
remove unused MCInst/MCOperand functions
2014-06-16 14:57:07 +08:00
Nguyen Anh Quynh
264ca37ad8
MCInst_addOperand2() does not need to return value
2014-06-16 14:52:09 +08:00
Nguyen Anh Quynh
215e76b223
ppc: use MCInst_insert0() instead of MCInst_insert() to avoid malloc/free
2014-06-16 14:47:43 +08:00
Nguyen Anh Quynh
0f648ea3e8
arm: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free to improve performance
2014-06-10 01:01:23 +07:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
5329a6ffd4
directly update cs_insn from MCInst interface to avoid multiple memcpy()
2014-06-08 23:35:52 +07:00
Nguyen Anh Quynh
30c065998b
optimize memset() of MCInst_Init()
2014-06-07 13:30:59 +08:00
Nguyen Anh Quynh
99e69e1868
remove a redundant call to memset() in cs_disasm_ex()
2014-06-06 16:49:23 +08:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
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
Nguyen Anh Quynh
46b6693d36
x86: save prefixes to avoid expensive copying loop. based on idea of Dang Hoang Vu
2014-06-04 19:04:46 +08:00
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
2014-05-26 23:02:48 +08:00
Nguyen Anh Quynh
c5cad6cab3
avoid using stdbool.h to support compilers without C99 support
2014-05-15 21:40:24 +08:00
Nguyen Anh Quynh
45c77aeadd
x86: handle tricky instructions related to MULPD at http://habrahabr.ru/company/intel/blog/200658/
2014-05-07 11:39:41 +08:00
Nguyen Anh Quynh
a5ffdc3a80
x86: properly handle LOCK/REP in the core, so remove buch of hacks
2014-05-07 08:25:24 +08:00
Nguyen Anh Quynh
6023ef7843
Disassembler -> Disassembly
2014-04-29 11:21:04 +08:00
Nguyen Anh Quynh
e51cf36636
x86: do not print negative immediate. request of Le Dinh Long
2014-03-27 12:36:46 +08:00
Nguyen Anh Quynh
48a14ca4ce
add SystemZ arch
2014-03-23 08:35:45 +08:00
Nguyen Anh Quynh
05e27138ae
core: add Sparc arch
2014-03-10 11:58:57 +08:00
Nguyen Anh Quynh
13f40d26a2
x86: upgrade core
2014-02-07 22:06:33 +08:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
3d56b823ed
extend @op_str of cs_insn_flat following the core change
2014-01-14 07:22:06 +08:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
42c6b1acc7
initial support for PPC
2013-12-30 00:15:25 +08:00
Nguyen Anh Quynh
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
Nguyen Anh Quynh
a209e67f8a
support to turn on/off building instruction details
2013-12-14 00:23:41 +08:00
Nguyen Anh Quynh
6b7abe3c81
arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis
2013-11-30 00:54:24 +08:00
Nguyen Anh Quynh
26ee41aa67
initial import
2013-11-27 12:11:31 +08:00