[Git][reproducible-builds/diffoscope][master] Also ignore, for example, spurious "fwGCC: (Debian ... )" lines in output from strings(1).
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Mon Aug 23 16:23:16 UTC 2021
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
a097e510 by Chris Lamb at 2021-08-23T17:23:07+01:00
Also ignore, for example, spurious "fwGCC: (Debian ... )" lines in output from strings(1).
- - - - -
1 changed file:
- diffoscope/comparators/elf.py
Changes:
=====================================
diffoscope/comparators/elf.py
=====================================
@@ -641,7 +641,7 @@ class ElfContainer(DecompilableContainer):
class Strings(Command):
re_debug_line = re.compile(r"^\s?\w{38,40}\.debug\n$")
- re_gcc_line = re.compile(r"^.?GCC: \([^\)]+\)")
+ re_gcc_line = re.compile(r"^.{1,4}GCC: \([^\)]+\)")
@tool_required("strings")
def cmdline(self):
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/a097e510d1fb54fc3060cbf756bcee5d0b51ccd0
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/a097e510d1fb54fc3060cbf756bcee5d0b51ccd0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20210823/ec58053f/attachment.htm>
More information about the rb-commits
mailing list