isa-audit: x86-64 ELF64 binary ISA feature auditor and CI gateStatic binary verification CLI for catching accidental SIGILL instructions in portable builds and relinkers
- Built a zero-dependency,
#![forbid(unsafe_code)]ELF64 parser and x86-64 decoder supporting legacy, REX, VEX2, VEX3, and EVEX encodings withSTT_FUNCboundary resynchronization and a 427 KB stripped binary footprint. - Measured 281.6 MiB/s (70.1M instructions/sec) single-threaded decode throughput with 0 recovery steps on real Linux binaries (
/usr/bin/objdump,/usr/bin/ls, and self-hosted release builds). - Wrote a deterministic test suite compiling 6 live C++ ISA kernels with
g++ -O2plus byte-by-byte ELF truncation fuzzing, catching and fixing two real defects:ET_RELst_value == 0symbol drops and baselinetzcnt(rep bsf) false positives. - Implemented target profile checks (
x86-64-v1..v4,avx-no-fma), build-to-build regression diffing (isa-audit diff --fail-on-regression), semantic exit codes, RFC 8259 JSON, and GitHub Code Scanning SARIF 2.1.0 output with automated Linux, macOS, and Windows GitHub Releases (v0.2.0).