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
Nguyen Anh Quynh
3d50d2cffd
arm: fix opcode of ASR/LSL/LSR/ROR/RRX - issue #1456
2019-04-12 00:08:04 +08:00
Nguyen Anh Quynh
e024477065
arm: fix some wrong insn mapping - issue #1456
2019-04-11 23:56:50 +08:00
Nguyen Anh Quynh
25302d7e6e
cstool: print instruction ID & name
2019-04-11 09:07:26 +08:00
Nguyen Anh Quynh
f3d3db1e45
cstest: add issue #1454
2019-04-11 01:32:14 +08:00
Nguyen Anh Quynh
48cd47e4eb
x86: fix BOUND instruction in issue #1456
2019-04-11 01:24:43 +08:00
Nguyen Anh Quynh
d5050f76ac
arm: fix cstest
2019-04-11 00:46:12 +08:00
Nguyen Anh Quynh
a5b2d2a70a
arm: fix mapping of ARM_SUBri (issue #1456 )
2019-04-11 00:18:25 +08:00
Nguyen Anh Quynh
4754471262
merge next-arm64 to next
2019-04-10 17:46:07 +08:00
Nguyen Anh Quynh
f0a5df2504
arm64 & arm: fix some warnings
2019-04-10 17:33:41 +08:00
Nguyen Anh Quynh
e0f960e3e7
arm64: some bug fixes
2019-04-10 17:24:56 +08:00
Nguyen Anh Quynh
afeda44c90
arm64: fix crashes on some alias instructions
2019-04-10 16:07:40 +08:00
Nguyen Anh Quynh
7c07225170
arm64: cleanup
2019-04-10 14:22:23 +08:00
Nguyen Anh Quynh
f407e94249
arm64: sync with LLVM 7.0.1
2019-04-10 14:17:08 +08:00
ChrisDenton
df261a901e
Update __init__.py ( #1453 )
...
Pass bytearrays by reference instead of copying to bytes.
2019-04-03 11:41:32 +08:00
Travis Finkenauer
adff6c21e5
tms320c64x: remove extra indent ( #1426 )
2019-04-03 11:38:10 +08:00
Travis Finkenauer
e64e40ae83
Fix CS_ERR_X86_MASM doc typo ( #1455 )
2019-04-01 10:52:47 +08:00
Nguyen Anh Quynh
dea98fa870
x86: CMPXCHG read AL/AX/EAX/RAX registers (issue #1454 )
2019-03-29 23:29:35 +08:00
Nguyen Anh Quynh
69bf4dda42
Merge branch 'next' of github.com:aquynh/capstone into next
2019-03-24 12:17:20 +08:00
Nguyen Anh Quynh
586bef3168
arm64: set operand 0 in cmeq to IMM type (issue #1443 )
2019-03-24 12:17:03 +08:00
Wolfgang Schwotzer
3701ae094b
msvc: Add more test projects. ( #1446 )
...
- Add test_bpf, test_mos65xx, test_riscv
tms320c64x and test_wasm.
2019-03-24 11:37:09 +08:00
Wolfgang Schwotzer
4122b1a3c5
M680X: Remove warnings in msvc. ( #1447 )
...
- Also improved address range check.
- Added comments for maintainers.
2019-03-24 11:36:19 +08:00
Wolfgang Schwotzer
3706eb3ef4
msvc: Bugfix for compile errors. ( #1442 )
...
- Add archs BPF, EVM, M680X, RISCV and WASM to
capstone_dll, capstone_static and cstool projects.
- Add getopt.c to cstool project.
- Add X86InstPrinterCommon.c to capstone_dll
and capstone_static project.
2019-03-23 11:44:37 +08:00
Wolfgang Schwotzer
91ceae55bf
msvc: Add test projects. ( #1444 )
...
- Add test_basic, test_evm and test_m680x.
2019-03-23 11:43:25 +08:00
Wolfgang Schwotzer
23b3fba966
M680X: Use same output style as other archs ( #1439 )
...
- Lowercase hex numbers.
- Use comma + space between instruction parameters.
2019-03-22 11:07:15 +08:00
Yudi Zheng
1e0c800a0d
Add test cases related to issue #1211 . ( #1438 )
2019-03-21 22:54:11 +08:00
Nguyen Anh Quynh
223c5bce35
Merge branch 'next' of github.com:aquynh/capstone into next
2019-03-21 16:46:29 +08:00
Nguyen Anh Quynh
2d9ee88b39
arm64: delete arch/AArch64/ARMMappingInsnOp.inc
2019-03-21 16:46:07 +08:00
Wolfgang Schwotzer
8355bee630
nit: Also use lowercase 'pcr' ( #1437 )
...
- This occurs for M6809 PC relative indexed addressing.
In this case the register is referenced as pcr (and not pc).
- This is a consequence of lowercase registers introduced in
cc8da331d36ae6f6565057d467bc829bc3316317
- Example: lda $FD00,pcr (instead of lda $FD00,pcR)
2019-03-21 15:06:48 +08:00
Wolfgang Schwotzer
656790752d
Fix coverity bug #1166 ( #1436 )
...
- Avoid address increment by pass-by-pointer parameter.
- Code cleanup: single responsibility where and who
calculates the instruction byte size.
2019-03-21 10:24:24 +08:00
z
0664b4b774
add riscv cmake support & using static array contain temp string for riscv ( #1435 )
...
* add TableGen patch whcih fix riscv asmwrter.inc memory leak
* add riscv for cmake suporrt and change asmwriter using static array container
* add missing .inc files for riscv cmake support
2019-03-20 23:19:26 +08:00
z
4a6b4ba66f
add TableGen patch whcih fix riscv asmwrter.inc memory leak ( #1434 )
2019-03-20 13:28:41 +08:00
Wolfgang Schwotzer
77600b956c
Fix #1412 : test_m680x crashes on Windows ( #1432 )
...
- Bug exists since adding M680X
- To save binary memory space the instruction decoding tables
are realized as struct bit-fields.
On MSVC when using enum values as a bit-field in a struct they are
interpreted as signed values => out-of-bounds array access.
- On gcc they are interpreted as unsigned values => no error.
- Fix: in the struct bit-field only use signed int and bool.
This conforms to C99.
2019-03-20 09:51:19 +08:00
Catena cyber
a014ff0cb6
Fuzz QPX mode for PPC ( #1431 )
2019-03-19 09:07:30 +08:00
Travis Finkenauer
9e4f128820
Make install.sh more idomatic ( #1427 )
...
Use parameter expansion modifiers instead of manual tests.
2019-03-19 00:20:28 +08:00
Nguyen Anh Quynh
d17d8754ba
arm: brkdiv0 is invalid code. TODO: this is just a quick fix, later fix thisn in tablegen
2019-03-19 00:17:35 +08:00
Philippe Antoine
0b23157074
Adds info for ARM brkdiv0
2019-03-18 09:19:49 +01:00
blacktop
42731072b3
Update AARCH64 to ARMv8.1-4 (minus tablegen stuff) ( #1425 )
...
* updates for armv8.1-4
* Update AArch64Disassembler.c
* adding clang-format
* fix tabs
* fix indents
* fix tabs
* Update AArch64Disassembler.c
* Update AArch64Disassembler.c
* Update AArch64Disassembler.c
* Update AArch64Disassembler.c
* fix tables
* revert disass
* Update AArch64Disassembler.c
* Update AArch64Disassembler.c
* add AArch64InstPrinter new func stubs
* Update AArch64Mapping.c
* add baseinfo
* fix dates
* add AddressingModes.h
* Update AArch64Disassembler.c
* Update AArch64InstPrinter.c
2019-03-18 13:29:45 +08:00
hal-jones
ee6c6ee678
AArch64: Fix register access flags for memory instructions ( #1423 )
...
* AArch64: fixes register access flags for loads
* AArch64: fixes register access flags for ORR
* AArch64: fixes register access flags for stores
2019-03-17 00:41:06 +08:00
hal-jones
72be24262f
AArch64: Fix register access flags for memory instructions ( #1423 )
...
* AArch64: fixes register access flags for loads
* AArch64: fixes register access flags for ORR
* AArch64: fixes register access flags for stores
2019-03-17 00:40:29 +08:00
Nguyen Anh Quynh
24d5a70a6b
arm: remove ARMRegisterName.inc from CMakeLists.txt
2019-03-16 18:12:54 +08:00
Nguyen Anh Quynh
0113195d49
arm: delete unused ARMRegisterName.inc
2019-03-16 18:05:30 +08:00