• Mike Hommey's avatar
    Add fallbacks to elf code section disassembly. (Closes: #879003) · bfbb1223
    Mike Hommey authored
    Because objdump --line-numbers can be extremely slow, it can be worth
    skipping it, and just get a disassembly (especially when the files don't
    contain line numbers debug info, where ironically, objdump is slow with
    --line-numbers).
    
    The --exclude-command command line option allows to skip some commands,
    and one can use that to skip the command that uses --line-numbers, but
    in that case, no difference is shown for the code sections.
    
    This change adds a fallback in that case, where objdump is called
    without the --line-numbers command, making disassembly faster.
    
    But that can still be too time consuming (especially because the output
    can be large, and diffing that can be a long process, so allow to
    exclude /that/ too, and fallback to an hexdump in that case.
    bfbb1223
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
diffoscope Loading commit data...
doc Loading commit data...
tests Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
logo.svg Loading commit data...
setup.py Loading commit data...