Commit Graph

178 Commits

Author SHA1 Message Date
Nick Briggs
2aedb8168c Rename test.c to test_basic.c with corresponding executable name change. (#923)
* Rename test.c to test_basic.c with corresponding executable name change.

* Fix Makefile, tests/Makefile to comprehend renamed test program. See issue #922

* Fix XCode project to comprehend renamed test program.  See issue #922

* Rename python test.py to test_basic.py to parallel C test name.  See issue #922

* Rename ocaml test.ml to test_basic.ml to parallel C test name.  See issue #922

* Fix MSVC project definitions to comprehend renamed test program.  See issue #922
2017-05-11 22:58:12 +07:00
Nguyen Anh Quynh
1fefa5cd4d tests: cleanup test_arm.c 2016-10-28 17:29:21 +08:00
Nguyen Anh Quynh
a69bacbe1e tests: cleanup 2016-10-17 14:41:26 +08:00
Satoshi Tanda
fbe096d147 fix typo, style
Signed-off-by: Satoshi Tanda <tanda.sat@gmail.com>
2016-09-27 07:39:51 -07:00
Akihiko Odaki
2876044815 arm: treat ARM address as unsigned
It should be unsigned because:
* It does arithmetic operations
* Format strings have "%u" instead of "%d"
2016-09-03 14:28:46 +09:00
tandasat
0368aa7c42 fix #681 2016-05-16 08:32:58 -07:00
tandasat
11f254250c edit documents and comments 2016-05-14 16:04:28 -07:00
Nguyen Anh Quynh
7c723bceca Merge branch 'windriver' 2016-05-03 23:04:36 +08:00
Nico01
e0bb568167 Remove X86_OP_FP case 2016-05-01 12:32:48 +02:00
Nguyen Anh Quynh
3f461adae3 remove myinttypes.h 2016-04-26 09:47:30 +08:00
Nguyen Anh Quynh
9ec3345ed6 coding style 2016-04-26 09:23:51 +08:00
tandasat
01d5dfa43f change copyright 2016-04-25 11:14:46 +08:00
tandasat
00cb0e8c3c add a description of winkernel projects 2016-04-23 15:00:15 -07:00
tandasat
c22a74b216 add a description of test_winkernel 2016-04-23 12:30:33 -07:00
tandasat
42d73c8813 add test code for winkernel 2016-04-23 12:21:36 -07:00
tandasat
1ec8288c40 Replace CAPSTONE_API to mycallback and cs_skipdata_cb_t 2016-04-08 08:14:04 -07:00
tandasat
570834e363 Rename CS_OPT_NONE to CS_OPT_INVALID 2016-04-08 08:05:06 -07:00
tandasat
1ebd44e189 Use CAPSTONE_API for cs_skipdata_cb_t 2016-04-03 18:05:58 -07:00
tandasat
7f73a2e044 Addressed compile errors occur when built as C++11 2016-03-31 18:12:34 -07:00
kevemueller
d6ba243bb1 improve type safety, use ppc_reg instead of unsigned int 2015-12-13 12:53:44 +01:00
bughoho
18ba28b07c delete old code 2015-09-29 15:10:35 +08:00
bughoho
ec31ea84ee https://github.com/aquynh/capstone/issues/483 2015-09-28 15:08:25 +08:00
Nguyen Anh Quynh
0dbf1b9636 suite: move fuzz_hardness.c to suite/fuzz/ 2015-06-16 17:32:03 +08:00
Felix Grobert
c9fff21b69 Add debug build target and fuzz testing harness. 2015-06-16 10:51:40 +02:00
Cr4sh
9d60607645 inttypes.h fix 2015-03-29 18:29:06 +08:00
Nguyen Anh Quynh
faa925ab8f fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op 2014-11-17 11:39:36 +08:00
Nguyen Anh Quynh
84df600944 tests: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 11:27:51 +08:00
Nguyen Anh Quynh
0d97a3b3aa mips: CS_MODE_MIPS32R6 is an independent mode, and should not combine with CS_MODE_32 2014-11-13 11:12:52 +08:00
Nguyen Anh Quynh
8cdafda551 arm: add new field mem_barrier to cs_arm struct. this requires changes in bindings 2014-11-11 22:30:30 +08:00
Nguyen Anh Quynh
83466d4277 test: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8 2014-11-11 21:44:42 +08:00
Nguyen Anh Quynh
248519efea mips: properly handle Mips32R6 mode. bug reported by Jay Oster 2014-11-09 14:07:07 +08:00
Nguyen Anh Quynh
2f5081c1f9 tests: remove broken test on Mips's Micro mode 2014-10-29 22:36:11 +08:00
Nguyen Anh Quynh
5720cb7ae1 tests: add tests for mips's modes: MIPS32R6 & MICRO (C & Python code) 2014-10-29 22:35:02 +08:00
kratolp
5c0d9a4ade Add '4*cri+cond' to operand list 2014-10-17 14:52:03 +02:00
Nguyen Anh Quynh
f0acace803 Merge branch 'newapi' of https://github.com/aquynh/capstone into next 2014-10-12 10:30:57 +08:00
Nguyen Anh Quynh
7170cb2ea2 tests: add some comments for test_iter.c 2014-10-11 10:43:27 +08:00
Nguyen Anh Quynh
2d752f9e4e tests: add introductions for test_skipdata.c & test_iter.c to README 2014-10-11 01:33:32 +08:00
Nguyen Anh Quynh
0a2eca7c6c modify API cs_disasm_iter() and add new API cs_malloc(). also adds sample code test_iter.c 2014-10-11 00:36:16 +08:00
Nguyen Anh Quynh
8fb2eab459 arm: some operands can get subtracted from base register, thus have '-' sign associated. this adds subtracted field into cs_arm_op to provide this info. issue reported by Yegor Derevenets 2014-10-06 20:27:25 +08:00
Nguyen Anh Quynh
910a4df9a3 tests: compile without -O3 flag. this is to make it easier to maintain FreeBSD package 2014-10-02 15:49:53 +08:00
Nguyen Anh Quynh
839890b83a tests: use cs_group_name() to print out group names in test_detail.c & test_detail.py 2014-10-01 10:51:18 +08:00
Nguyen Anh Quynh
54f8cef449 mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings 2014-09-24 22:53:54 +08:00
Yegor Derevenets
ced9d24e35 Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
Nguyen Anh Quynh
7e57e79800 ppc: handle branch condition for alias instructions. this also updates Python & Java bindings 2014-09-21 13:04:50 +08:00
Nguyen Anh Quynh
04d9f8ee17 arm: update core with a lot more details provided in detail mode now. update Python & Java bindings to reflect the core's changes 2014-09-01 23:27:24 +08:00
Nguyen Anh Quynh
4f0d7048cd arm64: vector_index = 0 is valid. this changed invalid value of vector_index to -1 2014-08-29 15:11:23 +08:00
Nguyen Anh Quynh
0beb0d494b api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future 2014-08-27 22:55:29 +08:00
Mr. eXoDia
9be1f93f88 fixed warnings in MSVC x64 compilation 2014-08-26 23:51:12 +08:00
Nguyen Anh Quynh
5166236e1c python: update after the latest changes in the core on arm64 2014-08-25 17:28:34 +08:00
Nguyen Anh Quynh
46a74e53b7 arm64: update core. this added a lot more details to cs_arm64_op struct 2014-08-25 16:47:12 +08:00