Commit Graph

2305 Commits

Author SHA1 Message Date
Nguyen Anh Quynh e49512b4b0 update ChangeLog for 3.0.4 2015-07-15 11:38:05 +08:00
Nguyen Anh Quynh 5ae730e1d6 Merge branch 'v3' 2015-07-15 11:21:38 +08:00
Nguyen Anh Quynh 11bcd64a2e Merge branch 'pranith-master' 2015-07-13 14:23:33 +08:00
Nguyen Anh Quynh 675788769b Merge branch 'master' of https://github.com/pranith/capstone into pranith-master 2015-07-13 14:21:27 +08:00
Pranith Kumar 07bcd251b1 Fix check for multi-string CC 2015-07-13 00:57:33 -04:00
Nguyen Anh Quynh af806e06ba x86: truncat immediate for non-64bit. this fixes the disassembly of the code e9e9eeeeee in 32bit mode 2015-07-11 10:01:24 +08:00
Nguyen Anh Quynh e9e04052db packages: add RPM spec file (copied from https://bugzilla.redhat.com/attachment.cgi?id=1024818) 2015-06-23 10:48:24 +08:00
Nguyen Anh Quynh 2bb3933260 Merge branch 'master' into v3 2015-06-22 16:50:35 +08:00
Nguyen Anh Quynh 901f407c0c mips: remove alias_insns[] 2015-06-22 15:48:45 +08:00
Nguyen Anh Quynh ffb878ab53 mips: delete the alias map SUBU to NEGU. bug reported by @joelpx 2015-06-22 11:21:49 +08:00
Nguyen Anh Quynh c31f698a2a Merge pull request #406 from achernet/python-virtualenv-fix-master
[master] Virtualenv support for Python binding
2015-06-20 23:59:40 +08:00
Alex Chernetz 6f1e543c53 [Python binding] Add capstone.egg-info to .gitignore
This directory gets created if you install using pip in editable mode.
2015-06-19 23:22:57 -07:00
Alex Chernetz 801178bea4 [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:22:36 -07:00
Nguyen Anh Quynh 36d05945f9 x86: fix immediate operand of AND/OR/XOR instructions. bug reported by @yegord 2015-06-20 10:56:54 +08:00
Nguyen Anh Quynh facb90c466 make.sh: clean before building & add usage instructions for cross-android 2015-06-18 21:28:36 +08:00
Joshua J. Drake d12f55094a Improve support for building for Android devices
The Android NDK is rather finicky, so handle it specially. The most important
part here is using --sysroot for CFLAGS and LDFLAGS.
2015-06-17 12:49:51 -05:00
Joshua J. Drake 158599ec42 Pass command line args after the target to build()
This allows specifying additional arguments to make(1). For example, passing
-j8 to utilize multiple cores when building. Example:

./make.sh default -j8
2015-06-17 11:37:35 -05:00
Nguyen Anh Quynh d8d11edd43 suite: move fuzz_hardness.c to suite/fuzz/ 2015-06-16 17:32:03 +08:00
Nguyen Anh Quynh 99ed490008 update CREDITS.TXT 2015-06-16 17:18:26 +08:00
Nguyen Anh Quynh fdf2a839e4 Merge pull request #397 from felixgr/debug-build
Add debug build target and fuzz testing harness.
2015-06-16 17:14:04 +08:00
Felix Grobert 48cb42d7a7 Add debug build target and fuzz testing harness. 2015-06-16 10:51:40 +02:00
Nguyen Anh Quynh 2ec0f814f9 mips: return Fail on assert failure in MipsDisassembler.c 2015-06-16 14:09:25 +08:00
Nguyen Anh Quynh 06eacaf4c8 ppc: return failure when Base>=32 in decodeMemRIOperands() 2015-06-16 14:03:22 +08:00
Nguyen Anh Quynh d49ec461ab ppc: handle invalid CR bits with more than 8 zeros in decodeCRBitMOperand(). bug reported by @felixgr 2015-06-16 13:59:10 +08:00
Nguyen Anh Quynh 3dcad960f6 x86: treat prefix-only sequences of bytes as invalid code. this fixes a NDP reported by @felixgr 2015-06-16 11:57:45 +08:00
Nguyen Anh Quynh c67e40f997 Merge pull request #391 from gygl09/master
Update make.sh
2015-06-10 23:41:40 +08:00
gygl09 2886fd3835 Update make.sh
add cross-android64 option in make.sh
2015-06-10 07:28:32 -07:00
Nguyen Anh Quynh dcc54cac0a Merge branch 'master' into v3 2015-06-09 00:15:09 +08:00
Nguyen Anh Quynh dfe0eed59b add header guard to myinttypes.h 2015-06-08 23:32:33 +08:00
Nguyen Anh Quynh 79e7b34404 no longer use osxkernel_inttypes.h for license reason & move the content of msvc\headers\inttypes.h to myinttypes.h 2015-06-08 23:21:44 +08:00
Nguyen Anh Quynh 33bf2d11b9 bump version to 3.0.4 2015-06-08 22:29:55 +08:00
Nguyen Anh Quynh 6aaa08a48d suite: add python_capstone_setup.py 2015-06-07 15:55:05 +08:00
Nguyen Anh Quynh c2bc152176 ppc: avoid potential memleak issue when alias mnemonic is empty in PPC_printInst() 2015-06-06 19:11:25 +08:00
Nguyen Anh Quynh c4dbf077da ppc: make sure alias mnememonic is not empty in PPC_printInst() 2015-06-06 16:10:07 +08:00
Nguyen Anh Quynh 2a8091beb4 xcore: increase op_count in set_mem_access() only on register operand. bug reported by Ben Nagy 2015-06-06 12:30:56 +08:00
Nguyen Anh Quynh 3dc31d298a x86: properly handle AL/AX/EAX operand of OUT instruction in AT&T syntax 2015-06-06 00:32:42 +08:00
Nguyen Anh Quynh 3f00a728eb x86: some algorithm instructions with immediate of 1 byte should be printed in positive form 2015-06-06 00:04:03 +08:00
Nguyen Anh Quynh 7c2f5b615a xcore: turn off doing_mem after each printing each instruction. this fixes a memory corruption reported by @felixgr 2015-06-05 18:06:22 +08:00
Nguyen Anh Quynh 1ea95a15ed Merge branch 'patch-1' of https://github.com/neuromancer/capstone into t5 2015-06-04 21:40:58 +08:00
Nguyen Anh Quynh fbae42ed60 x86: revert the old change that check prefix location more strictly 2015-06-04 21:30:15 +08:00
Nguyen Anh Quynh 46ab570881 python: shared library can be unloaded from under our feet. issue reported by @joelpx 2015-06-04 11:38:26 +08:00
Nguyen Anh Quynh 8bd0fdb992 arm: reduce the size of ARM_ITStatus.ITStates[] to 8 2015-06-03 22:25:59 +08:00
Nguyen Anh Quynh e404dc9cbe Merge pull request #386 from igotti-google/master
Fix Thumb disassembler memory corruption with IT sequence (issue #385)
2015-06-03 22:11:15 +08:00
Nikolay Igotti 4fcb31c9d3 Fix Thumb disassembler memory corruption with IT sequence (issue #385) 2015-06-03 15:38:45 +02:00
neuromancer 6fd804412a 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-02 14:31:36 +02:00
Nguyen Anh Quynh ded15775af arm: fix an warning on conversion from uint64_t to bool. issue reported by @yegord 2015-05-24 21:33:17 +08:00
Nguyen Anh Quynh 250ac094c6 do not modify config.mk 2015-05-17 00:52:45 +08:00
Nguyen Anh Quynh 179af6ad66 python: cleanup README.pypi-win 2015-05-15 17:04:16 +08:00
Nguyen Anh Quynh d70f21adb1 python: update PyPi packages installation doc 2015-05-15 17:01:18 +08:00
Nguyen Anh Quynh e8c6e34819 update CREDITS.TXT 2015-05-13 17:23:29 +08:00