Skip to content

rizinorg/rz-benchmark-bins

Repository files navigation

Rizin's Binary Analysis Benchmark Binaries

This repository contains scripts to build binaries for several different architectures. The binaries are meant for comparative testing of Rizin's and other reverse engineering frameworks' binary analysis.

The comparison tool can be found at https://github.com/rizinorg/rz-framework-cmp

Binary building

Scripts here require a Debian. Simply because it has a good collection out-of-the-box working cross compilers with libc.

Install dependencies

uv venv
source .venv/bin/activate
uv sync
# Hexagon
sudo apt install musl zstd

Install cross compilers

sudo apt install crossbuild-essential-* build-essential
./setup_hexagon_toolchain.py

Clean up everything (delete all untracked files)

git clean -dfx targets/ src/ archives/

Binutils

# Help
./build_binutils_variants.py -h
# Builds all
./build_binutils_variants.py
# Builds a single architecuture
./build_binutils_variants.py arm-linux-gnu
# Builds a for the local machine
./build_binutils_variants.py "$(uname -m)"

Lint

ruff check .
ruff format --check .
ty check .
reuse lint

About

Rizin's Binary Analysis Benchmark Binaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages