It was set as a global property before, but cmake appears to ignore that,
even after the following fix:
-set_property(GLOBAL PROPERTY SOVERSION SOVERSION ${VERSION_MAJOR})
+set_property(GLOBAL PROPERTY SOVERSION ${VERSION_MAJOR})
So this patch removes the global property, and SOVERSION is now specified as
a target specific property. The result of the cmake install target seems better:
Before:
$ ls -la lib
4375834 May 1 16:05 libcapstone.a
3510040 May 1 16:05 libcapstone.so
After:
$ ls -la lib
4375834 May 1 16:05 libcapstone.a
16 May 1 16:08 libcapstone.so -> libcapstone.so.4
20 May 1 16:08 libcapstone.so.4 -> libcapstone.so.4.0.0
3510040 May 1 16:08 libcapstone.so.4.0.0
The SOVERSION property triggers symlink creation in cmake, see:
https://cmake.org/cmake/help/v3.0/prop_tgt/SOVERSION.html
* Bugfix : setting all fields to insns cache
* Bugfix
Fixing root cause, not setting opcode to 0 in default case
* Not resetting opcode to 0 in this case as well
* Finalizing bugfix
* replace if-s in AArch64_AM_decodeAdvSIMDModImmType10 with lookup table
Lookup table is much faster than bunch of if-s. If you don't like lookup tables, I have another proposal. See http://goo.gl/RjW1lr and compare generated machine code
* Smaller lookup table and shifting and bit mask used
* Update AArch64AddressingModes.h
* provide a validity check to prevent against Integer overflow conditions
* fix some style issues.
* provide a validity check in malloc() function to prevent against integer overflow conditions
* missing Ntintsafe.h
* use tabs for indentation
The SETEND instruction is a 16 bit Thumb instruction which is included
in T variants of ARMv6 and above, but is not available in M-Class cores
(see ARM Compiler toolchain Assembler Reference Ver 5.0).
To be consistent with other similar instructions its group flags have
been updated to be:
{ARM_GRP_THUMB, ARM_GRP_V6, ARM_GRP_NOTMCLASS,0}
cstool.c currently imports inttypes.h, which breaks
building on older Visual Studio versions (I've been
testing 2012). This commit removes the explicit include
of inttypes.h, which is already handled in platform.h
(which is included by capstone.h). A define for the
function strtoull (used by cstool) has also been added
to platform.h for the case where MSC_VER <= 1700.
I don't know what effect this will have on OS X builds
as I'm unable to test on that platform.
Also, cstool.c doesn't need to include stdio.h
because it's already included by capstone.h.
* Add a check of MSVC variable before setting flags that link the library with the MSVC static runtime
* Move MSVC guard inside the 'foreach' loop used to force static runtime link