Bug#838260: diffoscope: Reduce noise from offsets deltas in readelf(1) diffs

Daniel Shahaf danielsh at apache.org
Tue Sep 20 08:37:11 UTC 2016


Chris Lamb wrote on Mon, Sep 19, 2016 at 09:47:10 +0100:
> Perhaps there is a perfect solution whereby we would normalise these two
> offsets to — making it up here! — relative values,

I'm not sure I understand what your idea is.  Could you give an example
of how the output might look?

Do you mean, for example,
.
    @@ -1,2 +3,4 @@
    -0x42
    +«0x42 + 0x10»
.
where the original files read "0x42" (first file) and "0x52" (second file)?

> but simply need to nclude that we have done that once in the diff.
> That way, we have a) still captured the underlying issue, b) reduced
> the noise, and c) avoided a cumbersome option flag.



More information about the Reproducible-builds mailing list