Capstone-5.0.5

Introduction to Capstone

The Capstone package provides a disassembler framework.

Capstone Dependencies

Recommended

Note

make can be used to install the package, but will not provide files for finding Capstone via CMake. CMake must be used to install those files, so using CMake is highly recommended.

Installation of Capstone

Install Capstone by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release  \
      -D BUILD_STATIC_LIBS=OFF     \
      -D BUILD_SHARED_LIBS=ON      \
      -W no-dev -G Ninja .. &&
ninja

Now, as the root user:

ninja install

Contents

Installed Programs: cstool
Installed Libraries: libcapstone
Installed Directories: /usr/include/capstone and /usr/lib/cmake/capstone

Short Descriptions

cstool

allows working with the Capstone engine

libcapstone

contains functions for disassembling binaries