commit | 5dccc620b1356c1652bad2a6fdf82830c45e6b2c | [log] [tgz] |
---|---|---|
author | Gabor Buella <gabor.buella@intel.com> | Tue May 02 03:24:45 2017 +0200 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue May 02 09:24:45 2017 +0800 |
tree | 5faf7650a85c5229822bc5d2ab820e5fe8305721 | |
parent | 342f50b423ebd70a4b28b2f9bf078c3179d8d43e [diff] |
cmake - fix SOVERSION property used for libcapstone.so (#914) 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
Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.
Created by Nguyen Anh Quynh, then developed and maintained by a small community, Capstone offers some unparalleled features:
Support multiple hardware architectures: ARM, ARM64 (ARMv8), M68K, Mips, PPC, Sparc, SystemZ, TMS320C64X, XCore and X86 (including X86_64).
Having clean/simple/lightweight/intuitive architecture-neutral API.
Provide details on disassembled instruction (called “decomposer” by others).
Provide semantics of the disassembled instruction, such as list of implicit registers read & written.
Implemented in pure C language, with lightweight bindings for PHP, PowerShell, Emacs, Haskell, Perl, Python, Ruby, C#, NodeJS, Java, GO, C++, OCaml, Lua, Rust, Delphi, Free Pascal & Vala ready either in main code, or provided externally by the community).
Native support for all popular platforms: Windows, Mac OSX, iOS, Android, Linux, *BSD, Solaris, etc.
Thread-safe by design.
Special support for embedding into firmware or OS kernel.
High performance & suitable for malware analysis (capable of handling various X86 malware tricks).
Distributed under the open source BSD license.
Further information is available at http://www.capstone-engine.org
See COMPILE.TXT file for how to compile and install Capstone.
See docs/README for how to customize & program your own tools with Capstone.
See HACK.TXT file for the structure of the source code.
This project is released under the BSD license. If you redistribute the binary or source code of Capstone, please attach file LICENSE.TXT with your products.