2410 Commits

Author SHA1 Message Date
bughoho
edd7659756 https://github.com/aquynh/capstone/issues/483 2015-09-30 11:09:52 +08:00
Nguyen Anh Quynh
caf8ddaae8 fix conflicts 2015-09-30 11:07:22 +08:00
bughoho
fe19541d7e test cs_disasm_iter benchmark 2015-09-30 11:05:41 +08:00
Nguyen Anh Quynh
839f06e855 Merge pull request #480 from radare/cygwin-fix
Fix build for cygwin
2015-09-22 23:47:09 +08:00
pancake
8848ea3f68 Fix build for cygwin 2015-09-22 16:33:27 +02:00
Nguyen Anh Quynh
7b714c64dc x86: fix operand sizes of LGDT/LIDT/SGDT/SIDT in 16bit mode 2015-09-08 22:36:09 +08:00
Nguyen Anh Quynh
4337a77064 x86: fix issue #470 & #471 reported by Ruslan Kabatsayev 2015-09-08 22:14:35 +08:00
Nguyen Anh Quynh
952fd7b360 Merge pull request #472 from 10110111/next
Add GDT/IDT handling instructions to tests
2015-09-08 21:53:35 +08:00
Ruslan Kabatsayev
f86a8d58cc Add GDT/IDT handling instructions to tests 2015-09-08 16:06:48 +03:00
Nguyen Anh Quynh
87b71edf4d suite: add verbose output mode to regress.py 2015-08-24 20:53:26 +08:00
Ruslan Kabatsayev
53181677f5 Add tests for x86 string instructions 2015-08-24 20:34:59 +08:00
Nguyen Anh Quynh
ddf5488d36 arm: another fix for #446. bug reported by @uxmal 2015-08-19 22:36:09 +08:00
Nguyen Anh Quynh
64a1e31519 x86: fix the operand size of CALLpcrel16/JMP_2. bug reported by Ruslan Kabatsayev 2015-08-19 17:07:29 +08:00
Nguyen Anh Quynh
94874ed436 x86: fix #456 for AT&T syntax 2015-08-19 09:37:24 +08:00
Nguyen Anh Quynh
343a98d8a4 suite: add regress.py 2015-08-19 09:35:27 +08:00
Nguyen Anh Quynh
e5a67f5a04 x86: handle some tricky 16bit code in issue #456 2015-08-19 01:31:58 +08:00
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