The DiE (Detect It Easy) library is an open-source project designed to provide a flexible and efficient way to detect packers, cryptors, and compilers in executable files. This documentation will guide you through the process of setting up and using the library.
Before building the DiE library, ensure you have the following dependencies installed:
- Qt: The Qt framework is required for building the project.
- CMake: CMake is used for managing the build process.
- Compiler: A C++ compiler compatible with your operating system (e.g., GCC, Clang, MSVC).
- Clone the repository:
git clone --recursive https://github.com/horsicq/die_library.git cd die_library
- Install Qt and CMake:
For Debian 10 (Buster) and Ubuntu 18.04 (Bionic Beaver) and earlier: sudo apt-get update sudo apt-get install qt5-default cmake build-essential
For Debian 11 (Bullseye) and Ubuntu 20.04 (Focal Fossa) and later: sudo apt-get update sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qtscript5-dev
- Create a build directory:
mkdir build cd build
- Generate Makefiles using CMake:
cmake ..
- Build the project:
make
-
Install Qt and CMake:
- Download and install Qt from Qt's official website.
- Download and install CMake from CMake's official website.
-
Create a build directory:
mkdir build cd build
- Generate Visual Studio project files using CMake:
cmake .. -G "Visual Studio 16 2019"
- Build the project:
Open the generated
.sln
file in Visual Studio and build the solution.
- Install Qt and CMake:
brew install qt cmake
- Create a build directory:
mkdir build cd build
- Generate Makefiles using CMake:
cmake ..
- Build the project:
make
To build the Python binding for the DiE library, refer to the die-python repository.
To build the Rust binding for the DiE library, refer to the die-rust repository.
The DiE library is released under the MIT License. See the LICENSE file for more details.
For further assistance, please refer to the issues section on the GitHub repository or contact the maintainers.