Commit graph

206 commits

Author SHA1 Message Date
Nguyen Anh Quynh
cb2c4f90bf test_x86: output sib_base, sib_index, sib_scale separately 2014-05-17 13:12:29 +08:00
Nguyen Anh Quynh
688efe3018 python: properly handle SIB's registers on irrelevant cases (zero value) of test_x86.py 2014-05-17 11:08:08 +08:00
Nguyen Anh Quynh
1aa60d0921 python: handle invalid argument (zero) for reg_name() & insn_name() of class CsInsn 2014-05-17 11:06:44 +08:00
Nguyen Anh Quynh
1098329f40 python: refactor tests, so it is possible to reuse print_insn_detail() of all archs 2014-05-17 09:51:15 +08:00
Nguyen Anh Quynh
fc3636a0b8 python: update test_all.py 2014-05-17 09:45:23 +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
Ole André Vadla Ravnås
e3ef6659ed Makefile: add support for building python binding out-of-tree 2014-05-01 00:53:01 +02:00
Nguyen Anh Quynh
2ef89c6137 python: add FSTPNCE instruction following the core update 2014-04-23 12:49:48 +08:00
Nguyen Anh Quynh
babb22e009 python: add SAL instruction following the core udpate 2014-04-17 09:40:38 +08:00
Nguyen Anh Quynh
2b2e11b789 python: make cs_disasm_lite() support Python3 2014-04-16 21:20:34 +08:00
Nguyen Anh Quynh
444d2bd3c3 python: expose cs_disasm_lite() 2014-04-16 20:00:06 +08:00
Nguyen Anh Quynh
2daab25891 python: python3 binding requires python3 installed 2014-04-14 16:34:30 +08:00
Nguyen Anh Quynh
e5d30e6980 python: add install3 target for installing Python3 package 2014-04-14 16:33:04 +08:00
Nguyen Anh Quynh
b1e14f913d python: optimize to_x() & to_x_32() for python3 2014-04-14 16:21:34 +08:00
Nguyen Anh Quynh
5a46c146b5 python: fix to_x() & to_x_32() in test.py 2014-04-14 16:13:25 +08:00
Nguyen Anh Quynh
4b9de0df04 python: change SKIPDATA's callback prototype after the last change in the core 2014-04-14 14:56:25 +08:00
Nguyen Anh Quynh
749046bbdc python: initial Python3 support 2014-04-12 01:15:10 +08:00
fenuks
110ab1debd Python 3 support 2014-04-11 11:00:33 +02:00
Nguyen Anh Quynh
669e329ec7 python: temprorarily comment out the code removing old package in setup.py & setup_cython.py. this should be moved somewhere later 2014-04-11 11:25:06 +08:00
Nguyen Anh Quynh
b64d1cf193 refine the comments for Skipdata sample code 2014-04-10 23:05:28 +08:00
Nguyen Anh Quynh
301d740aa3 python: rename skipdata_opt to skipdata_setup & handle callback properly 2014-04-10 22:34:27 +08:00
Nguyen Anh Quynh
1eccbaba38 python: minor fix for test_skipdata.py 2014-04-10 17:48:19 +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
c2638ce57f python: disable setup to skipdata_opt in test_skipdata.py 2014-04-10 16:10:57 +08:00
Nguyen Anh Quynh
f0c577fd3d python: support SKIPDATA option. this also adds test_skipdata.py 2014-04-10 16:09:15 +08:00
Nguyen Anh Quynh
34456afdb1 python: temprorarily comment out the code removing old package in setup.py & setup_cython.py. this should be moved somewhere later 2014-04-10 12:06:55 +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
0d9440ced2 python: expose CS_SUPPORT_X86_COMPACT 2014-03-26 14:03:42 +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
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
7fc8121e6b python: rename cs_version_bind() to version_bind() 2014-03-04 23:56:42 +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
5c7701dc76 python: add some comments for the main APIs 2014-02-28 15:50:25 +08:00
Nguyen Anh Quynh
282c88243e python: fix the leftover cs_close() 2014-02-27 23:54:26 +08:00
Nguyen Anh Quynh
eb1cc1325c python: update following the change to cs_close() API in the core 2014-02-27 23:51:25 +08:00
Nguyen Anh Quynh
b77d1f298e python: add new API cs_version_bind() to return binding's version (might differ from core's) 2014-02-26 14:24:36 +08:00
Nguyen Anh Quynh
27a35fe1a7 python: fix bugs in test.py & test_lite.py 2014-02-25 17:07:25 +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
d5d06ed736 Merge branch 'x86' into next 2014-02-25 15:10:47 +08:00
Nguyen Anh Quynh
0ea1251f50 python & java: update instruction constants after the last core update 2014-02-25 14:44:32 +08:00
Nguyen Anh Quynh
07dc0921c2 python: define CS_SUPPORT_DIET with relation to CS_ARCH_ALL for clarification 2014-02-25 08:17:54 +08:00
Nguyen Anh Quynh
6d05f92f28 python: fix some wrong comments on diet related code 2014-02-24 21:12:40 +08:00
Nguyen Anh Quynh
d3500aa57f python: add a comment regarding CS_SUPPORT_DIET 2014-02-24 21:07:11 +08:00
Nguyen Anh Quynh
3d5c0a49e8 python: cache diet option for better performance 2014-02-24 20:59:07 +08:00
Nguyen Anh Quynh
56a5058fc4 python: more check for diet engine in some APIs 2014-02-24 16:59:53 +08:00