Permalink
Browse files

Update capstone to 3.0.5

  • Loading branch information...
vit9696 committed Aug 2, 2018
1 parent 40955a2 commit 686267d9144e56df7a9a1efefda3000a1e602f91
Showing with 68 additions and 2 deletions.
  1. +60 −0 capstone/ChangeLog
  2. +1 −1 capstone/arch/Mips/MipsModule.c
  3. +6 −0 capstone/bindings/python/capstone/__init__.py
  4. +1 −1 capstone/pkgconfig.mk
View
@@ -1,5 +1,65 @@
This file details the changelog of Capstone.
---------------------------------
Version 3.0.5: July 18th, 2018
[ Core ]
- Fix the include path for Android builds when building cstool.
- Add posibility to disable universal build for Mac OS.
- cstool: Separate instruction bytes by spaces.
- Fix code path of pkg-config in Cmake.
- Update XCode project for XCode 9.1.
- Add Cortex-M support to cstool.
- Cmake forces to be build using MT with MSVC.
- Better support for Mac OS kernel.
[ X86 ]
- Fix some issues in handling EVEX & VEX3 instructions.
- Fix immediate operand for AND instruction in ATT mode.
- Fix ATT syntax when imm operand is 0.
- Better handle XACQUIRE/XRELEASE.
- Fix imm operand of RETF.
[ ARM ]
- Fix an integer overlow bug.
[ ARM64 ]
- Bug fix for incorrect operand type in certain load/store instructions.
[ Mips ]
- Mode CS_MODE_MIPS32R6 automatically sets CS_MODE_32
[ PPC ]
- Fix endian check.
[ Sparc ]
- Fix an integer overlow bug.
[ SystemZ ]
- Fix an integer overlow bug.
[ Python binding ]
- Raise error on accessing irrelevant data fields if skipdata & detail modes are enable.
---------------------------------
Version 3.0.5-rc3: July 31st, 2017
@@ -11,7 +11,7 @@
#include "MipsModule.h"
// Returns mode value with implied bits set
static inline cs_mode updated_mode(cs_mode mode)
static cs_mode updated_mode(cs_mode mode)
{
if (mode & CS_MODE_MIPS32R6) {
mode |= CS_MODE_32;
@@ -541,6 +541,10 @@ def groups(self):
raise CsError(CS_ERR_DETAIL)
def __gen_detail(self):
if self._raw.id == 0:
# do nothing in skipdata mode
return
arch = self._cs.arch
if arch == CS_ARCH_ARM:
(self.usermode, self.vector_size, self.vector_data, self.cps_mode, self.cps_flag, self.cc, self.update_flags, \
@@ -577,6 +581,8 @@ def __getattr__(self, name):
if 'operands' not in _dict:
self.__gen_detail()
if name not in _dict:
if self._raw.id == 0:
raise CsError(CS_ERR_SKIPDATA)
raise AttributeError(name)
return _dict[name]
View
@@ -9,4 +9,4 @@ PKG_MINOR = 0
PKG_EXTRA = 5
# version tag. Examples: rc1, b2, post1
PKG_TAG = rc3
PKG_TAG =

0 comments on commit 686267d

Please sign in to comment.