Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Reproducible Builds
diffoscope
Compare revisions
0c680ec8fefd6478deb7504c3df75d083ffe70f8...a0486e571a5fe447e853c7be35819381f43c163c
Commits (2)
Clarify the comment about the HUGE_TOOLS dict.
· 0649fb3e
Chris Lamb
authored
Aug 31, 2021
0649fb3e
Format the debug messages for elf sections using diffoscope.utils.format_class.
· a0486e57
Chris Lamb
authored
Aug 31, 2021
a0486e57
Hide whitespace changes
Inline
Side-by-side
diffoscope/comparators/elf.py
View file @
a0486e57
...
...
@@ -491,7 +491,12 @@ class ElfContainer(DecompilableContainer):
][
0
]
logger
.
debug
(
"Adding section %s (%s) as %s"
,
name
,
type
,
elf_class
"Adding section %s (%s) as %s"
,
name
,
type
,
format_class
(
elf_class
,
strip
=
"diffoscope.comparators.elf."
),
)
self
.
_sections
[
name
]
=
elf_class
(
self
,
name
)
...
...
diffoscope/external_tools.py
View file @
a0486e57
...
...
@@ -250,10 +250,10 @@ REMAPPED_TOOL_NAMES = {}
# version (so that our tests don't break) then it's unnecessary to add it here.
GNU_TOOL_NAMES
=
{
"diff"
,
"readelf"
,
"objcopy"
,
"objdump"
}
# Set of tools considered "large" their installation size
,
or too niche in
# their target users.
To be
easily excluded from installation
if not
#
specifically required.
#
These are the names of the tools
, not package names.
# Set of tools considered "large"
in
their installation size or too niche in
# their target users.
This is so they can
easily
be
excluded from installation
#
if not required in most cases. Note that these are the names of the tools
#
(ie. the keys in the EXTERNAL_TOOLS dict)
, not
the
package names.
HUGE_TOOLS
=
{
"ghc"
,
"ocamlobjinfo"
,
...
...