Commit Graph

36 Commits

Author SHA1 Message Date
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
2019-01-21 17:42:01 +08:00
Fotis Loukos 0850d55211 Added support for the TMS320C64x architecture. 2017-04-14 17:00:40 +03:00
danghvu 60a7f422fd Fix a bug in Cython due to renaming 2015-04-28 13:55:29 +08:00
Nguyen Anh Quynh 4544ba1f02 cython: support cs_regs_access() API 2015-04-02 22:54:52 +08:00
Nguyen Anh Quynh 825a228a0f python: make Cython binding support X86's @xop_cc 2015-03-07 13:49:14 +08:00
StalkR 0822c3459f python bindings: rename member struct to _csh to avoid conflict with typedef csh 2015-02-11 22:16:13 +08:00
Josh 50c3823f50 - Fixed memory leak for cython disasm functions 2015-01-16 22:15:35 +08:00
Nguyen Anh Quynh 78d640045c cython: fix incomplete array of bytes returned by CsInsn.bytes. bug reported by @secretsquirrel 2015-01-07 22:08:35 +08:00
Nguyen Anh Quynh 6782cbf5fd cython: support the newly added field mem_barrier in cs_arm 2014-11-12 11:22:16 +08:00
Nguyen Anh Quynh bd8543152a cython: add XCore to debug string 2014-11-12 11:04:39 +08:00
danghvu ebeec9d9c2 Cython: update installation and tests to v3 2014-09-29 11:55:01 -05:00
Nguyen Anh Quynh 770cf6dfd7 cython: update to v3. still need more tests 2014-09-26 11:25:03 +08:00
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 2014-08-27 22:55:29 +08:00
Nguyen Anh Quynh 5ef2482af4 python: fix some Cython bugs introduced when X86_REDUCE option was added 2014-05-01 21:34:55 +08:00
Nguyen Anh Quynh 49f8f22984 python: handle SKIPDATA mode properly in test code 2014-04-10 17:40:10 +08:00
Nguyen Anh Quynh 59b5489d8e x86: rename X86_COMPACT to X86_REDUCE. suggested by Pancake 2014-03-27 10:54:44 +08:00
Nguyen Anh Quynh 9518148e6f add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change 2014-03-25 23:20:41 +08:00
Nguyen Anh Quynh 1c8405dbd7 python: add SystemZ support 2014-03-23 11:17:24 +08:00
Nguyen Anh Quynh 1055a2e22a python: support Sparc 2014-03-10 14:37:08 +08:00
Nguyen Anh Quynh 965ebf8a25 python: add more information to debug() 2014-03-05 00:35:03 +08:00
Nguyen Anh Quynh 534b416d62 python: thanks to the last change in the core, tricky call to cs_open() is no longer needed for debug() 2014-03-05 00:25:32 +08:00
Nguyen Anh Quynh 9aff233a42 python: fix debug() for Cython 2014-03-04 23:46:36 +08:00
Nguyen Anh Quynh d0abe15081 python: add debug() function 2014-03-04 23:12:04 +08:00
Nguyen Anh Quynh 548b6b535d cython: add comments for all API methods 2014-03-03 12:17:47 +08:00
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 2014-03-03 11:27:30 +08:00
Nguyen Anh Quynh f4e2344401 cython: add __dealloc__ method to Cs class to free memory when destroying its object. this fixes a memleak bug 2014-03-02 22:26:05 +08:00
Nguyen Anh Quynh 79b6cc7727 cython: raise error when accessing irrelevant data in diet mode 2014-02-25 17:06:49 +08:00
Nguyen Anh Quynh a6d0d7a688 cython: verify against core's version before doing anything 2014-02-23 11:36:06 +08:00
Nguyen Anh Quynh 22f1c17860 python: fix memleak error in Cython's disasm() & disasm_lite() 2014-02-20 14:23:40 +08:00
Nguyen Anh Quynh abb48c7a5b python: fix identation by removing tabs 2014-02-20 13:40:59 +08:00
Nguyen Anh Quynh 43cce296d5 python: implement disasm_lite() for Cython 2014-02-20 12:41:12 +08:00
Nguyen Anh Quynh fc947e0419 python: update Cython for the change on @op_str in the core 2014-01-15 17:54:25 +08:00
Nguyen Anh Quynh 7900458f3d python: fix Cython binding following the latest core change on @op_str 2014-01-13 23:59:58 +08:00
Nguyen Anh Quynh a84fe66228 python: indentation for cython code. also added author credits to these new files 2014-01-13 21:07:38 +08:00
danghvu e61c504a9e Clean up addition cython code 2014-01-13 15:50:58 +07:00
Nguyen Anh Quynh 5dba289478 python: revert the directory name change, so rename 'cython' back to 'pyx' 2014-01-10 10:32:25 +08:00