Cen Zhang
e5f0539626
resolve merge conflicts
2019-07-29 17:44:04 +08:00
Vemake
b78a640364
Fixed 47 missing dependencies and 51 excessive dependencies in Makefile ( #1522 )
...
* Fix Excessive and Missing Dependencies found by Vemake
* Remove extra spaces at the end of Makefile
* Remove used macro df
* Change "-rf" to "-f" in tests/Makefile
* Change "-rf" to "-f" in suite/fuzz/Makefile
* Remove 'r' from the removal command.
* Remove an extra blank line.
2019-07-29 14:15:05 +08:00
Cen Zhang
f931eef39f
fix for make.sh for android ( #1523 )
...
* fix for make.sh for android
* remove commented line
2019-07-29 10:32:03 +08:00
Catena cyber
ba97425584
Fuzzit integration ( #1520 )
2019-07-25 09:06:52 +08:00
mquigley
85dffaeb09
#1246 - Fix Java bindings to use pointers instead of longs ( #1516 )
...
Previously, a long was used instead of a pointer in the JNA binding library.
This would work until the allocated pointers exceeded 32-bits. On modern JVMs,
allocations may produce pointers in excess of 32-bits which would result in
invalid memory access errors.
This also updates the binding version to 5.0.
2019-07-11 17:35:27 +08:00
Nguyen Anh Quynh
606532834a
handle mnemonic customization better. issue #1514
2019-07-10 23:54:15 +08:00
naq
43040603d7
systemz: fix truncated 64bit imm operand in issue #1515
2019-07-10 17:32:46 +08:00
keenk
c609731e38
Undo rollback of 3 movbe instruction's operand access fixes ( #1512 )
...
* Fix a few registry access mode mappings
* Fix rollback of operand access changes
Re-fix operand access of three mov instructions
2019-07-01 10:36:51 +08:00
Catena cyber
9c07326388
Updates files from LLVM for PPC64 ( #1510 )
...
* Updates files from LLVM for PPC64
* Only fix tbegin, tabort and such
2019-07-01 10:35:02 +08:00
Nguyen Anh Quynh
29c7012025
fix some compilation issues when DIET mode is on
2019-06-24 12:52:38 +08:00
naq
30bffad2d4
x86: fix a race condition made by a static variable initialization. bug reported by Xiaozhu Meng
2019-06-19 10:44:13 +08:00
naq
c602427ca3
cstest: fix xmmword ptr case in intel-syntax-encoding.s.cs
2019-06-09 02:05:31 +08:00
naq
2c015c75b3
x86: printf64m should print qword ptr by default. TODO: fix related cases in tablegen instead
2019-06-09 01:58:03 +08:00
naq
b1038743c1
x86: checkPrefix() does not set prefix0 in repne case
2019-06-09 01:13:22 +08:00
naq
1f823126b2
cstest: add issue 1505
2019-06-09 01:06:09 +08:00
naq
99837f0572
cstest: fix issues.cs
2019-06-08 12:36:57 +08:00
naq
dcd3e99022
x86: fix missing opcode byte in #1505
2019-06-08 12:21:50 +08:00
Catena cyber
834359fdbf
Fixes MOS groups count ( #1503 )
2019-06-05 10:32:19 +08:00
ksherlock
41e5f629ce
updated 6502 support. ( #1498 )
...
* updated 6502 support. some improvements to the base 6502 support but also adds support for 65c02, w65c02, and 65816.
* add CS_OPT_SYNTAX_MOTOROLA.
This will use "$" as a hex prefix instead of "0x"
* remove excess blank lines
2019-06-03 23:20:51 +08:00
Nguyen Anh Quynh
a893e37c9c
tests: 2019
2019-05-30 20:49:10 +08:00
Travis Finkenauer
750ba01466
[RISCV] Use CS_ASSERT ( #1493 )
...
* makefile: set CAPSTONE_DEBUG for debug build
Also fix long longs
* riscv: replace assert with CS_ASSERT
* cmake: add CAPSTONE_DEBUG option
2019-05-23 08:25:36 +07:00
Wolfgang Schwotzer
37b8ecbb41
[M680X] Fix #1483 : errors logged to stderr, using abort (2) ( #1489 )
...
- This is not suitable for an application framework
especially for kernel code.
- All these error conditions do not occur under normal conditions.
They only can occur if a maintainer (in the future) would make
inappropriate changes to the M680X code base.
- Added CS_ASSERT macro which allows to use assertions when debugging
by defining CAPSTONE_DEBUG.
- Updated compiler documenation
2019-05-20 10:22:27 +07:00
Travis Finkenauer
9c2cfafcb2
Add editorconfig to maintain consistent style ( #1486 )
...
EditorConfig should help us maintain consistent style across different
editors. Many editors have native support; others have plugins.
Website: https://editorconfig.org/
2019-05-18 19:30:55 +07:00
Nguyen Anh Quynh
d169f3fff5
ppc: mnemonic with dot postfix should update CR0. issue #1478
2019-05-17 11:50:11 +08:00
Nguyen Anh Quynh
afc8550d2a
ppc: add missing condition registers of BDNZT. fixes issue #970
2019-05-17 11:36:55 +08:00
Nguyen Anh Quynh
cf67765077
Merge branch 'next' of github.com:aquynh/capstone into next
2019-05-17 09:56:19 +08:00
Nguyen Anh Quynh
cf6d808274
ppc: fix bdnzflr operand 2 missing. issue #969
2019-05-17 09:56:03 +08:00
Jeremy Ng
d0d792b0ad
Update COMPILE.TXT ( #1482 )
...
there are clearly 7 options, not 5 options. just updating the numbers.
2019-05-17 09:41:43 +08:00
Nguyen Anh Quynh
ea1b4537b8
arm: printAliasInstr() properly handle memory operands (similar to the last commit for ARM64
2019-05-16 21:34:39 +08:00
Nguyen Anh Quynh
94aa224272
arm64: LDR operands[1] is memory operand. fix issue #1481
2019-05-16 21:29:51 +08:00
Nguyen Anh Quynh
baf70c9755
ppc: BDZLA is absolute branch. fix issue #968
2019-05-16 11:06:24 +08:00
Nguyen Anh Quynh
41fdced346
ppc: fix TBEGIN decoder. issue #1478
2019-05-16 10:42:43 +08:00
Nguyen Anh Quynh
fe2e7eb00f
arm64: fix a segfault. issue #1480
2019-05-15 21:04:13 +08:00
Ammar
9382c9ad54
x86: fix call/jmp access mode of mem operand ( #1479 )
...
sets CS_AC_READ for memory operand of call and jmp instructions
2019-05-14 23:11:32 +08:00
Nguyen Anh Quynh
c12f4e4118
cstest: add tests for xacquire/xrelease xchg
2019-05-14 10:59:07 +08:00
Nguyen Anh Quynh
ea30457f9e
x86: recognize xacquire/xrelease for XCHG
2019-05-14 10:49:27 +08:00
Nguyen Anh Quynh
f3ca9a28b9
x86: recognize xrelease lock
2019-05-14 09:59:23 +08:00
Nguyen Anh Quynh
a1796341cb
x86: recognize xacquire prefix. issue #1477
2019-05-13 22:27:05 +08:00
Nguyen Anh Quynh
90c0e6206b
Merge branch 'next' of github.com:aquynh/capstone into next
2019-05-13 13:52:09 +08:00
Nguyen Anh Quynh
709aba4789
ppc: add JUMP group for some branch instructions
2019-05-11 11:52:43 +08:00
Nguyen Anh Quynh
287987a8a1
ppc: fix target address of bdnz. issue #1468
2019-05-11 10:18:36 +08:00
Nguyen Anh Quynh
991c0c25bb
synctools: udpate somes scripts
2019-05-10 16:51:23 +08:00
Nguyen Anh Quynh
946d55b781
synctools: fix genall-arch.sh for Arm & Arm64
2019-05-10 16:39:36 +08:00
Nguyen Anh Quynh
8f1021e117
ppc: cleanup
2019-05-10 14:43:01 +08:00
Nguyen Anh Quynh
bb6b2c137e
ppc: fix target address for bdnzt
2019-05-10 14:38:51 +08:00
Nguyen Anh Quynh
71c59fce93
ppc: cleanup debug code
2019-05-10 01:06:47 +08:00
Nguyen Anh Quynh
ea538571e9
ppc: alias for Bcc instructions. issue #1468
2019-05-10 00:57:03 +08:00
Nguyen Anh Quynh
d7e9aa90c3
Merge branch 'next' of github.com:aquynh/capstone into next
2019-05-09 22:20:48 +08:00
Nguyen Anh Quynh
37dda9d4b7
ppc: proper map internal register ID to public register ID
2019-05-09 18:26:45 +08:00
Nguyen Anh Quynh
63c07ba724
ppc: fix some mappings in PPCMappingInsn.inc
2019-05-09 18:08:08 +08:00