Nguyen Anh Quynh
ec58a02c6d
python: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64
10 years ago
Nguyen Anh Quynh
7e75ca6d21
python: CS_MODE_MIPS32R6 is independent from CS_MODE_32
10 years ago
Nguyen Anh Quynh
2e40e69207
arm: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8
10 years ago
Nguyen Anh Quynh
248519efea
mips: properly handle Mips32R6 mode. bug reported by Jay Oster
10 years ago
Nguyen Anh Quynh
5720cb7ae1
tests: add tests for mips's modes: MIPS32R6 & MICRO (C & Python code)
10 years ago
danghvu
ebeec9d9c2
Cython: update installation and tests to v3
10 years ago
Nguyen Anh Quynh
553bb488d7
python: support XCore
11 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
b1e14f913d
python: optimize to_x() & to_x_32() for python3
11 years ago
Nguyen Anh Quynh
5a46c146b5
python: fix to_x() & to_x_32() in test.py
11 years ago
fenuks
110ab1debd
Python 3 support
11 years ago
Nguyen Anh Quynh
27a35fe1a7
python: fix bugs in test.py & test_lite.py
11 years ago
Nguyen Anh Quynh
1c8405dbd7
python: add SystemZ support
11 years ago
Nguyen Anh Quynh
ea9f4b197e
sparc: add SparcV9 tests
11 years ago
Nguyen Anh Quynh
30a9d54894
python: add Sparc tests
11 years ago
Nguyen Anh Quynh
fc4bc120e1
python: correct CS_OPT_SYNTAX_NOREGNAME & add 1 more test to test.py. issue reported by Dang Hoang Vu
11 years ago
Nguyen Anh Quynh
428fdcdfda
python: update following the change to detail mode in the core
11 years ago
Nguyen Anh Quynh
1acfd0b883
move insn_cache into cs_struct to gurantee thread-safe
11 years ago
Nguyen Anh Quynh
5cd6b340c4
python: add PPC test to test.py & test_detail.py
11 years ago
Nguyen Anh Quynh
5f1f90c559
fix for the last commit, and make the test code no longer specify ppc code as 64bit
11 years ago
Nguyen Anh Quynh
f2d0ff2155
python: add PPC sample to test.py
11 years ago
Nguyen Anh Quynh
4d22779f1c
add the missing include/ppc.h
11 years ago
Nguyen Anh Quynh
4994c587ad
bindings: support new 'detail' option for java & python
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
73a6dba6c2
python: commented out the printout of @bytes , so 'make tests' doesnt complain anymore
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
Nguyen Anh Quynh
4649071e2d
python: add ERR_OPTION, and use @syntax setter/getter rather than option() method to set X86 syntax
11 years ago
Nguyen Anh Quynh
8f13f3c6ab
rename @hex_code to @bytes , and move it to next to @size
11 years ago
Joxean
114df0ef2a
Added @hex_code member
...
It's used to retrieve the bytes of the instruction.
11 years ago
Nguyen Anh Quynh
c618db4473
change option names for cs_option(), and update python binding accordingly to support new cs_option()
11 years ago
Nguyen Anh Quynh
daaed13cc1
python: update to the newly added cs_option() API
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