IRC channel logs

2023-06-14.log

back to list of logs

<ccx>Is there any convenient tool I could use to diff ELFs? I'm setting up my own small reproducible build thingy.
<stikonas[m]>ccx: diffoscope
<ccx>Thanks@
<ccx>Thanks!
<Christoph[m]><ccx> "Is there any convenient tool I..." <- I never tried it, but it sounds relevant to your question:
<Christoph[m]> https://www.gnu.org/software/poke/
<ccx>Christoph[m]: Thanks. I remember seeing that a while ago. But I don't see any obvious diff mode in it.
<stikonas>yeah, on the other hand diffoscope does have diff mode, but I haven't found way to control the mode of the diff. I.e. by default it only diffs the headers. And only if they are identical (so file size must be identical) diffoscope would show full hex diff
<ccx>Well, it shows the command it runs for the hexdump, so you can as well call diff manually. But with differing headers/layout the output might be less than useful.
<Christoph[m]>There's a 'structured diff' command in poke since version 3.0: http://www.jemarch.net/poke-3.2-manual/html_node/sdiff.html
<Christoph[m]>I guess diffoscope is better suited.