Commit Graph

8 Commits

Author SHA1 Message Date
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 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