Commit Graph

2239 Commits

Author SHA1 Message Date
6b3a1f4e7d fix a MSVC 2015 warning 2016-03-08 11:38:00 +08:00
7d45c01cb3 support Travis CI 2016-03-08 11:34:38 +08:00
501d1ab2f6 support Appveyor 2016-03-08 11:33:48 +08:00
3ffc798787 python: add __version__ 2016-03-06 21:28:45 +08:00
a69dc8736a Merge pull request #589 from scudette/setup_py
Fix setup.py to use setuptools and put the libcapstone.so in the right place.
2016-02-15 22:32:18 +08:00
29ee560688 Support all OSs. 2016-02-11 23:43:22 +01:00
ff5b295b88 Fix setup.py. 2016-02-11 15:24:17 +01:00
66df111b8f update CREDITS.TXT 2016-01-19 21:42:41 +08:00
8c4f19cc13 bindings: add link to CapstoneJ 2015-12-20 10:16:33 +08:00
20eaae4600 Merge pull request #573 from abenkhadra/master
Fix classification of ARM jump instructions
2015-12-17 21:00:58 +08:00
db0a00f2c0 Fix classification of ARM jump instructions
All jump instructions have been classified based on the direct
and indirect_branch flags instead of explicitly stating ARM_GRP_JUMP.
2015-12-17 12:36:48 +01:00
11949b5298 Merge pull request #572 from rpinz/master
fix building on 10.6.8 without breaking other versions
2015-12-17 01:09:10 +08:00
19adb705bf fix building on 10.6.8 without breaking other versions
simplified IS_APPLE grep command by having it return count, with a max find limit of 1 for both Apple $(CC) expected patterns
2015-12-16 11:46:00 -05:00
d1cd38bc04 Merge pull request #568 from kevemueller/masterCherry
improve type safety, use ppc_reg instead of unsigned int
2015-12-15 16:48:08 +08:00
edaf6e29d9 Merge pull request #569 from rpinz/master
fix building on 10.6.8
2015-12-15 13:24:44 +08:00
a0df4af322 fix building on 10.6.8
added __APPLE_CC__ to IS_APPLE test
2015-12-14 23:33:39 -05:00
d6ba243bb1 improve type safety, use ppc_reg instead of unsigned int 2015-12-13 12:53:44 +01:00
787194a4b8 Merge pull request #565 from wmarquesr/master
Refactoring conditional directives.
2015-12-10 01:09:47 +08:00
133f6b3c89 Refactoring conditional directives for incomplete if conditions. 2015-12-07 21:28:30 -03:00
491ebd217a Python 3: CsError.__str__
Choose `CsError.__str__` implementation based on Python version.
2015-11-30 23:51:25 -05:00
b4c382e25f Merge pull request #549 from practicalswift/add-regression-dir-makefile
Add Makefile to suite/regress/ directory.
2015-11-19 16:32:34 +08:00
c055eb96d0 Add suite/regress/invalid_read_in_print_operand 2015-11-19 07:36:54 +01:00
cdc8d5e4de Add Makefile to suite/regress/ directory. 2015-11-18 21:36:39 +01:00
6e931826d9 Merge pull request #548 from practicalswift/invalid_read_in_print_operand
Add crash case: "Invalid read of size 4" in printOperand(…)
2015-11-18 12:01:47 +08:00
beb585960d Add crash case: "Invalid read of size 4" in printOperand(…) 2015-11-17 23:44:29 +01:00
e6616b2f01 Merge pull request #540 from kevemueller/masterCherry
Fix NPE when first instruction to disassemble is broken.
2015-11-14 18:36:21 +08:00
0a9894b0c7 return empty instead null 2015-11-14 09:56:20 +01:00
d08e23edd8 Fix NPE when first instruction to disassemble is broken.
Return null instead.
2015-11-12 22:51:57 +01:00
715bed81e6 Merge pull request #537 from 07151129/master
OS X kernel memory management support
2015-11-11 08:26:45 +08:00
Pb
2c50f16ff7 Fix instruction size define 2015-11-10 23:06:20 +01:00
Pb
fe7cb87c72 OS X kernel support (see https://github.com/aquynh/capstone/pull/528) 2015-11-10 23:02:26 +01:00
673cae3f64 Merge pull request #522 from tj90241/code-cleanup
Code cleanup
2015-10-24 18:32:47 +08:00
7520fe5165 Kill a shadowed declaration of a local variable.
The variable tmp was already defined in the frame.
Redefining it makes some code linters grumpy.

Signed-off-by: Tyler J. Stachecki <tstache1@binghamton.edu>
2015-10-23 20:59:20 -04:00
d096274830 Remove duplicate function declaration.
Signed-off-by: Tyler J. Stachecki <tstache1@binghamton.edu>
2015-10-23 20:55:56 -04:00
5def39eab0 python: perform the last dylib loader only if it fails before that (for El Capitan) 2015-10-19 20:04:47 +08:00
511bef8a7d Merge pull request #518 from kokole/patch-2
LOOP* branch fix for full x64 instructions
2015-10-19 08:28:17 +08:00
6d9573c56f LOOP* branch fix for full x64 instructions
Sorry, since the file is very big I didn't realize there was a 2nd list.
2015-10-18 19:42:31 +02:00
eeb85fc34f Merge pull request #517 from kokole/patch-1
LOOP* instructions are conditional branches
2015-10-18 21:39:56 +08:00
5a0e31ffd5 LOOP* instructions are conditional branches
LOOP, LOOPE and LOOPNE are basically conditional branches http://x86.renejeschke.de/html/file_module_x86_id_161.html
2015-10-18 15:13:25 +02:00
6c22904682 Merge pull request #515 from strazzere/master
Add OSX 10.11 dylib load fix
2015-10-17 11:06:40 +08:00
36cabb6b1d Add OSX 10.11 dylib load fix
El Capitan does not guaranteed that
(DY)LD_LIBRARY_PATH will exist, so force
one last check for the default install
directory that the install script uses.
2015-10-16 17:09:00 -07:00
da470f35b2 x86: coding style 2015-10-08 15:49:12 +08:00
afdedac368 fix comment 2015-10-08 08:49:00 +08:00
55cd95e497 add dedicated variables such as prefix2e, prefix36, prefix66, prefix67, etc 2015-10-07 14:47:24 +08:00
fe1332e73a Merge pull request #503 from onesbug/master
fix:prefix 0x67 missed.
2015-10-06 11:48:17 +08:00
915f5bb879 fix:prefix 0x67 missed. 2015-10-06 11:42:32 +08:00
a496bbfc0c [binding][python] fixup python 3 compatibility
In Python 3.x dict.keys() return a dict_keys object not a list.
2015-10-04 10:44:17 +08:00
65106cfde7 file.write() need bytes when file is opened in binary mode 2015-10-04 00:31:25 +08:00
9a1da62429 Merge pull request #488 from strazzere/master
Fix typo
2015-10-03 10:19:02 +08:00
1e583a03e4 Fix typo 2015-10-02 19:04:59 -07:00