Commit Graph

21 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
0b3d95e4b3 java/ocaml/python: support the newly added mem_barrier field of cs_arm struct 2014-11-11 23:00:35 +08:00
Nguyen Anh Quynh
2e40e69207 arm: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8 2014-11-11 21:54:22 +08:00
Nguyen Anh Quynh
b0cc71da59 bindings: update java/ocaml/python after the last change in Arm's core 2014-10-06 21:01:32 +08:00
danghvu
2412069453 Fix python binding tests 2014-09-27 17:59:42 -05:00
Nguyen Anh Quynh
25538b04bb python: test_arm.py should handle SYSREG operand. issue reported by Ben Nagy 2014-09-03 11:22:18 +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
f260c2023e fix some conflicts when merging msvc2 into next 2014-05-19 11:32:55 +08:00
Nguyen Anh Quynh
1098329f40 python: refactor tests, so it is possible to reuse print_insn_detail() of all archs 2014-05-17 09:51:15 +08:00
danghvu
cdf6b8222c Fix mismatch tests' output of python binding 2014-05-14 02:36:45 -05:00
Nguyen Anh Quynh
749046bbdc python: initial Python3 support 2014-04-12 01:15:10 +08:00
fenuks
110ab1debd Python 3 support 2014-04-11 11:00:33 +02:00
Nguyen Anh Quynh
49f8f22984 python: handle SKIPDATA mode properly in test code 2014-04-10 17:40:10 +08:00
Nguyen Anh Quynh
428fdcdfda python: update following the change to detail mode in the core 2014-01-07 23:39:40 +08:00
Nguyen Anh Quynh
e06b2d0868 python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes 2014-01-01 22:30:53 +08:00
Nguyen Anh Quynh
572afeed7c python: code style: replace tab with 4 spaces 2013-12-16 11:19:24 +08:00
Nguyen Anh Quynh
f1618bc2ee python: add error message to CsError and modify all tests to use CsError exception 2013-12-06 20:58:04 +08:00
Nguyen Anh Quynh
e099ede6c5 Fix Python bindings:
- No more use generator to return instruction list
- Delete redundant Mips consts in mips.py
- Revert the last wrong change on ctypes prototype of cs_disasm_dyn(): it is wrong to use c_char_p
2013-12-06 18:06:11 +08:00
Nguyen Anh Quynh
520c3615b6 rename python classes and using exception for error
- rename class cs to Cs, cs_insn to CsInsn
- throw CsError exception to handle cs_errno()
- fix all test*.py code to reflect above changes
2013-12-06 15:26:07 +08:00
danghvu
a7d954f131 Adjust binding tests to match api changes 2013-11-29 10:57:45 -06:00
danghvu
1a7c449a72 Fix python test output, same as core test 2013-11-27 22:51:11 -06:00
Nguyen Anh Quynh
26ee41aa67 initial import 2013-11-27 12:11:31 +08:00