Erik Hemming
5fdc7de0d9
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Erik Hemming
cc2965bada
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Erik Hemming
a8559cfb78
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Fotis Loukos
0850d55211
Added support for the TMS320C64x architecture.
8 years ago
danghvu
60a7f422fd
Fix a bug in Cython due to renaming
10 years ago
danghvu
06044ffc23
Fix a bug in Cython due to renaming
10 years ago
Nguyen Anh Quynh
4544ba1f02
cython: support cs_regs_access() API
10 years ago
Nguyen Anh Quynh
825a228a0f
python: make Cython binding support X86's @xop_cc
10 years ago
StalkR
0822c3459f
python bindings: rename member struct to _csh to avoid conflict with typedef csh
10 years ago
StalkR
6561c138e0
python bindings: rename member struct to _csh to avoid conflict with typedef csh
10 years ago
StalkR
042c1847ab
python bindings: rename member struct to _csh to avoid conflict with typedef csh
10 years ago
Josh
50c3823f50
- Fixed memory leak for cython disasm functions
10 years ago
Josh
90eb5ff592
- Fixed memory leak for cython disasm functions
10 years ago
Nguyen Anh Quynh
78d640045c
cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel
10 years ago
Nguyen Anh Quynh
4de9de683d
cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel
10 years ago
Nguyen Anh Quynh
6782cbf5fd
cython: support the newly added field mem_barrier in cs_arm
10 years ago
Nguyen Anh Quynh
bd8543152a
cython: add XCore to debug string
10 years ago
danghvu
ebeec9d9c2
Cython: update installation and tests to v3
10 years ago
Nguyen Anh Quynh
770cf6dfd7
cython: update to v3. still need more tests
10 years ago
Nguyen Anh Quynh
0beb0d494b
api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future
10 years ago
Nguyen Anh Quynh
5ef2482af4
python: fix some Cython bugs introduced when X86_REDUCE option was added
11 years ago
Nguyen Anh Quynh
49f8f22984
python: handle SKIPDATA mode properly in test code
11 years ago
Nguyen Anh Quynh
59b5489d8e
x86: rename X86_COMPACT to X86_REDUCE. suggested by Pancake
11 years ago
Nguyen Anh Quynh
9518148e6f
add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change
11 years ago
Nguyen Anh Quynh
965ebf8a25
python: add more information to debug()
11 years ago
Nguyen Anh Quynh
534b416d62
python: thanks to the last change in the core, tricky call to cs_open() is no longer needed for debug()
11 years ago
Nguyen Anh Quynh
9aff233a42
python: fix debug() for Cython
11 years ago
Nguyen Anh Quynh
d0abe15081
python: add debug() function
11 years ago
Nguyen Anh Quynh
548b6b535d
cython: add comments for all API methods
11 years ago
Nguyen Anh Quynh
6f7e3a0c37
cython: add missing counters for CsDetail. this fixes some crashes when accessing related data. also fixes reg_read() & reg_write() for CsInsn
11 years ago
Nguyen Anh Quynh
f4e2344401
cython: add __dealloc__ method to Cs class to free memory when destroying its object. this fixes a memleak bug
11 years ago
Nguyen Anh Quynh
79b6cc7727
cython: raise error when accessing irrelevant data in diet mode
11 years ago
Nguyen Anh Quynh
a6d0d7a688
cython: verify against core's version before doing anything
11 years ago
Nguyen Anh Quynh
22f1c17860
python: fix memleak error in Cython's disasm() & disasm_lite()
11 years ago
Nguyen Anh Quynh
abb48c7a5b
python: fix identation by removing tabs
11 years ago
Nguyen Anh Quynh
43cce296d5
python: implement disasm_lite() for Cython
11 years ago
Nguyen Anh Quynh
1c8405dbd7
python: add SystemZ support
11 years ago
Nguyen Anh Quynh
1055a2e22a
python: support Sparc
11 years ago
Nguyen Anh Quynh
fc947e0419
python: update Cython for the change on @op_str in the core
11 years ago
Nguyen Anh Quynh
7900458f3d
python: fix Cython binding following the latest core change on @op_str
11 years ago
Nguyen Anh Quynh
a84fe66228
python: indentation for cython code. also added author credits to these new files
11 years ago
danghvu
e61c504a9e
Clean up addition cython code
11 years ago
Nguyen Anh Quynh
5dba289478
python: revert the directory name change, so rename 'cython' back to 'pyx'
11 years ago
Nguyen Anh Quynh
f042e5722b
python: rename pyx/ to cython/
11 years ago
Nguyen Anh Quynh
f7f15a8f4e
python: cleaning pkg directory before installing
11 years ago
Nguyen Anh Quynh
b3923cf8b6
python: copying code from capstone/ to pyx/ rather than duplicating code
11 years ago
Nguyen Anh Quynh
6b8445bd11
python: proper support for cython
11 years ago