danghvu
2412069453
Fix python binding tests
10 years ago
Nguyen Anh Quynh
1098329f40
python: refactor tests, so it is possible to reuse print_insn_detail() of all archs
11 years ago
danghvu
cdf6b8222c
Fix mismatch tests' output of python binding
11 years ago
Nguyen Anh Quynh
49f8f22984
python: handle SKIPDATA mode properly in test code
11 years ago
Nguyen Anh Quynh
3f59a8cc2b
python: clean test_sparc.py
11 years ago
Nguyen Anh Quynh
ea9f4b197e
sparc: add SparcV9 tests
11 years ago
Nguyen Anh Quynh
1055a2e22a
python: support Sparc
11 years ago
Nguyen Anh Quynh
428fdcdfda
python: update following the change to detail mode in the core
11 years ago
Nguyen Anh Quynh
61e572b497
python: update to support PPC
11 years ago
Nguyen Anh Quynh
ce3ef95e9c
python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes
11 years ago
Nguyen Anh Quynh
e06b2d0868
python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes
11 years ago
Nguyen Anh Quynh
572afeed7c
python: code style: replace tab with 4 spaces
11 years ago
Nguyen Anh Quynh
f1618bc2ee
python: add error message to CsError and modify all tests to use CsError exception
11 years ago
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
11 years ago
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
11 years ago
danghvu
1a7c449a72
Fix python test output, same as core test
11 years ago
Nguyen Anh Quynh
26ee41aa67
initial import
11 years ago