danghvu
cdf6b8222c
Fix mismatch tests' output of python binding
2014-05-14 02:36:45 -05:00
danghvu
0c478ab2f9
Fix Makefile to use && as well in bindings
2014-05-12 14:35:54 -05:00
Nguyen Anh Quynh
d7c2a651c2
java: delete dirs of generated binaries in clean target when BUILDDIR is defined
2014-05-01 21:49:52 +08:00
Nguyen Anh Quynh
e028ac542b
Merge branch 'feature/java-out-of-tree' of https://github.com/frida/capstone into outoftree
2014-05-01 21:36:35 +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
f4f305542f
Makefile: add support for building java binding out-of-tree
2014-05-01 01:38:01 +02: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
0eefeb9335
java: add FSTPNCE instruction following the core update
2014-04-23 12:50:20 +08:00
Nguyen Anh Quynh
2ef89c6137
python: add FSTPNCE instruction following the core update
2014-04-23 12:49:48 +08:00
Nguyen Anh Quynh
a542efe31b
java: add SAL instruction following the core udpate
2014-04-17 09:41:13 +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
892729ca11
java: add error modes, version() & support diet engine
2014-03-03 15:14:22 +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
66b33476aa
java: fix call to cs_close() following core's API change
2014-02-28 10:08:31 +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
Nguyen Anh Quynh
51c822d23c
python: raise CS_ERR_DIET error when accessing irrelevant data in diet engine
2014-02-24 16:54:53 +08:00
Nguyen Anh Quynh
fe4577699a
python: expose cs_disasm_lite() to __init__.py
2014-02-24 10:50:32 +08:00
Nguyen Anh Quynh
a5818fc4f3
Merge branch 'next' of https://github.com/aquynh/capstone into next
2014-02-23 13:44:15 +08:00
Nguyen Anh Quynh
a0a8a003d3
python: add getter for 'diet' & add support() API to Cs class
2014-02-23 13:43:51 +08:00
Nguyen Anh Quynh
5ca85ab8a0
python: argument of cs_support() is query, not arch
2014-02-23 13:36:33 +08:00
Nguyen Anh Quynh
9c715aa034
java: fix indentation
2014-02-23 13:09:38 +08:00
Nguyen Anh Quynh
bf723fa424
java: fix NULL pointr exception introduced by last commit. suggested by Dang Hoang Vu
2014-02-23 13:05:16 +08:00
Nguyen Anh Quynh
a25a7ad231
java: verify against core's version before doing anything
2014-02-23 12:04:37 +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
0a8cbbe627
java: support 'diet' mode
2014-02-22 23:48:32 +08:00
Nguyen Anh Quynh
972bb5b6fc
python: support 'diet' mode
2014-02-22 23:44:44 +08:00
Nguyen Anh Quynh
f86b21e318
python: update README for test_lite.py
2014-02-21 18:10:18 +08:00
Nguyen Anh Quynh
5d0428ebfc
python: add test_lite.py to demonstrate new APIs: cs_disasm_lite() & Cs.disasm_lite()
2014-02-21 18:06:04 +08:00
Nguyen Anh Quynh
b38a1bf320
python: add quick/dirty function cs_disasm_lite() that only returns tuples rather than CsInsn objects
2014-02-21 10:08:17 +08:00
Nguyen Anh Quynh
5288c2eee5
python: add comments for disasm() & disasm_lite()
2014-02-21 09:59:02 +08:00
Nguyen Anh Quynh
e7c5695807
java: fix memleak in disasm()
2014-02-20 14:49:31 +08:00
Nguyen Anh Quynh
0154762513
cython: bump package version to 2.1
2014-02-20 14:25:00 +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
071a7fbaba
python: bump python package version to 2.1
2014-02-20 12:22:53 +08:00
Nguyen Anh Quynh
d53c1651a0
python: implement disasm_lite() method which only return tuples of some critical info. this improves performance by 15%
2014-02-20 12:10:52 +08:00
Nguyen Anh Quynh
046902a990
python & java: update constants following last change to PPC arch
2014-02-19 17:02:44 +08:00
Nguyen Anh Quynh
43a9a9d36f
bump API version from 2.0 to 2.1 for core + Python & Java bindings
2014-02-19 15:18:44 +08:00
Nguyen Anh Quynh
748e4f8f1d
python & java: update following last update to Mips core
2014-02-19 15:13:51 +08:00
Nguyen Anh Quynh
590d1cfd9a
python: verify binding's API version with core's & raise error if they are different
2014-02-09 00:22:39 +08:00
Nguyen Anh Quynh
5bd0e2ea06
java & python: update instructions following the last x86 core update
2014-02-08 18:06:49 +08:00
Nguyen Anh Quynh
ea5ed83cbe
python: improve README for cython binding
2014-02-04 20:29:03 +08:00
Nguyen Anh Quynh
4edf77632e
Merge branch 'master' of https://github.com/dannyleates/capstone into next
2014-02-04 20:10:21 +08:00
dannyleates
8bd0fe480e
Update README
2014-02-04 11:06:25 +00:00
dannyleates
b2a8151a89
Update Readme
...
Giving some more detailed information about the installation process.
2014-02-04 10:39:47 +00:00
Nguyen Anh Quynh
b5236ff33d
java: update after the last change to the core of systemz
2014-03-24 17:29:37 +08:00
Nguyen Anh Quynh
3f59a8cc2b
python: clean test_sparc.py
2014-03-24 17:28:58 +08:00
Nguyen Anh Quynh
aca2db2492
python: update after the last change to the core of systemz
2014-03-24 17:28:27 +08:00
Nguyen Anh Quynh
98726958fe
java: Sparc's operand array size = 4
2014-03-24 16:11:39 +08:00
Nguyen Anh Quynh
21bd3930e6
java: add SystemZ arch
2014-03-23 22:21:54 +08:00
Nguyen Anh Quynh
1c8405dbd7
python: add SystemZ support
2014-03-23 11:17:24 +08:00
Nguyen Anh Quynh
4321468245
java: fix Sparc to get correct CsSparc fields
2014-03-23 10:47:33 +08:00
Nguyen Anh Quynh
1a48ba3636
java: fix Sparc test
2014-03-10 22:31:14 +08:00
Nguyen Anh Quynh
1a39bb59e1
API: bump to 2.2 after the addition of Sparc support
2014-03-10 20:49:46 +08:00
Nguyen Anh Quynh
ea9f4b197e
sparc: add SparcV9 tests
2014-03-10 20:38:01 +08:00
Nguyen Anh Quynh
d067ebc697
java: support Sparc
2014-03-10 15:03:16 +08:00
Nguyen Anh Quynh
30a9d54894
python: add Sparc tests
2014-03-10 14:40:48 +08:00
Nguyen Anh Quynh
1055a2e22a
python: support Sparc
2014-03-10 14:37:08 +08:00
Nguyen Anh Quynh
5d1244d194
java: update X86_const.java after last update to x86 core
2014-01-19 22:50:13 +08:00
Nguyen Anh Quynh
f46713b521
python: update x86_const.py after last update to x86 core
2014-01-19 22:49:36 +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
9eb9f539c2
python & java: update following the last change to @op_str
2014-01-15 17:52:43 +08:00
Nguyen Anh Quynh
0941042274
java: update Mips constants following the change in Mips' core
2014-01-14 23:10:59 +08:00
Nguyen Anh Quynh
a4e6e2a13c
python: update Mips constants following the change in Mips' core
2014-01-14 23:10:30 +08:00
Nguyen Anh Quynh
44cebf2e0b
python & java: pump API to 2.0
2014-01-14 09:33:00 +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
a71a29922c
java: update @opStr & ARM's @Operands following the changes in core
2014-01-13 23:33:27 +08:00
Nguyen Anh Quynh
e03da92ebd
python: update @op_str & ARM's @operands following the changes in core
2014-01-13 23:30:30 +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
Nguyen Anh Quynh
aaaf3458d3
python: update clean target for *.pyx files
2014-01-13 20:44:09 +08:00
danghvu
e61c504a9e
Clean up addition cython code
2014-01-13 15:50:58 +07:00
danghvu
cfd41dd6f5
Improve cython by using CCsInsn when possible
2014-01-13 15:50:58 +07:00
Nguyen Anh Quynh
e14556a615
python: generator yields nothing rather than [] on failure
2014-01-13 14:46:52 +08:00
Nguyen Anh Quynh
377bced8c4
python: correct comment on default value of @detail
2014-01-11 09:51:48 +08:00
Nguyen Anh Quynh
92f8296458
python: turn off detail by default, and raise CS_ERR_DETAIL when detail is OFF
2014-01-11 09:50:16 +08:00
Nguyen Anh Quynh
4c009c7e64
python: instructions on installing Cython as dependency
2014-01-10 11:23:51 +08:00
Nguyen Anh Quynh
d35416a04d
python: add instructions on Cython-based binding to README
2014-01-10 10:37:31 +08: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
Nguyen Anh Quynh
f042e5722b
python: rename pyx/ to cython/
2014-01-10 09:40:55 +08:00
Nguyen Anh Quynh
b49f80dd1a
python: make install is the preferred way to install python binding
2014-01-09 15:03:01 +08:00
Nguyen Anh Quynh
71fe283ec0
python: make clean should not remove everything in pyx/
2014-01-09 10:24:22 +08:00
Nguyen Anh Quynh
58a3e3e5ad
python: cleanup setup*.py
2014-01-09 09:29:36 +08:00
Nguyen Anh Quynh
f7f15a8f4e
python: cleaning pkg directory before installing
2014-01-09 08:14:42 +08:00
Nguyen Anh Quynh
7e0c2cdb77
python: add compile_args for cython
2014-01-08 23:25:30 +08:00
Nguyen Anh Quynh
b3923cf8b6
python: copying code from capstone/ to pyx/ rather than duplicating code
2014-01-08 23:18:28 +08:00
Nguyen Anh Quynh
6b8445bd11
python: proper support for cython
2014-01-08 22:55:06 +08:00
Nguyen Anh Quynh
821247001b
python: another fix for cython
2014-01-08 18:41:43 +08:00
Nguyen Anh Quynh
4c259d4836
python: temporary fix for cython
2014-01-08 18:05:34 +08:00
Nguyen Anh Quynh
99d365fd88
python: cython support - thanks to Tan Sheng Di for helps
2014-01-08 15:56:53 +08:00
Nguyen Anh Quynh
2bb6bdb08e
python: CsInsn's errno() method is missing self argument
2014-01-08 15:26:15 +08:00
Nguyen Anh Quynh
fc4bc120e1
python: correct CS_OPT_SYNTAX_NOREGNAME & add 1 more test to test.py. issue reported by Dang Hoang Vu
2014-01-08 10:23:07 +08:00
Nguyen Anh Quynh
646ca6b066
python: add missing PPC support to the last commit
2014-01-08 09:54:05 +08:00
danghvu
02874e6afe
Shorten python code for getting detail info
2014-01-08 08:20:35 +07:00
Nguyen Anh Quynh
c263d350f7
correct comments on CS_OPT_ON/OFF regarding default detail option
2014-01-07 23:50:02 +08:00
Nguyen Anh Quynh
6a1107c216
java: update following the change to detail mode in the core
2014-01-07 23:47:18 +08:00
Nguyen Anh Quynh
428fdcdfda
python: update following the change to detail mode in the core
2014-01-07 23:39:40 +08:00
Nguyen Anh Quynh
2ba53f5a30
python: avoid copying data inside CsInsn by saving raw information and use getters. Idea of Dang Hoang Vu
2014-01-07 21:48:53 +08:00
Nguyen Anh Quynh
83dd67e405
java: OpenJDK 7 is also supported
2014-01-07 10:58:11 +08:00
Nguyen Anh Quynh
d2f46d7876
remove bindings/csharp - we no longer maintain it
2014-01-06 12:52:18 +08:00
Nguyen Anh Quynh
bc97e6cb13
bump package version to 2.0
2014-01-06 12:50:55 +08:00
Nguyen Anh Quynh
1acfd0b883
move insn_cache into cs_struct to gurantee thread-safe
2014-01-06 10:56:59 +08:00
Nguyen Anh Quynh
1044c3e912
java: indentation fix
2014-01-06 00:06:25 +08:00
Nguyen Anh Quynh
fa02175fba
python: delete redundant .gitignore
2014-01-05 21:34:37 +08:00
Nguyen Anh Quynh
61e572b497
python: update to support PPC
2014-01-05 21:33:04 +08:00
Nguyen Anh Quynh
91e532d5ab
print out ppc_bh information in test_ppc.c & TestPpc.java
2014-01-05 09:15:42 +08:00
danghvu
c476765086
Update java binding for PPC arch
2014-01-05 03:36:35 +07:00
danghvu
5611de05a9
Fix const generator to account for PPC enum style
2014-01-05 03:35:43 +07:00
Nguyen Anh Quynh
5cd6b340c4
python: add PPC test to test.py & test_detail.py
2014-01-05 01:07:14 +08:00
Nguyen Anh Quynh
f1d489b949
ppc: support details information
2014-01-05 00:00:05 +08:00
Nguyen Anh Quynh
34f96389a9
add new API: cs_strerror() return a string describing a given error code. this should be used together with cs_errno()
2014-01-03 22:49:07 +08:00
Nguyen Anh Quynh
5f1f90c559
fix for the last commit, and make the test code no longer specify ppc code as 64bit
2014-01-01 23:28:05 +08:00
Nguyen Anh Quynh
e06b2d0868
python: simplify access to operand's information thanks to some getters for <ARCH>Ops classes
2014-01-01 22:30:53 +08:00
Nguyen Anh Quynh
ef709f0272
python: cs_disasm*() now use generator rather than a list to return disassembled instructions. suggested by Mario Vilas.
2013-12-31 22:55:27 +08:00
Nguyen Anh Quynh
f2d0ff2155
python: add PPC sample to test.py
2013-12-31 21:02:42 +08:00
Nguyen Anh Quynh
4d22779f1c
add the missing include/ppc.h
2013-12-31 21:01:01 +08:00
Nguyen Anh Quynh
42c6b1acc7
initial support for PPC
2013-12-30 00:15:25 +08:00
Nguyen Anh Quynh
51a7710ed7
java: update cs_version() prototype following the changes to this API in the core
2013-12-28 14:05:33 +08:00
Nguyen Anh Quynh
82fe8ff751
python: update binding following the changes to cs_version()
2013-12-28 14:04:20 +08:00
danghvu
80348ba5f7
Clean up unused code and some coding style
2013-12-26 23:16:29 -06:00
danghvu
ef9bd0ab48
Let jna handle alignment, reduce performance but more cross-platform
2013-12-26 22:55:01 -06:00
danghvu
8677ce756c
Minor changes for x86 compatibility
2013-12-26 17:58:33 -06:00
danghvu
03be9f5820
Fix java binding for cs2 branch
2013-12-26 02:11:16 -06:00
Nguyen Anh Quynh
496a62b26b
python: update to new API cs_disasm_ex()
2013-12-25 14:21:49 +08:00
Nguyen Anh Quynh
3a87fb9ad0
python: minor fix for comments of _dummy_cs class
2013-12-23 22:32:47 +08:00
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
2013-12-23 22:30:05 +08:00
Nguyen Anh Quynh
9ac9fcf2b3
python: support newly added API cs_support() & cs_version_ex()
2013-12-22 18:54:05 +08:00
Nguyen Anh Quynh
e76eae2c51
python: fix for README to keep lines within 80 columns for readability
2013-12-20 22:23:46 +08:00
Nguyen Anh Quynh
6eae731d56
Merge branch 'master' of https://github.com/0xKD/capstone into pkgconfig
2013-12-20 22:18:28 +08:00
Nguyen Anh Quynh
7008356bc5
change cs_insn struct to follow the commit 18103e4a
. fixed Python & Java bindings accordingly. attn: bindings
2013-12-20 22:02:20 +08:00
Kedar
6b7b7d9c97
Make instruction distinction clearer
2013-12-20 17:00:15 +05:30
Nguyen Anh Quynh
5f0c6869ca
python: correct the last commit to fix cs_disasm_quick()
2013-12-20 18:55:03 +08:00
Kedar
edf10913fc
Update README for Windows install
2013-12-20 16:04:18 +05:30
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
2013-12-20 17:48:27 +08:00
Nguyen Anh Quynh
1bdb23a76d
add CS_OPT_MODE option. this allows us to change engine's mode at run-time
2013-12-20 00:04:26 +08:00
Nguyen Anh Quynh
d06e2f5ac1
arm: expose alias registers SB, SL, FP & IP. attn: bindings
2013-12-19 16:50:57 +08:00
Nguyen Anh Quynh
53311520cc
Merge branch 'master' of https://github.com/aquynh/capstone
2013-12-17 23:23:26 +08:00
Nguyen Anh Quynh
315930d477
python: correct DLL file for dynamic loading when module is imported
2013-12-17 23:21:39 +08:00
Nguyen Anh Quynh
fa0639b7e1
python: clean setup.py
2013-12-17 22:13:28 +08:00
danghvu
36508ff69f
Fixed size of regWrite, regRead nd group
2013-12-16 23:26:23 -06:00
danghvu
4ef20d54b0
Fixed naming convention
2013-12-16 23:25:57 -06:00
danghvu
13adb95e7e
Fix java error when JNA attempts to readField(op) when op_count == 0
2013-12-16 18:03:47 -06:00
Nguyen Anh Quynh
572afeed7c
python: code style: replace tab with 4 spaces
2013-12-16 11:19:24 +08:00
Nguyen Anh Quynh
29d138fa2b
python: rename some public python classes to follow python naming convention
2013-12-16 10:31:41 +08:00
Nguyen Anh Quynh
7957ed1def
arm64: add some alias registers. attn: bindings
2013-12-15 00:32:20 +08:00
Nguyen Anh Quynh
4994c587ad
bindings: support new 'detail' option for java & python
2013-12-14 11:39:33 +08:00
Nguyen Anh Quynh
ad89d25d05
mips: optimize Mips_map_register() to O(1). suggested by Pancake
2013-12-11 23:20:34 +08:00
Nguyen Anh Quynh
66f6c2283e
mips: fix NEGU alias instruction. bug reported by Pancake
2013-12-11 21:37:24 +08:00
Nguyen Anh Quynh
8940e5c5d0
java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings
2013-12-10 14:44:45 +08:00
Nguyen Anh Quynh
aa036eebc2
bindings: add cs_version() back for python & java
2013-12-10 13:42:48 +08:00
Nguyen Anh Quynh
67fd143a8b
python: remove useless __init__.py
2013-12-10 08:07:18 +08:00
Nguyen Anh Quynh
98bc9c3932
bindings: update java & python follow last API change
2013-12-10 08:06:56 +08:00
Nguyen Anh Quynh
3ff4ccbc5b
bindings: update python & java following mips core engine
2013-12-08 20:19:05 +08:00
Nguyen Anh Quynh
bac111c257
bindings: update python & java following arm64 update
2013-12-08 15:29:08 +08:00
Nguyen Anh Quynh
dcde7e7e70
python: replace op_index() with op_find(), which straightly returns the desired operand rather than its cumbersome index
2013-12-06 21:33:58 +08:00
Nguyen Anh Quynh
f1618bc2ee
python: add error message to CsError and modify all tests to use CsError exception
2013-12-06 20:58:04 +08:00
Nguyen Anh Quynh
73a6dba6c2
python: commented out the printout of @bytes, so 'make tests' doesnt complain anymore
2013-12-06 19:31:28 +08:00
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
2013-12-06 19:29:12 +08:00
Nguyen Anh Quynh
9b542643ac
Merge branch 'cserror'
2013-12-06 18:11:33 +08:00
Nguyen Anh Quynh
cdf41b017d
python: delete dead code
2013-12-06 18:09:40 +08:00
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
2013-12-06 18:06:11 +08:00