2410 Commits

Author SHA1 Message Date
Zach Riggle
1e882cf542 Add ARM64_GRP_INT to AArch64 for SVC instruction 2015-07-27 12:42:06 -04:00
Kamil Rytarowski
b08f4614c5 Allow to build capstone in pkgsrc for FreeBSD and DragonflyBSD 2015-07-27 10:33:15 +08:00
Nguyen Anh Quynh
cc7434c57e python: do not copy msvc/headers directory in setup.py 4.0-alpha2 2015-07-15 17:38:12 +08:00
Nguyen Anh Quynh
a05d82a55f x86: truncat immediate for non-64bit. this fixes the disassembly of the code e9e9eeeeee in 32bit mode 2015-07-11 10:00:29 +08:00
Nguyen Anh Quynh
fec23ae531 fix autogen_x86imm.py to handle some special instructions. this fixed issue #411 reported by @pancake 2015-06-30 20:49:55 +08:00
Nguyen Anh Quynh
de6fa911b5 skip _LOCK_ instructions for augoten_x86.imm.py 2015-06-28 13:14:36 +08:00
Nguyen Anh Quynh
de8dd26780 x86: handle operand size properly for immediate operands 2015-06-28 12:18:13 +08:00
Nguyen Anh Quynh
a5540d843b instructions on cross-compiling for Android with NDK (ported from 'master' branch') 2015-06-22 15:52:45 +08:00
Nguyen Anh Quynh
517a0fe68e mips: remove alias_insns map 2015-06-22 15:30:25 +08:00
Nguyen Anh Quynh
fc3b138e8f make.sh: better Android building and allow passing extra stuff to make. (ported from 'master' branch) 2015-06-22 12:51:21 +08:00
Nguyen Anh Quynh
2ad9eb2a43 mips: delete the alias map SUBU to NEGU. bug reported by @joelpx 2015-06-22 11:21:14 +08:00
Nguyen Anh Quynh
5376f44ed0 Merge pull request #408 from zneak/next
Renamed test.c to test_basic.c in Xcode project
2015-06-21 12:58:57 +08:00
Félix Cloutier
e662a7a2e5 Renamed test.c to test_basic.c 2015-06-21 00:47:50 -04:00
Nguyen Anh Quynh
be68c24076 Merge pull request #407 from yegord/next
Remove reference to missing osxkernel_inttypes.h from CMakeLists.txt
2015-06-21 00:01:12 +08:00
Nguyen Anh Quynh
2a34946e94 Merge pull request #405 from achernet/python-virtualenv-fix
[next] Virtualenv support for Python binding
2015-06-21 00:00:01 +08:00
Yegor Derevenets
6739f9fb13 Remove reference to missing osxkernel_inttypes.h from CMakeLists.txt 2015-06-20 12:25:42 +02:00
Alex Chernetz
e7c653fc23 [Python binding] Add capstone.egg-info to .gitignore
This directory gets created if you install using pip in editable mode.
2015-06-19 23:20:27 -07:00
Alex Chernetz
38094b1098 [Python binding] Fix setup.py to allow installing in a virtualenv
In a virtualenv:
- site.getusersitepackages() won't import
- get_python_lib() will return the directory inside the virtualenv
- the "--user" option can therefore be safely ignored.
2015-06-19 23:18:52 -07:00
Nguyen Anh Quynh
c847d87a0e Merge pull request #404 from w4kfu/next
add CS_AC_READ for X86_CALL16r, X86_CALL32r, X86_CALL64r, X86_JMP16r,…
2015-06-19 23:30:01 +08:00
w4kfu
e3303c1d8c add CS_AC_READ for X86_CALL16r, X86_CALL32r, X86_CALL64r, X86_JMP16r, X86_JMP32r, X86_JMP64r 2015-06-19 17:19:27 +02:00
w4kfu
3dcb8fbc49 remove the redundant detail copy 2015-06-18 11:44:12 +02:00
w4kfu
7a4e5f7305 remove duplicate detail info, modify all access to _detail to _raw.detail.contents 2015-06-18 11:07:05 +02:00
w4kfu
5ffd2f0761 fix issue #398 (Python binding no deep copy of detail pointer) 2015-06-17 17:25:56 +02:00
Nguyen Anh Quynh
3dcbc07e04 mips: remove dead code reported by Coverity 2015-06-17 14:05:46 +08:00
Nguyen Anh Quynh
7bb3508ccb suite: move fuzz_hardness.c to suite/fuzz/ 2015-06-16 17:37:48 +08:00
Felix Grobert
cdd677f3f4 Add debug build target and fuzz testing harness. 2015-06-16 17:35:23 +08:00
Nguyen Anh Quynh
6b019ce8b6 update CREDITS.TXT 2015-06-16 17:18:57 +08:00
Nguyen Anh Quynh
4a273b7e92 mips: return Fail on assert() that we ignored before 2015-06-16 14:06:34 +08:00
Nguyen Anh Quynh
761c9c84a4 ppc: return failure when Base>=32 in decodeMemRIOperands() 2015-06-16 14:03:07 +08:00
Nguyen Anh Quynh
011bf8bf84 ppc: handle invalid CR bits with more than 8 zeros in decodeCRBitMOperand(). bug reported by @felixgr 2015-06-16 13:59:36 +08:00
Nguyen Anh Quynh
c009dc6dbf mips: fix OOB issue in DecodeRegListOperand() reported by @felixgr 2015-06-16 12:29:33 +08:00
Nguyen Anh Quynh
0e9da8736a x86: treat prefix-only sequences of bytes as invalid code. this fixes a NDP reported by @felixgr 2015-06-16 11:57:22 +08:00
gygl09
715d4474b5 Update make.sh
add cross-android64 option in make.sh
2015-06-10 23:49:28 +08:00
Nguyen Anh Quynh
4e41164519 msvc: rename test_basic project 2015-06-09 12:09:39 +08:00
Nguyen Anh Quynh
faf1d3203a msvc: rename test to test_basic 2015-06-09 12:01:46 +08:00
Nguyen Anh Quynh
7de9d777c0 add header guard to myinttypes.h 2015-06-08 23:33:11 +08:00
Nguyen Anh Quynh
5c5d570c8d no longer use osxkernel_inttypes.h for license reason & move the content of msvc\headers\inttypes.h to myinttypes.h 2015-06-08 23:32:59 +08:00
Nguyen Anh Quynh
5c9f03e5f3 Merge branch 'next' of https://github.com/aquynh/capstone into next 2015-06-08 21:51:39 +08:00
Nguyen Anh Quynh
53a059b581 fix warnings on some unused functions when CAPTONE_DIET mode is turn on 2015-06-08 21:51:19 +08:00
Nguyen Anh Quynh
2737135350 python: rename test to test_basic in test_all.py 2015-06-08 17:21:27 +08:00
Nguyen Anh Quynh
3bdc7f8488 update .gitignore for tests/test_basic 2015-06-07 15:56:34 +08:00
Nguyen Anh Quynh
6183e381f9 ppc: avoid potential memleak issue when alias mnemonic is empty in PPC_printInst() 2015-06-06 18:06:38 +08:00
Nguyen Anh Quynh
3cf62514ce ppc: make sure alias mnememonic is not empty in PPC_printInst() 2015-06-06 16:09:15 +08:00
Nguyen Anh Quynh
22bc86f4fe xcore: increase op_count in set_mem_access() only on register operand. bug reported by Ben Nagy 2015-06-06 12:30:14 +08:00
Nguyen Anh Quynh
968ec56c93 tests: remove orphan binaries due to renaming of test.c to test_basic.c 2015-06-06 12:22:39 +08:00
Nguyen Anh Quynh
08df00b9ae x86: properly handle AL/AX/EAX operand of OUT instruction in AT&T syntax 2015-06-06 00:30:00 +08:00
Nguyen Anh Quynh
f16c9bd400 xcore: turn off doing_mem after each printing each instruction. this fixes a memory corruption reported by @felixgr 2015-06-05 18:06:46 +08:00
neuromancer
a210229a0f Allow local installations of the python bindings
These changes will allow a pypi user to locally install capstone using the --user flag. If it possible, please update the correspondent package (https://pypi.python.org/pypi/capstone/3.0.3)
2015-06-04 21:46:09 +08:00
Nguyen Anh Quynh
3808eec033 python: shared library can be unloaded from under our feet. issue reported by @joelpx 2015-06-04 11:37:45 +08:00
Nguyen Anh Quynh
ab6cc88cf4 arm: reduce the size of ARM_ITStatus.ITStates[] to 8 2015-06-03 22:25:22 +08:00