The correct compiler was not being passed to cstool/Makefile. The expected name
for the capstone lib was also incorrect - there is no "lib" prefix when
compiling with mingw.
* Support CAPSTONE_STATIC with __GNUC__ compilers
* Allow custom export rules
* Make CAPSTONE_SHARED the default visibility option with GNUC (avoids behaviour changes)
* Reduce capstone static build size (mainly for kernel usage)
* Allow basic cs_detail support in diet mode
* Fixed valid_bnd unused function warning
* Do not disable cs_detail generation in CAPSTONE_DIET, use CAPSTONE_NO_DETAIL for that.
* Reverted CAPSTONE_NO_DETAIL at least until capstone supports more flexible configuration
* Added a missing endif
* Disallow custom export rules
* 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
* add cstool project
* Rename test.c to test_basic.c with corresponding executable name change.
* Fix Makefile, tests/Makefile to comprehend renamed test program. See issue #922
* Fix XCode project to comprehend renamed test program. See issue #922
* Rename python test.py to test_basic.py to parallel C test name. See issue #922
* Rename ocaml test.ml to test_basic.ml to parallel C test name. See issue #922
* Fix MSVC project definitions to comprehend renamed test program. See issue #922
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