Commit Graph

4281 Commits

Author SHA1 Message Date
Catena cyber
028054c569 Right endianness for ppc platforms (#1473)
* Right endianness for ppc platforms

* Right mode CS_MODE_64 for ppc
2019-05-07 15:12:23 +07:00
Nguyen Anh Quynh
0ebcc815cf ppc: fix target address of B. issue #1468 2019-05-07 16:08:45 +08:00
Nguyen Anh Quynh
2888e50d45 add suite/synctools 2019-05-07 12:26:19 +08:00
Nguyen Anh Quynh
93a021364a remove deprecated API cs_disasm_ex() 2019-05-06 18:05:30 +08:00
Nguyen Anh Quynh
89251f3c61 x86: LOCK prefix for 16bit case of ADC/ADD/AND/OR/XOR/SUB in issue #1472 2019-05-06 17:39:44 +08:00
Nguyen Anh Quynh
d0f65d9756 x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
Nguyen Anh Quynh
f2f3829f27 x86: handle MOV CRx/DRx & LOCK prefix in issues #1456 & #1472 2019-05-06 16:18:45 +08:00
Nguyen Anh Quynh
055b02dbd9 x86: lock adc is valid. issue #1472 2019-05-06 12:44:09 +08:00
Nguyen Anh Quynh
8a32a553f0 ppc: fix mapping of CRXOR. issue #1469 2019-04-30 17:13:54 +08:00
Nguyen Anh Quynh
9ad613a2af ppc: add some new .inc files 2019-04-30 13:52:23 +08:00
Nguyen Anh Quynh
b543c345ca ppc: sync with llvm 7.0.1 2019-04-30 13:50:42 +08:00
Nguyen Anh Quynh
4de60dae46 fix cmake.sh 2019-04-29 21:17:34 +08:00
JornVernee
dcd5d7b78e Add cmake option to tell whether architectures should be included by default (#1463) (#1466) 2019-04-29 19:20:01 +07:00
Nguyen Anh Quynh
e142a11566 cleanup tests/test_m680x.c 2019-04-29 18:04:15 +08:00
Catena cyber
dc082bc374 Aarch64 set operand in printSVERegOp (#1462) 2019-04-28 22:22:46 +07:00
Nguyen Anh Quynh
3613aa37d9 MC: fix intel-syntax-encoding.s.cs 2019-04-17 23:01:07 +08:00
Nguyen Anh Quynh
59c9de846d MC: fix intel-syntax-encoding.s.cs 2019-04-17 22:52:02 +08:00
Nguyen Anh Quynh
663e5fcee9 x86: fix xmmword ptr issue in #1456 (TODO: better fix) 2019-04-17 20:39:21 +08:00
Nguyen Anh Quynh
0b6e474a79 cstest: Thub mode for pkhtb test 2019-04-17 01:51:17 +08:00
Nguyen Anh Quynh
a259e427c3 cstest: fix wfi.ww, wfe.ww, yield.ww & nop.ww in basic-thumb2-instructions.s.cs 2019-04-17 01:14:00 +08:00
Nguyen Anh Quynh
788f3e5dc5 arm: fix printPKHASRShiftImm() - issue #1456 2019-04-17 00:48:12 +08:00
Nguyen Anh Quynh
79e30283ef arm: fix printAliasInstr() for wfe.w - issue #1456 2019-04-17 00:34:45 +08:00
Nguyen Anh Quynh
aea9c3ea89 MC: remove EIZ in x86-32-avx.s.cs 2019-04-17 00:00:42 +08:00
Nguyen Anh Quynh
f9f22b2925 x86: improve EIZ check 2019-04-16 23:55:18 +08:00
Nguyen Anh Quynh
6202c7e13c cstest: add EIZ test in #1456 2019-04-16 23:39:52 +08:00
Nguyen Anh Quynh
3acc6e9275 x86: do not print EIZ register - issue #1456 2019-04-16 23:36:40 +08:00
Nguyen Anh Quynh
e8ec9863d2 arm64: fix imm value of MOV - issue #1456 2019-04-16 20:28:53 +08:00
Nguyen Anh Quynh
0a2fd07f67 arm64: fix more mapping instructions in AArch64MappingInsn.inc 2019-04-16 13:12:00 +08:00
Nguyen Anh Quynh
d6cbfa6f34 arm64: fix more mapping instructions in AArch64MappingInsn.inc 2019-04-16 13:04:20 +08:00
Nguyen Anh Quynh
67cc59c8d1 arm64: fix more mapping instructions in AArch64MappingInsn.inc 2019-04-16 13:01:59 +08:00
Nguyen Anh Quynh
f2787286e2 arm64: fix more instruction ID for ORR, BFI & BFXIL - issue #1456 2019-04-16 09:59:26 +08:00
Nguyen Anh Quynh
55b149f60a arm: alias LDR [sp], 4 to POP 2019-04-16 00:01:54 +08:00
Nguyen Anh Quynh
f099e00832 ppc: fix mapping of PPC_BCTRL8_LDinto_toc to PPC_INS_BCTRL 2019-04-15 20:45:04 +08:00
Nguyen Anh Quynh
59324a71ea arm64: fix some wrong mapping instruction ID - issue #1456 2019-04-15 20:44:37 +08:00
Nguyen Anh Quynh
88d5c390eb arm: fix the missing third operand of LSR - issue #1456 2019-04-15 07:47:04 +08:00
Nguyen Anh Quynh
af867a3fe1 arm: fix wrong order of operand with shift - issue #1456 2019-04-15 00:04:40 +08:00
Nguyen Anh Quynh
118c2828f8 fuzz: update CMakeLists.txt after the last refactor 2019-04-13 15:27:54 +08:00
Nguyen Anh Quynh
d7a74bbbeb fuzz: refactor platforms.inc to platform.c 2019-04-13 15:22:20 +08:00
Nguyen Anh Quynh
d95736bc9d fuzz: add fuzz_decode_platform.c 2019-04-13 11:11:58 +08:00
Nguyen Anh Quynh
c2261ee7fd fuzz: add platform.h 2019-04-13 10:54:09 +08:00
Nguyen Anh Quynh
2b24d9a8ea fuzz: put platforms[] in fuzz_disasm.c to platforms.inc, to be shared later 2019-04-13 10:51:17 +08:00
Nguyen Anh Quynh
dde6867f06 arm64: fix lookupExactFPImmByEnum() leading to a crash (reported by OSS Fuzz) 2019-04-13 00:22:22 +08:00
Nguyen Anh Quynh
f18c6a5bf8 arm64: more fix for imm of MOV instruction. issue #1456 2019-04-12 23:49:42 +08:00
Nguyen Anh Quynh
8cbf967f67 arm64: fix imm of MOV instruction. issue 1456 2019-04-12 23:33:49 +08:00
Nguyen Anh Quynh
99d00fee14 x86: fix ATT syntax print immediate < 9 for MOV - issue #1456 2019-04-12 23:15:20 +08:00
Nguyen Anh Quynh
24757b379a Merge branch 'next' of github.com:aquynh/capstone into next 2019-04-12 13:15:56 +08:00
Nguyen Anh Quynh
c976250b9b arm64: fix some ID mapping 2019-04-12 13:15:09 +08:00
radare
9fe37bba5c Add missing comma (#1458) 2019-04-12 01:15:11 +08:00
Nguyen Anh Quynh
1eda32dbaa cstest: add RCR issue to issues.cs 2019-04-12 00:41:43 +08:00
Nguyen Anh Quynh
38d181d148 x86: quick fix for RCRm1 instruction - issue #1456 2019-04-12 00:38:23 +08:00