Bug#1085257: diffoscope: Compare ar(1) archives
Chris Lamb
lamby at debian.org
Thu Oct 17 18:16:25 BST 2024
Hello Alejandro,
> It would be nice to be able to compare ar(1) archives.
It should already do!
$ diffoscope tests/data/test1.a tests/data/test2.a
--- tests/data/test1.a
+++ tests/data/test2.a
├── file list
│ @@ -1,2 +1,2 @@
│ ----------- 0 0 0 10 2015-06-24 12:14:19.000000 /
│ --rw-r--r-- 0 1000 1000 1216 2015-06-24 12:13:47.000000 test.o
│ +---------- 0 0 0 10 2015-06-24 12:14:29.000000 /
│ +-rw-r--r-- 0 1000 1000 1216 2015-06-24 12:14:27.000000 test.o
├── test.o
│ ├── objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn --section=.text {}
│ │ @@ -3,10 +3,10 @@
│ │
│ │ Disassembly of section .text:
│ │
│ │ 0000000000000000 <f>:
│ │ f():
│ │ push %rbp
│ │ mov %rsp,%rbp
│ │ - mov $0x2a,%eax
│ │ + mov $0xffffffff,%eax
│ │ pop %rbp
│ │ ret
Do you not get the same thing? You may need to install the binutils
package.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org 🍥 chris-lamb.co.uk
`-
More information about the Reproducible-builds
mailing list