Commit Graph

2155 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 4c930ba917 update ChangeLog for 3.0.4 2015-07-15 11:38:05 +08:00
Nguyen Anh Quynh 98d1e71f07 Merge branch 'v3' 2015-07-15 11:21:38 +08:00
Nguyen Anh Quynh 9c7d3602e1 Merge branch 'pranith-master' 2015-07-13 14:23:33 +08:00
Nguyen Anh Quynh 815c271ecf Merge branch 'master' of https://github.com/pranith/capstone into pranith-master 2015-07-13 14:21:27 +08:00
Pranith Kumar 921be5ad06 Fix check for multi-string CC 2015-07-13 00:57:33 -04:00
Nguyen Anh Quynh 1757603fb1 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 c5e44a8c64 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 1a7a13e4da Merge branch 'master' into v3 2015-06-22 16:50:35 +08:00
Nguyen Anh Quynh 1304fc225a mips: remove alias_insns[] 2015-06-22 15:48:45 +08:00
Nguyen Anh Quynh a25e41b76c mips: delete the alias map SUBU to NEGU. bug reported by @joelpx 2015-06-22 11:21:49 +08:00
Nguyen Anh Quynh ca38dbee9f 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 2aa4504c43 [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 5799c485a6 [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 459556c769 x86: fix immediate operand of AND/OR/XOR instructions. bug reported by @yegord 2015-06-20 10:56:54 +08:00
Nguyen Anh Quynh 89b7330f5c make.sh: clean before building & add usage instructions for cross-android 2015-06-18 21:28:36 +08:00
Joshua J. Drake cbd0392a6d 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 584d3f4a18 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 0dbf1b9636 suite: move fuzz_hardness.c to suite/fuzz/ 2015-06-16 17:32:03 +08:00
Nguyen Anh Quynh 5000dec375 update CREDITS.TXT 2015-06-16 17:18:26 +08:00
Nguyen Anh Quynh 6dcb0ea736 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 c9fff21b69 Add debug build target and fuzz testing harness. 2015-06-16 10:51:40 +02:00
Nguyen Anh Quynh 2f6ea60772 mips: return Fail on assert failure in MipsDisassembler.c 2015-06-16 14:09:25 +08:00
Nguyen Anh Quynh 3a46e85ad2 ppc: return failure when Base>=32 in decodeMemRIOperands() 2015-06-16 14:03:22 +08:00
Nguyen Anh Quynh 7ae9c9d9d3 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 e5aa75131b 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 71c7c17db8 Merge pull request #391 from gygl09/master
Update make.sh
2015-06-10 23:41:40 +08:00
gygl09 aaa07bf340 Update make.sh
add cross-android64 option in make.sh
2015-06-10 07:28:32 -07:00
Nguyen Anh Quynh 1cd6e23235 Merge branch 'master' into v3 2015-06-09 00:15:09 +08:00
Nguyen Anh Quynh 75093f2cf7 add header guard to myinttypes.h 2015-06-08 23:32:33 +08:00
Nguyen Anh Quynh c18e97ddf5 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 ebc370ff40 bump version to 3.0.4 2015-06-08 22:29:55 +08:00
Nguyen Anh Quynh 7574ed9802 suite: add python_capstone_setup.py 2015-06-07 15:55:05 +08:00
Nguyen Anh Quynh fb18a93f73 ppc: avoid potential memleak issue when alias mnemonic is empty in PPC_printInst() 2015-06-06 19:11:25 +08:00
Nguyen Anh Quynh 5cb356061e ppc: make sure alias mnememonic is not empty in PPC_printInst() 2015-06-06 16:10:07 +08:00
Nguyen Anh Quynh aa7c6cd6ce 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 e39f9e1ab9 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 743832a80f 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 b0a1832d2d 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 0c391bb88b Merge branch 'patch-1' of https://github.com/neuromancer/capstone into t5 2015-06-04 21:40:58 +08:00
Nguyen Anh Quynh c0bf7f6e48 x86: revert the old change that check prefix location more strictly 2015-06-04 21:30:15 +08:00
Nguyen Anh Quynh 8ac478bd4b 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 e42aaffb8d arm: reduce the size of ARM_ITStatus.ITStates[] to 8 2015-06-03 22:25:59 +08:00
Nguyen Anh Quynh 9459ff77fd 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 1bcb7d6cc6 Fix Thumb disassembler memory corruption with IT sequence (issue #385) 2015-06-03 15:38:45 +02:00
neuromancer 911d0506cd 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 b1d12e50d4 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 9f9ba0bbf9 do not modify config.mk 2015-05-17 00:52:45 +08:00
Nguyen Anh Quynh cff5186e08 python: cleanup README.pypi-win 2015-05-15 17:04:16 +08:00
Nguyen Anh Quynh 53c2b0a290 python: update PyPi packages installation doc 2015-05-15 17:01:18 +08:00
Nguyen Anh Quynh 1fab3de713 update CREDITS.TXT 2015-05-13 17:23:29 +08:00