linker-diff

Crates.iolinker-diff
lib.rslinker-diff
version0.6.0
created_at2025-03-01 04:35:41.159194+00
updated_at2025-09-23 00:30:56.058332+00
descriptionDiffs and validates ELF binaries
homepage
repositoryhttps://github.com/davidlattimore/wild
max_upload_size
id1573487
size315,812
David Lattimore (davidlattimore)

documentation

README

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.

Commit count: 1385

cargo fmt