1 unstable release

Uses new Rust 2024

0.4.0 Mar 1, 2025

#294 in Unix APIs

Download history 83/week @ 2025-02-23 64/week @ 2025-03-02 3/week @ 2025-03-09

150 downloads per month
Used in wild-linker

MIT/Apache

340KB
7.5K SLoC

linker-diff

Linker-diff is a command-line utility that diffs two ELF binaries (shared objects or executables). At least one of the binaries being diffed needs layout information as can optionally be produced by the Wild linker.

Usage

The easiest way to use linker-diff is to first make sure it's installed into the same directory as the wild linker, then build with the environment variable WILD_REFERENCE_LINKER set to the name of another linker. e.g.

WILD_REFERENCE_LINKER=ld cargo test

When this variable is set, each time the wild linker is invoked, it'll call the specified linker then run linker-diff on the result.

Dependencies

~23–34MB
~613K SLoC