Skip to content
Snippets Groups Projects
  1. Jun 03, 2021
  2. Jan 15, 2019
  3. May 04, 2018
  4. Feb 26, 2017
  5. Feb 01, 2017
    • Guillem Jover's avatar
      Dpkg::Shlibs::Objdump: Mask ABI bits in flags for ARM · 66f08193
      Guillem Jover authored
      These are too unreliable for exact matches. There are objects with
      EABIv4 in the wild, even when the current is EABIv5. The soft and
      hard float flags are not always set on armel and armhf respectively,
      although the Tag_ABI_VFP_args attribute in the the ARM attribute
      section should always be present on armhf. And there are cases were
      both soft and hard float flags are set at the same time(!).
      
      Mask all flags on ARM, so that we get back to the previous behavior
      with objdump. We can try to revisit this for a better matching during
      the dpkg 1.19.x cycle.
      
      Closes: #853793
      66f08193
  6. Jan 29, 2017
    • Guillem Jover's avatar
      Dpkg::Shlibs::Objdump: Map alternative or old ELF machines to canonical ones · ca30a8d1
      Guillem Jover authored
      Some ELF binaries contain alternative or old ELF machine types, which
      should match with their canonical forms. Map those before encoding the
      ABI.
      
      We ignore some mappings for things that should certainly never appear
      in current systems. Of note are EM_PPC_OLD (17) that conflicts with
      EM_VPP550 (17), and EM_PJ_OLD (99) that conflicts with EM_SNP1K (99).
      
      Warned-by: rebootstrap
      ca30a8d1
  7. Jan 28, 2017
  8. Jan 26, 2017
    • Guillem Jover's avatar
      dpkg-shlibdeps: Improve ELF ABI mismatch detector · 8ae966ae
      Guillem Jover authored
      The previous ELF ABI mismatch detector was very naïve, as the string
      returned by «objdump -a» is a very simplistic representation of the
      ELF ABI used.
      
      Switch to our own ELF header parser, so that we can distinguish based
      on the fields that define the object ABI.
      
      This is still not enough, and we will have collisions with things such
      as linux-i386 and hurd-i386, but most of the previously colliding
      objects are now filtered.
      
      This also makes us independent of objdump not supporting any unknown
      ELF object ABI.
      
      Closes: #849913
      8ae966ae
  9. Sep 14, 2015
  10. Aug 02, 2015
  11. May 30, 2015
  12. Mar 30, 2015
    • Guillem Jover's avatar
      perl: Rework use and exporter declarations · 01abe8af
      Guillem Jover authored
      Place 'use' strict and warnings first, then Exporter 'our' declarations,
      then Test module imports, then system module imports, then Dpkg module
      imports, then 'use' parent and overload pragmas, separated by a blank
      line for each block.
      
      Split each exported symbol declaration into its own line to ease
      modifications.
      01abe8af
  13. Jan 28, 2015
  14. Oct 05, 2014
  15. Aug 19, 2014
  16. Aug 09, 2014
  17. May 17, 2014
    • Guillem Jover's avatar
      perl: Fix unused capture groups false positives · 1e516380
      Guillem Jover authored
      These are false positives, as when there's no match perl will leave
      the subpattern variables untouched. We'll just use the opportunity to
      unconfuse perlcritic, making some of those variable usages more clear
      by using intermediate variables.
      
      Fixes RegularExpressions::ProhibitUnusedCapture.
      
      Warned-by: perlcritic
      1e516380
  18. Apr 21, 2014
  19. Dec 07, 2013
  20. Dec 04, 2013
  21. Sep 19, 2013
  22. Jul 21, 2013
  23. May 04, 2013
    • Guillem Jover's avatar
      Do not use double-quotes on strings that do not need interpolation · 6a73e307
      Guillem Jover authored
      Using double-quotes imposes a small performance penalty as the perl
      parser needs to check if any interpolation is needed. Use double-quotes
      only when the string contains single-quotes. Ideally we'd use
      double-quotes too for escaped meta-characters that might otherwise be
      confusing to immediately see if they need interpolation or not, but the
      policy does not (currently) allow to ignore these.
      
      Fixes ValuesAndExpressions::ProhibitInterpolationOfLiterals.
      
      Warned-by: perlcritic
      6a73e307
  24. Apr 30, 2013
  25. Apr 27, 2013
  26. Apr 19, 2013
  27. Aug 11, 2010
  28. May 21, 2010
  29. Feb 20, 2010
    • Raphaël Hertzog's avatar
      Add $VERSION numbers to all perl modules · 1d229925
      Raphaël Hertzog authored
      Modules whose API should be stable have a version 1.00.
      The modules with version 0.01 are expected to have further API
      changes in the (near) future or are deemed to be useful mostly
      for dpkg-dev's internal usage.
      1d229925
Loading