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
ef709f0272
python: cs_disasm*() now use generator rather than a list to return disassembled instructions. suggested by Mario Vilas.
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
42c6b1acc7
initial support for PPC
11 years ago
Nguyen Anh Quynh
51a7710ed7
java: update cs_version() prototype following the changes to this API in the core
11 years ago
Nguyen Anh Quynh
82fe8ff751
python: update binding following the changes to cs_version()
11 years ago
danghvu
80348ba5f7
Clean up unused code and some coding style
11 years ago
danghvu
ef9bd0ab48
Let jna handle alignment, reduce performance but more cross-platform
11 years ago
danghvu
8677ce756c
Minor changes for x86 compatibility
11 years ago
danghvu
03be9f5820
Fix java binding for cs2 branch
11 years ago
Nguyen Anh Quynh
496a62b26b
python: update to new API cs_disasm_ex()
11 years ago
Nguyen Anh Quynh
3a87fb9ad0
python: minor fix for comments of _dummy_cs class
11 years ago
Nguyen Anh Quynh
3cbb23064e
python: keep referencing Cs class so make sure it is around until all CsInsn objects are deleted. bug reported by felixwilhelm
11 years ago
Nguyen Anh Quynh
9ac9fcf2b3
python: support newly added API cs_support() & cs_version_ex()
11 years ago
Nguyen Anh Quynh
e76eae2c51
python: fix for README to keep lines within 80 columns for readability
11 years ago
Nguyen Anh Quynh
7008356bc5
change cs_insn struct to follow the commit 18103e4a
. fixed Python & Java bindings accordingly. attn: bindings
11 years ago
Kedar
6b7b7d9c97
Make instruction distinction clearer
11 years ago
Nguyen Anh Quynh
a1818520df
python: correct the last commit to fix cs_disasm_quick()
11 years ago
Nguyen Anh Quynh
630a86bcd8
python: cs_disasm_quick() doesnt create CsInsn array on return, and makes reference to non-existent self. bug reported by Mario Vilas
11 years ago
Nguyen Anh Quynh
5f0c6869ca
python: correct the last commit to fix cs_disasm_quick()
11 years ago
Kedar
edf10913fc
Update README for Windows install
11 years ago
Nguyen Anh Quynh
e71abd4666
python: cs_disasm_quick() doesnt create CsInsn array on return, and makes reference to non-existent self. bug reported by Mario Vilas
11 years ago
Nguyen Anh Quynh
1bdb23a76d
add CS_OPT_MODE option. this allows us to change engine's mode at run-time
11 years ago
Nguyen Anh Quynh
d06e2f5ac1
arm: expose alias registers SB, SL, FP & IP. attn: bindings
11 years ago
Nguyen Anh Quynh
315930d477
python: correct DLL file for dynamic loading when module is imported
11 years ago
Nguyen Anh Quynh
fa0639b7e1
python: clean setup.py
11 years ago
danghvu
36508ff69f
Fixed size of regWrite, regRead nd group
11 years ago
danghvu
4ef20d54b0
Fixed naming convention
11 years ago
danghvu
13adb95e7e
Fix java error when JNA attempts to readField(op) when op_count == 0
11 years ago
Nguyen Anh Quynh
572afeed7c
python: code style: replace tab with 4 spaces
11 years ago
Nguyen Anh Quynh
29d138fa2b
python: rename some public python classes to follow python naming convention
11 years ago
Nguyen Anh Quynh
7957ed1def
arm64: add some alias registers. attn: bindings
11 years ago
Nguyen Anh Quynh
4994c587ad
bindings: support new 'detail' option for java & python
11 years ago
Nguyen Anh Quynh
ad89d25d05
mips: optimize Mips_map_register() to O(1). suggested by Pancake
11 years ago
Nguyen Anh Quynh
66f6c2283e
mips: fix NEGU alias instruction. bug reported by Pancake
11 years ago
Nguyen Anh Quynh
8940e5c5d0
java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings
11 years ago
Nguyen Anh Quynh
aa036eebc2
bindings: add cs_version() back for python & java
11 years ago
Nguyen Anh Quynh
67fd143a8b
python: remove useless __init__.py
11 years ago
Nguyen Anh Quynh
98bc9c3932
bindings: update java & python follow last API change
11 years ago
Nguyen Anh Quynh
3ff4ccbc5b
bindings: update python & java following mips core engine
11 years ago
Nguyen Anh Quynh
bac111c257
bindings: update python & java following arm64 update
11 years ago
Nguyen Anh Quynh
dcde7e7e70
python: replace op_index() with op_find(), which straightly returns the desired operand rather than its cumbersome index
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
db048ab1c1
python: reimplement cs_op_count(), cs_op_index() & cs_insn_group() in python, so no need to save instruction raw data anymore
11 years ago
Nguyen Anh Quynh
cdf41b017d
python: delete dead code
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
486111c52d
Update Makefile to be able to test each binding individually
11 years ago