2394 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
ed43e241c5 arm: fix issue #459 reported by Ahmed Garhy 2015-08-15 14:20:23 +08:00
Nguyen Anh Quynh
2a3635d59b x86: fix target addresses of CALL/JMP rel16. bug reported by Ruslan Kabatsayev 2015-08-15 13:20:04 +08:00
Nguyen Anh Quynh
fe05cb316f x86: REPNE prefix is valid for LODSD. this fixes the bug reported by Ruslan Kabatsayev 2015-08-14 22:09:07 +08:00
Nguyen Anh Quynh
bbc33d6d63 x86: repne prefix can come with INS/OUTS/LODS instructions. bug reported by Ruslan Kabatsayev 2015-08-14 21:34:26 +08:00
Nguyen Anh Quynh
1c6309cdb8 x86: fix operand size of farjmp/farcall. bug reported by Ruslan Kabatsayev 2015-08-14 10:46:42 +08:00
Nguyen Anh Quynh
6482ca156a x86: loope/loopne read EFLAGS. bug reported by Ruslan Kabatsayev 2015-08-14 08:57:34 +08:00
Nguyen Anh Quynh
5e318f6bab x86: LOOP* instructions should read/write *CX registers. bug reported by Ruslan Kabatsayev 2015-08-14 00:05:12 +08:00
Nguyen Anh Quynh
7279f319fa x86: fix operand size for farjmp/farcall instructions. bug reported by Ruslan Kabatsayev 2015-08-13 23:47:00 +08:00
Nguyen Anh Quynh
9b381dc307 x86: print ptr16 part of farjmp/farcall in positive form. issue reported by Ruslan Kabatsayev 2015-08-13 21:36:27 +08:00
Nguyen Anh Quynh
0088d2a318 sparc: fix POPC instruction. issue reported by @zonkzonk & @pancake 2015-08-13 19:13:40 +08:00
Nguyen Anh Quynh
06cf1cfe6e msvc: add missing macros CAPSTONE_HAS_XXX so test_basic/test_detail/test_skipdata/test_iter can be compiled 2015-08-10 15:46:57 -07:00
Nguyen Anh Quynh
8047fccb49 x86: fix need_zero_prefix() for MASM syntax 2015-08-10 00:03:21 -07:00
Nguyen Anh Quynh
4d7d5c13a1 python: support newly added MASM syntax 2015-08-09 10:52:43 -07:00
Nguyen Anh Quynh
8aba4cd913 add error code CS_ERR_X86_MASM 2015-08-09 10:52:18 -07:00
Nguyen Anh Quynh
62918abb60 support new syntax CS_OPT_SYNTAX_MASM for X86 2015-08-09 10:34:19 -07:00
Nguyen Anh Quynh
a973ef618e tests: commit the Makefile forgotten in the last commit 2015-08-09 09:48:45 -07:00
Nguyen Anh Quynh
20037df9dd tests: properly define HAS_XXX marcros so some tests work 2015-08-09 09:47:53 -07:00
Nguyen Anh Quynh
5d18674abc Merge pull request #442 from ttsugriy/next
Resolve cmake project version policy warning
2015-08-05 23:22:06 -07:00
Taras Tsugrii
9a638e6d91 Resolve cmake project version policy warning 2015-08-04 11:48:55 -07:00
Nguyen Anh Quynh
6595e93c27 Merge pull request #441 from ttsugriy/next
Fix policy warning
2015-08-04 11:26:59 -07:00
Taras Tsugrii
72403a5f0a Fix policy warning 2015-08-04 10:34:20 -07:00
Nguyen Anh Quynh
dd51418357 Merge pull request #440 from learn-more/const_generator
Const generator
2015-08-03 20:25:29 +08:00
learn_more
db5403d681 Missing definition 2015-08-02 20:13:29 +02:00
learn_more
f6ded668b4 Fix for EFlags missing in x86 target: aquynh/capstone#439 2015-08-02 20:12:51 +02:00
learn_more
78de4fa6b0 Make sure that running the tool on windows gives the same output (newline conversion) 2015-08-02 20:10:35 +02:00
learn_more
8c7b320a24 add target all for const_generator 2015-08-02 20:09:59 +02:00
Nguyen Anh Quynh
edae14b8a1 Merge pull request #438 from learn-more/test_group_name
Add missing const for arm64
2015-08-02 20:28:22 +08:00
learn_more
07a7f6c8aa Add missing const for arm64
update suite/test_group_name
2015-08-02 14:21:55 +02:00
Nguyen Anh Quynh
a482522d52 Merge pull request #436 from ttsugriy/next
Fix bug in option propagation.
2015-08-01 10:33:15 +08:00
Taras Tsugrii
753f52997b Fix bug in option propagation.
Used without {} SUPPORTED_ARCHITECTURES's name is used as a value, resulting in
not propagating any of the option definitions. Also added diagnostic to be
explicit about supported architectures.
2015-07-31 10:34:37 -07:00
Nguyen Anh Quynh
960aba476c tests: fix some warnings for unused variables in test_skipdata.c 2015-07-31 09:27:03 +08:00
Taras Tsugrii
63fbf8e560 Include tests only for supported architectures.
Capstone conveniently provides options to enable/disable specific architectures
which is very useful for trimming the size of the binary, but those options are
ignored in some tests, so when say X86 architecture is not included, some tests
would fail.

This change conditionally includes tests only for supported architectures.
2015-07-30 13:01:25 -07:00
radare
71fd42deae Fix bashisms to make dash happy 2015-07-28 16:49:00 +02:00
Nguyen Anh Quynh
45f0c37c25 Merge pull request #430 from zachriggle/arm64-int
Add ARM64_GRP_INT to AArch64 for SVC instruction
2015-07-28 01:04:03 +08:00
Zach Riggle
1e882cf542 Add ARM64_GRP_INT to AArch64 for SVC instruction 2015-07-27 12:42:06 -04:00
Kamil Rytarowski
b08f4614c5 Allow to build capstone in pkgsrc for FreeBSD and DragonflyBSD 2015-07-27 10:33:15 +08:00
Nguyen Anh Quynh
cc7434c57e python: do not copy msvc/headers directory in setup.py 4.0-alpha2 2015-07-15 17:38:12 +08:00
Nguyen Anh Quynh
a05d82a55f x86: truncat immediate for non-64bit. this fixes the disassembly of the code e9e9eeeeee in 32bit mode 2015-07-11 10:00:29 +08:00
Nguyen Anh Quynh
fec23ae531 fix autogen_x86imm.py to handle some special instructions. this fixed issue #411 reported by @pancake 2015-06-30 20:49:55 +08:00
Nguyen Anh Quynh
de6fa911b5 skip _LOCK_ instructions for augoten_x86.imm.py 2015-06-28 13:14:36 +08:00
Nguyen Anh Quynh
de8dd26780 x86: handle operand size properly for immediate operands 2015-06-28 12:18:13 +08:00
Nguyen Anh Quynh
a5540d843b instructions on cross-compiling for Android with NDK (ported from 'master' branch') 2015-06-22 15:52:45 +08:00
Nguyen Anh Quynh
517a0fe68e mips: remove alias_insns map 2015-06-22 15:30:25 +08:00
Nguyen Anh Quynh
fc3b138e8f make.sh: better Android building and allow passing extra stuff to make. (ported from 'master' branch) 2015-06-22 12:51:21 +08:00
Nguyen Anh Quynh
2ad9eb2a43 mips: delete the alias map SUBU to NEGU. bug reported by @joelpx 2015-06-22 11:21:14 +08:00
Nguyen Anh Quynh
5376f44ed0 Merge pull request #408 from zneak/next
Renamed test.c to test_basic.c in Xcode project
2015-06-21 12:58:57 +08:00
Félix Cloutier
e662a7a2e5 Renamed test.c to test_basic.c 2015-06-21 00:47:50 -04:00
Nguyen Anh Quynh
be68c24076 Merge pull request #407 from yegord/next
Remove reference to missing osxkernel_inttypes.h from CMakeLists.txt
2015-06-21 00:01:12 +08:00
Nguyen Anh Quynh
2a34946e94 Merge pull request #405 from achernet/python-virtualenv-fix
[next] Virtualenv support for Python binding
2015-06-21 00:00:01 +08:00
Yegor Derevenets
6739f9fb13 Remove reference to missing osxkernel_inttypes.h from CMakeLists.txt 2015-06-20 12:25:42 +02:00