Skip to content

Releases

v0.1.0

Choose a tag to compare

@alexander-src alexander-src released this 23 Nov 11:24
dee4c37

First release of bincompat, a zero-dependency safe Rust (#![forbid(unsafe_code)]) static ELF64 scanner for Linux binary portability and hardening CI gates.

Highlights

  • ELF64 header, program header, dynamic table, .dynsym, .symtab, .gnu.version, and .gnu.version_r parser with exact offending-symbol attribution (including weak and 0x8000 hidden flags).
  • bincompat scan <path>: reports DT_NEEDED, RPATH/RUNPATH, hardening posture (PIE, RELRO, NX, stack canary), symbol version floors, ABI tags (GLIBC_ABI_DT_RELR), and a built-in 8-distro compatibility matrix.
  • bincompat check <path>: enforces --target <distro> presets (rhel-8, ubuntu-20.04, debian-11, rhel-9, ubuntu-22.04, debian-12, ubuntu-24.04, debian-13), explicit --max-glibc / --max-glibcxx / --max-version, --forbid-abi-tag, --forbid-rpath, and --require-hardening.
  • bincompat diff <baseline> <candidate>: detects added shared libraries, bumped symbol version floors, new ABI tags, added RPATH/RUNPATH, and hardening regressions between builds.
  • Structured output via --format text|json|markdown|sarif (SARIF 2.1.0 rules BC001..BC007 and BC101..BC105).

Verification

  • cargo fmt --all -- --check, cargo clippy --all-targets -- -D warnings, and cargo test --all-targets passing on Linux, macOS, and Windows CI.
  • Live readelf ground-truth tests and byte-by-byte truncation safety tests.

Attached Artifacts

  • bincompat-v0.1.0-x86_64-unknown-linux-gnu.tar.gz (stripped x86_64 Linux binary)
  • SHA256SUMS.txt