Commit graph

324 commits

Author SHA1 Message Date
Nguyen Anh Quynh
bcf684dbad python: rename variable 'result' to 'src' 2015-01-30 11:16:48 +08:00
Nguyen Anh Quynh
84fc7401fe python: port some old fixes from setup.py on pypi branch to v3 branch 2015-01-30 10:52:17 +08:00
Nguyen Anh Quynh
ce10b01ad5 python: fix setup.py, so we only copy the core with sdist, thus normal build/compile process does not build the core 2015-01-30 10:49:01 +08:00
Nguyen Anh Quynh
19af3ec9e0 Makefile: rename BUILD_CORE_ONLY to CAPSTONE_BUILD_CORE_ONLY for consistency 2015-01-30 10:48:52 +08:00
Nguyen Anh Quynh
08a21a6558 python: fix README (libcapstone.dll -> capstone.dll) 2015-01-30 10:48:42 +08:00
Nguyen Tan Cong
1b8cc8d2af reverse -b option in Makefile; parse parameters with parse_known_args to ignore error when passing extra options; fixbug python3: use print statement 2015-01-30 10:48:29 +08:00
Nguyen Tan Cong
b54c60c063 Edit Makefile to appropriate with new setup.py 2015-01-30 10:48:12 +08:00
Nguyen Tan Cong
60dcfa0948 add --do-not-build-core to setup.py to prevent it install core library 2015-01-30 10:47:46 +08:00
Nguyen Tan Cong
8b839a2af4 edit script to create Pypi package 2015-01-30 10:47:36 +08:00
Nguyen Anh Quynh
af19b53119 python: make setup.py support other *nix systems (i.e non-Windows) 2015-01-30 10:45:51 +08:00
Nguyen Anh Quynh
53e92938ce python: build the core with make.sh for all non-Windows system 2015-01-30 10:45:00 +08:00
Nguyen Tan Cong
ac0cb810f4 python: prevent Windows system copying *nix core library to Python library directory 2015-01-30 10:43:18 +08:00
Nguyen Tan Cong
3e605a00ac python: fix another conflict when merging pypi to v3 2015-01-30 10:40:05 +08:00
Nguyen Anh Quynh
8d4a78cd83 python: setup.py should not install the core, and no need to put BUILD_CORE_ONLY into config.mk 2015-01-30 10:38:40 +08:00
Nguyen Tan Cong
3d6e56a66f python: fix conflict when merging pypi branch to v3 branch 2015-01-30 10:37:58 +08:00
Nguyen Tan Cong
30f08588ef fixbug: wrong library extension on Mac OS X 2015-01-30 10:36:25 +08:00
Michael Cohen
f051e8fd8e python: another conflict on API version between pypi & v3 branch 2015-01-30 10:34:01 +08:00
Michael Cohen
aac18de793 python: fix a conflict when cherry-pick code from old pypi branch 2015-01-30 10:32:24 +08:00
Michael Cohen
18ee47b366 Updated setup.py so it can build the capstone library by itself.
This is a requirement for an automated install via pip. After this change it
should be possible to depend on captone in pip and have it built automatically.
2015-01-30 10:25:09 +08:00
Aidan Hobson Sayers
b449e54e25 Set _detail in a dummy Cs, closes #251 2015-01-21 06:48:27 +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
Maciej Szawlowski
2c24d88f89 fixed bug that prevented using md.detail = true and md.skipdata = true together 2014-12-31 10:33:05 +08:00
Nguyen Anh Quynh
2537cfd669 python: fix a memory leak issue when we stop enumeration over the disassembled instructions prematurely. patch by Jan Newger 2014-12-16 00:09:40 +08:00
Nguyen Anh Quynh
8ab01369d7 python: export generic operand types & groups 2014-11-19 22:12:40 +08:00
Nguyen Anh Quynh
89460299c3 python: python2.6 does not understand sys.versionn_info.major 2014-11-19 14:37:08 +08:00
Nguyen Anh Quynh
faa925ab8f fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op 2014-11-17 11:39:36 +08:00
Nguyen Anh Quynh
75c9b6a45c python: fix comments on hardware modes 2014-11-13 11:55:56 +08:00
Nguyen Anh Quynh
143a494ae7 python: add CS_MODE_MIPS32/64 2014-11-13 11:45:57 +08:00
Nguyen Anh Quynh
ec58a02c6d python: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 11:42:38 +08:00
Nguyen Anh Quynh
7e75ca6d21 python: CS_MODE_MIPS32R6 is independent from CS_MODE_32 2014-11-13 11:17:38 +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
128124c995 python: typo on README 2014-11-12 11:13:39 +08:00
Nguyen Anh Quynh
bd8543152a cython: add XCore to debug string 2014-11-12 11:04:39 +08:00
Nguyen Anh Quynh
9ba1906470 python: test_ppc.py prints crx.scale & crx.cond as integers 2014-11-12 10:13:11 +08:00
Nguyen Anh Quynh
0b3d95e4b3 java/ocaml/python: support the newly added mem_barrier field of cs_arm struct 2014-11-11 23:00:35 +08:00
Nguyen Anh Quynh
2e40e69207 arm: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8 2014-11-11 21:54:22 +08:00
Nguyen Anh Quynh
c942f22a09 arm: support new mode CS_MODE_V8 for Armv8 A32 encodings 2014-11-10 21:52:09 +08:00
Nguyen Anh Quynh
248519efea mips: properly handle Mips32R6 mode. bug reported by Jay Oster 2014-11-09 14:07:07 +08:00
Nguyen Anh Quynh
a65d7ef5fa java/ocaml/python: update bindings after the last change on generic instruction groups 2014-10-31 15:47:17 +08:00
Nguyen Anh Quynh
69271ddf74 java/ocaml/python: add the missing generic instruction operand types 2014-10-31 14:32:34 +08:00
Nguyen Anh Quynh
b0464ef805 java/python/ocaml: update bindings after the last changes on operand types 2014-10-31 13:59:19 +08:00
Nguyen Anh Quynh
5720cb7ae1 tests: add tests for mips's modes: MIPS32R6 & MICRO (C & Python code) 2014-10-29 22:35:02 +08:00
Nguyen Anh Quynh
58086346bc java/python/ocaml: update after latest changes in x86.h 2014-10-18 06:16:26 +08:00
Nguyen Anh Quynh
4d2c362aa6 python: update after the latest change on PPC in the core 2014-10-17 21:51:13 +08:00
Jay Oster
79e253c516 Remove CS_MODE_N64
- This mode is for the so-called MIPS "N64" ABI; it has nothing to do with the Nintendo 64 game platform.
- N64, O64, et al. are just different ABIs for the 64-bit MIPS architecture, so we replace CS_MODE_N64 with the existing CS_MODE_64
2014-10-12 16:03:12 -07:00
Nguyen Anh Quynh
db8eaa3d0b bindings: remove MIPS_REG_PC constant following the change in the core 2014-10-10 21:13:30 +08:00
Nguyen Anh Quynh
b0cc71da59 bindings: update java/ocaml/python after the last change in Arm's core 2014-10-06 21:01:32 +08:00
Nguyen Anh Quynh
984d45068c Makefile: add 'check' target 2014-10-01 16:42:29 +08:00
Nguyen Anh Quynh
839890b83a tests: use cs_group_name() to print out group names in test_detail.c & test_detail.py 2014-10-01 10:51:18 +08:00