Commit graph

30 commits

Author SHA1 Message Date
Nguyen Anh Quynh
553bb488d7 python: support XCore 2014-05-26 23:47:45 +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
Nguyen Anh Quynh
b1e14f913d python: optimize to_x() & to_x_32() for python3 2014-04-14 16:21:34 +08:00
Nguyen Anh Quynh
5a46c146b5 python: fix to_x() & to_x_32() in test.py 2014-04-14 16:13:25 +08: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
27a35fe1a7 python: fix bugs in test.py & test_lite.py 2014-02-25 17:07:25 +08:00
Nguyen Anh Quynh
1c8405dbd7 python: add SystemZ support 2014-03-23 11:17:24 +08:00
Nguyen Anh Quynh
ea9f4b197e sparc: add SparcV9 tests 2014-03-10 20:38:01 +08:00
Nguyen Anh Quynh
30a9d54894 python: add Sparc tests 2014-03-10 14:40:48 +08:00
Nguyen Anh Quynh
fc4bc120e1 python: correct CS_OPT_SYNTAX_NOREGNAME & add 1 more test to test.py. issue reported by Dang Hoang Vu 2014-01-08 10:23:07 +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
1acfd0b883 move insn_cache into cs_struct to gurantee thread-safe 2014-01-06 10:56:59 +08:00
Nguyen Anh Quynh
5cd6b340c4 python: add PPC test to test.py & test_detail.py 2014-01-05 01:07:14 +08:00
Nguyen Anh Quynh
5f1f90c559 fix for the last commit, and make the test code no longer specify ppc code as 64bit 2014-01-01 23:28:05 +08:00
Nguyen Anh Quynh
f2d0ff2155 python: add PPC sample to test.py 2013-12-31 21:02:42 +08:00
Nguyen Anh Quynh
4d22779f1c add the missing include/ppc.h 2013-12-31 21:01:01 +08:00
Nguyen Anh Quynh
4994c587ad bindings: support new 'detail' option for java & python 2013-12-14 11:39:33 +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
73a6dba6c2 python: commented out the printout of @bytes, so 'make tests' doesnt complain anymore 2013-12-06 19:31:28 +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
Nguyen Anh Quynh
4649071e2d python: add ERR_OPTION, and use @syntax setter/getter rather than option() method to set X86 syntax 2013-12-06 00:44:44 +08:00
Nguyen Anh Quynh
8f13f3c6ab rename @hex_code to @bytes, and move it to next to @size 2013-12-04 22:57:04 +08:00
Nguyen Anh Quynh
c45b1588ef Merge branch 'master' of https://github.com/joxeankoret/capstone into hexcode 2013-12-04 19:28:54 +08:00
Joxean
114df0ef2a Added @hex_code member
It's used to retrieve the bytes of the instruction.
2013-12-04 07:11:32 +01:00
Nguyen Anh Quynh
c618db4473 change option names for cs_option(), and update python binding accordingly to support new cs_option() 2013-12-04 00:05:04 +08:00
Nguyen Anh Quynh
daaed13cc1 python: update to the newly added cs_option() API 2013-12-03 22:18:28 +08: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