Commit Graph

98 Commits

Author SHA1 Message Date
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
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
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
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
danghvu
c476765086 Update java binding for PPC arch 2014-01-05 03:36:35 +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
82fe8ff751 python: update binding following the changes to cs_version() 2013-12-28 14:04:20 +08: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
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
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
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