Cen Zhang
d632169847
fix for make clean fail ( #1524 )
...
* fix for make.sh for android
* remove commented line
* fix make clean fail issue
2019-07-29 17:37:41 +08:00
Cen Zhang
f6f87ebec5
fix for make.sh for android ( #1523 )
...
* fix for make.sh for android
* remove commented line
2019-07-27 00:16:01 +08:00
mquigley
66808143db
#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:34:06 +08:00
Jeremy Ng
fbb20ea83c
Update COMPILE.TXT ( #1482 )
...
there are clearly 7 options, not 5 options. just updating the numbers.
2019-05-17 08:40:05 +07:00
Ammar
11746da3ed
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 22:10:28 +07:00
Michael Bikovitsky
e05af7acd2
Fix user data alignment in MEMBLOCK ( #1471 )
...
* Fix user data alignment in MEMBLOCK
Kernel memory allocations on Windows should be aligned on MEMORY_ALLOCATION_ALIGNMENT (16 bytes on x64 and 8 bytes on x86).
* Fix user data alignment in CS_WINKERNEL_MEMBLOCK
2019-05-09 09:23:46 +07:00
Nguyen Anh Quynh
285329811d
fix cmake.sh
2019-04-29 21:15:17 +08:00
Nguyen Anh Quynh
1325eb1119
fix cmake.sh
2019-04-29 21:01:37 +08:00
JornVernee
e5d7120345
Add cmake option to tell whether architectures should be included by default ( #1463 )
...
* Add cmake option to disable architectures by default
* Add cmake option to disable architectures by default
* Remove CAPSTONE_X86_ONLY cmake variable, and update build scripts to use the CAPSTONE_ARCHITECUTRE_DEFAULT option, which can be used with any architecture.
* Updated cmake and nmake files to replace cmake-x86 and nmake-x86
* Simplified cmake wrapper scripts
* Updated cmake build instructions
* Tab to space in doc
2019-04-29 17:28:21 +07:00
ChrisDenton
c8716f516a
Update __init__.py ( #1453 )
...
Pass bytearrays by reference instead of copying to bytes.
2019-04-03 11:40:36 +08:00
Travis Finkenauer
fa17ed2453
Fix CS_ERR_X86_MASM doc typo ( #1455 )
2019-04-01 10:53:45 +08:00
Sebastian Macke
472845db9c
MOS65XX: Use same output style as other archs ( #1445 )
...
Signed-off-by: Sebastian Macke <sebastian@macke.de >
2019-03-24 11:39:28 +08:00
hal-jones
4156eefd32
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:37:55 +08:00
ceeac
4f3db553cf
Fix #1420 : Capstone 4 fails to build when targeting UWP ( #1421 )
2019-03-14 23:27:38 +08:00
Catena cyber
0f16742234
Corpus generation is more robust ( #1419 )
2019-03-11 13:13:45 +08:00
Catena cyber
119edad22b
Avoids type confusion in cpu12 for M680X ( #1417 )
2019-03-05 10:20:25 +08:00
Nguyen Anh Quynh
bfc589e1d6
Merge branch 'master' of github.com:aquynh/capstone
2019-03-04 21:44:16 +08:00
Nguyen Anh Quynh
d689d951d9
thumb: delete redundant code in _Thumb_getInstruction()
2019-03-04 21:44:00 +08:00
Nguyen Anh Quynh
4f25817e03
thumb: delete redundant code in _Thumb_getInstruction()
2019-03-04 15:09:59 +08:00
Đỗ Minh Tuấn
f707519a52
normalize in issue mode ( #1414 )
...
* normalize tab character in cs
* normalize in issue mode
2019-03-03 19:10:18 +08:00
Đỗ Minh Tuấn
9448bdeed4
normalize tab character in cs ( #1413 )
...
* normalize tab character in cs
2019-03-03 18:07:47 +08:00
z
40b8bfa397
fix SystemZRegDesc&SystemZMCRegisterClasses number of SystemZ InitMCRegisterInfo ( #1405 )
2019-03-01 09:54:14 +08:00
Stephen
107a14a7e1
add xenial tests ( #1404 )
...
* add xenial tests
* add cmocka remove reminder
2019-03-01 09:52:11 +08:00
Sebastian Macke
9baa0751ca
MOS65XX: Fix instruction length for indirect addressing modes ( #1402 )
...
Signed-off-by: Sebastian Macke <sebastian@macke.de >
2019-02-28 06:12:52 +08:00
Đỗ Minh Tuấn
a759a14e26
fix mode "c" in report_cstest ( #1398 )
...
* fix mode "c" in report_cstest
2019-02-26 20:31:37 +08:00
Nguyen Anh Quynh
de952a3e5a
X86: X86_insn_reg_att uses a wrong mapping array of Intel syntax
2019-02-21 15:32:00 +08:00
Anton Bolshakov
211a2eb6e7
respect libsuffix in pkgconfig ( #1393 )
...
* respect libsuffix in pkgconfig
discovered in https://bugs.gentoo.org/677946
* Update CMakeLists.txt
* Update CMakeLists.txt
* Update CMakeLists.txt
2019-02-20 10:11:26 +08:00
david942j
0b37390f49
Fix typos of MOS65XX ( #1390 )
...
* Fix typos
* make test_mos65xx.py and test_mos65xx.c have same output format
* mox65xx -> mos65xx
2019-02-18 19:52:51 +08:00
Nguyen Anh Quynh
6a69f43f74
x86: 8bit Imm operand has size = 1. this fixes issue #1389
2019-02-18 17:27:04 +08:00
Семён Марьясин
58e3c8bc72
Fix skipdata struct being destroyed ( #1385 )
2019-02-17 01:29:53 +08:00
Invincible
6782c48166
For the benefit of mankind. ( #1386 )
...
For the peace and tranquility of the earth.
2019-02-17 01:28:01 +08:00
Catena cyber
16f4c801df
Fixes more undefined left shift of negative values ( #1384 )
2019-02-16 10:34:57 +08:00
Catena cyber
50123f1aaf
Avoids overflow in getRegisterName for TMS320C64x ( #1375 )
...
* Avoids overflow in getRegisterName for TMS320C64x
* Revert "Avoids overflow in getRegisterName for TMS320C64x"
This reverts commit 18acee60cd4206f4340f5e8ad3ddd67eab1691f3.
* Checks register in DecodeMemOperandSc
2019-02-16 10:34:46 +08:00
Catena cyber
09093054a4
Updates test_corpus to support new examples ( #1383 )
2019-02-16 10:31:05 +08:00
Catena cyber
09fc20d626
Multiply signed integer instead of left shift ( #1382 )
2019-02-15 22:36:29 +08:00
Nguyen Anh Quynh
fc4407f53c
README: pypi downloads
2019-02-15 08:58:46 +08:00
Đỗ Minh Tuấn
df1ab31ec4
Another way to solve when compare with issue ( #1379 )
...
* cstest: partial details are supported in issues.cs
2019-02-15 00:12:18 +08:00
Đỗ Minh Tuấn
4634af69e4
Integrate into travis cli ( #1378 )
...
* Comment out all failed tests
* Integrate with Travis
2019-02-14 22:15:12 +08:00
Nguyen Anh Quynh
190695d360
Merge branch 'HarDToBelieve-master'
2019-02-14 16:24:37 +08:00
Nguyen Anh Quynh
189e13a6a0
cstest: code style
2019-02-14 16:24:22 +08:00
Đỗ Minh Tuấn
a488ea900e
Fix bugs ( #1377 )
...
* fixing
* Done fixing
2019-02-14 16:23:18 +08:00
HarDToBelieve
d5d1e34779
Done fixing
2019-02-14 14:13:45 +07:00
hardtobelieve
23e0aaeff9
fixing
2019-02-13 20:01:26 -08:00
Nguyen Anh Quynh
213ac46ce9
cstest: allow space between !# and arch (issues.cs)
2019-02-14 10:19:21 +08:00
Nguyen Anh Quynh
cfb09e0446
cstest: fix conflicts
2019-02-14 01:30:39 +08:00
Đỗ Minh Tuấn
e25a8a4cbf
Add more features to CSTEST ( #1376 )
...
* fix crash
* MC: alias registers for Mips
* MC: alias registers for Mips - v1
* MC: alias registers for Mips
* MC: alias registers for Mips
* MC: more fix for Mips .cs
* MC: more fix for Mips .cs
* add comment feature
* free mem
* Done fixing
* Done
* rename report
* fix README
2019-02-14 01:29:07 +08:00
Nguyen Anh Quynh
79102e6d8b
MC: fix missing option field in some .cs files
2019-02-14 01:13:08 +08:00
Nguyen Anh Quynh
ba00381b2f
cstest: update README
2019-02-14 00:59:19 +08:00
hardtobelieve
5c84b18250
fix README
2019-02-13 08:30:20 -08:00
hardtobelieve
4629feaeb2
rename report
2019-02-13 08:25:13 -08:00