1. 10 Jan, 2018 2 commits
  2. 05 Jan, 2018 2 commits
  3. 03 Jan, 2018 2 commits
  4. 27 Dec, 2017 2 commits
  5. 26 Dec, 2017 2 commits
  6. 25 Dec, 2017 7 commits
  7. 18 Dec, 2017 2 commits
  8. 10 Dec, 2017 1 commit
    • Juliana Oliveira Rodrigues's avatar
      tests: test_elf: fixed readelf exit code 1 · 9e2013fe
      Juliana Oliveira Rodrigues authored
      Due to a recent code change in readelf, when no section was found,
      readelf returned code 1 instead of the previous code 0. This behaviour
      change caused diffoscope to not append details whenever a section wasn't
      found, including in our own tests.
      
      The modification was made in version 2.29 of binutils and – although was
      quickly fixed in version 2.29.1 – leaves a version hole where diffoscope
      might not work as expected without further information.
      
      This patch adds a version checker for readelf where a few tests are
      ignored if someone happens to be using binutils 2.29.
      
      For more information on the change:
      binutils/readelf.c:get_section_contents
      
      Fixes #877728
      Signed-off-by: 's avatarJuliana Oliveira Rodrigues <juliana.orod@gmail.com>
      9e2013fe
  9. 02 Dec, 2017 3 commits
  10. 29 Nov, 2017 1 commit
  11. 28 Nov, 2017 9 commits
  12. 20 Oct, 2017 1 commit
    • 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
  13. 28 Nov, 2017 2 commits
  14. 04 Nov, 2017 2 commits
  15. 03 Nov, 2017 1 commit
  16. 30 Oct, 2017 1 commit