[Reproducible-commits] [debbindiff] 04/06: Ask more objdump to display more sections
Jérémy Bobbio
lunar at moszumanska.debian.org
Thu Mar 19 20:56:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit 68770131b934d0991e2e1c3246ddbf89c5b0c03f
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Mar 19 17:18:44 2015 +0100
Ask more objdump to display more sections
---
debbindiff/comparators/elf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debbindiff/comparators/elf.py b/debbindiff/comparators/elf.py
index 6e7c8ac..8a42f99 100644
--- a/debbindiff/comparators/elf.py
+++ b/debbindiff/comparators/elf.py
@@ -45,7 +45,7 @@ def readelf_debug_dump(path):
@tool_required('objdump')
def objdump_disassemble(path):
output = subprocess.check_output(
- ['objdump', '--disassemble', path],
+ ['objdump', '--disassemble', '--full-contents', path],
shell=False)
# the full path appears in the output, we need to remove it
return re.sub(re.escape(path), os.path.basename(path), output)
@@ -72,7 +72,7 @@ def _compare_elf_data(path1, path2, source=None):
if objdump1 != objdump2:
differences.append(Difference(
objdump1.splitlines(1), objdump2.splitlines(1),
- path1, path2, source='objdump --disassemble'))
+ path1, path2, source='objdump --disassemble --full-contents'))
return differences
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list