tandasat
d4ef430b33
port Windows driver support
2016-05-11 21:48:32 -07:00
Nguyen Anh Quynh
8d48487df3
suite: add regress/
2016-03-10 12:37:25 +08:00
Nguyen Anh Quynh
7654a68fa2
fix the last fix
2016-03-08 11:11:20 +08:00
Nguyen Anh Quynh
017267e0ea
fix some MSVC warnings
2016-03-08 11:08:20 +08:00
Daniel Collin
2ee675c10a
This adds M68K support to Capstone
2015-10-02 20:47:00 +02: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
4337a77064
x86: fix issue #470 & #471 reported by Ruslan Kabatsayev
2015-09-08 22:14: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
343a98d8a4
suite: add regress.py
2015-08-19 09:35:27 +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
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
7bb3508ccb
suite: move fuzz_hardness.c to suite/fuzz/
2015-06-16 17:37:48 +08:00
Nguyen Anh Quynh
67304f36a3
suite: add python_capstone_setup.py
2015-05-10 10:23:27 +08:00
Nguyen Anh Quynh
5a6007b0f1
suite: correct authors of patch_major_os_version.py
2015-05-06 10:40:20 +08:00
Nguyen Tan Cong
fd1af772e2
add script to MajorOperatingSystemVersion and MajorSubsystemVersion in PE header from 6 to 5
2015-05-06 10:40:10 +08:00
learn_more
3e915db782
give reg_name, insn_name, group_name a customizable default instead of returning something else for id 0
...
remove the check for self._raw.id on reg_name and group_name (in CsInsn, since the to_name functions don't operate on the current instruction)
Add reg_name, insn_name and group_name to Cs.
update test_group_name.py with the new api.
2015-04-28 19:29:51 +02:00
learn_more
a1a3132d31
add new group names from next to the test.
2015-04-28 19:25:55 +02:00
Nguyen Anh Quynh
1182d25759
simplify ARCH_group_name() by using lookup table as suggested by @learn_more. also added the missing group name for GRP_PRIVILEGE
2015-04-27 12:13:34 +08:00
Nguyen Anh Quynh
2f263f58d8
suite: better support for Python3 for test_group_name.py
2015-04-26 16:59:11 +08:00
learn_more
653696e287
Validate group names against a hardcoded list per arch.
...
Also test out-of range values (by overshooting the current max for all arches).
This relies on a small hack (directly importing the ctypes from capstone), because the Cs object does not expose the cs_group_name function directly.
2015-04-26 16:49:04 +08:00
learn_more
04f9c32eb4
use the correct include location
2015-04-21 19:27:42 +02:00
Cr4sh
19ee2d10b3
inttypes.h fix
2015-03-29 21:16:38 +08:00
Nguyen Anh Quynh
967e98786a
suite: fix a MSVC warning
2015-02-25 18:12:10 +08:00
Nguyen Anh Quynh
4b68d9505e
arm: fix some warnings reported by MSVC
2015-02-25 18:02:19 +08:00
Nguyen Anh Quynh
ea39692786
suite: fix an compilation warning reported by MSVC on test_arm_regression.c
2015-01-13 14:43:37 +08:00
Nguyen Anh Quynh
499f0ca7cb
suite: add some tools to verify X86 machine code
2015-01-06 13:11:04 +07:00
Nguyen Anh Quynh
d83c8c7d44
suite: change CS_MODE_32 -> CS_MODE_MIPS32, CS_MODE_64 -> CS_MODE_MIPS64 for fuzz.py & benchmark.py
2014-11-17 17:38:18 +08:00
Nguyen Anh Quynh
57a902d045
suite: add crc32 instruction to x86odd.py
2014-11-16 19:48:41 +08:00
Nguyen Anh Quynh
b0082295a1
suite: add some tricky x86 code to x86odd.py
2014-11-16 19:08:25 +08:00
Nguyen Anh Quynh
02cafeb8bd
suite: update Mips modes of MC input to CS_MODE_MIPS32 & CS_MODE_MIPS64
2014-11-13 12:46:48 +08:00
Nguyen Anh Quynh
952da90e5b
suite: add missing tests to test_c.sh
2014-11-13 11:39:58 +08:00
Nguyen Anh Quynh
435b9137bf
suite: delete duplicate MC input in ppc64-encoding-bookIII.s.cs
2014-11-11 13:56:37 +08:00
Nguyen Anh Quynh
4c36374e2d
suite: normalize PPC's branch instructions having immediate operand
2014-11-11 12:51:57 +08:00
Nguyen Anh Quynh
df7dde26c9
suite: update test_mc.py to better handle output of different formats of MC & CS
2014-11-10 21:50:54 +08:00
Nguyen Anh Quynh
6999d22892
suite: fix inputs in MC/
2014-11-10 21:49:53 +08:00
Nguyen Anh Quynh
d5e63414b1
suite: indentation for test_mc.py
2014-11-08 14:01:18 +08:00
Nguyen Anh Quynh
9025e92fe2
suite: cleaning up test_mc.py
2014-11-07 17:28:39 +08:00
Nguyen Anh Quynh
8ba7250a14
suite: add testsuite tool 'test_mc.sh' to compare output of Capstone & LLVM
2014-11-07 17:24:01 +08:00
Nguyen Anh Quynh
278afa3380
suite: delete a broken MC input in intel-syntax-encoding.s.cs
2014-11-07 16:37:17 +08:00
Nguyen Anh Quynh
9c9ca1290c
suite: add missing arch in heading info for micromips-alu-instructions-EB.s.cs
2014-11-07 16:14:58 +08:00
Nguyen Anh Quynh
4016695162
suite: fix MC test for 'prefetch' in 3DNow.s.cs
2014-11-07 12:27:31 +08:00
Nguyen Anh Quynh
90d42bced8
suite: add decoding info for 3DNow.s.cs
2014-11-06 15:28:50 +08:00
Nguyen Anh Quynh
c352897bac
suite: more tests added to x86odd.py
2014-11-04 11:04:32 +08:00
Nguyen Anh Quynh
ff7bba3d6d
x86: print out immediate as positive number for logic arithmetic operations: AND, OR, XOR. only works for x86 Intel syntax so far. issue reported by Pancake
2014-11-03 16:32:06 +08:00
Nguyen Anh Quynh
b87f855281
x86: print negative number in memory reference address (more friendly). issue reported by @pancake
2014-11-02 23:38:35 +08:00