Expand description
This crate finds differences between two ELF files. It’s intended use is where the files were produced by different linkers, or different versions of the same linker. So the input files should be the same except for where the linkers make different decisions such as layout.
Because the intended use is verifying the correct functioning of linkers, the focus is on avoiding false positives rather than avoiding false negatives. i.e. we’d much rather fail to report a difference than report a difference that doesn’t matter. Ideally a reported difference should indicate a bug or missing feature of the linker.
Right now, performance of this library is not a priority, so there’s quite a bit of heap allocation going on that with a little work could be avoided. If we end up using this library as part of a fuzzer this may need to be optimised.
Structs§
Enums§
Functions§
- enable_
diagnostics - Enable diagnostics. Configures the global tracing subscriber, so cannot be used in conjunction with other things that do that. For that reason, this should be called from the main binary.