Revisions of libdwarf

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1142865 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 34)
- update to 0.9.1:
  * "--disable-decompression" tells the build to compile
    libdwarf and dwarfdump with no reference to the zlib or
    zstd libraries.
  * Latest DW_LANG names now present.
- build with zstd support
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135481 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 33)
- update to 0.9.0:
  * Added support for reading Apple MacOS universal binaries.
  * Added callers access to certain fields from object files
    (for all three supported object formats), and
  * added the --print-machine-arch option to dwarfdump to show the
    fields.
  * Three functions were added to the API, see the Changes section
    of the latest documentation or in libdwarf.pdf in the release.
    No functions were deleted or had their meaning changed.
  * Vulnerabilities found by fuzzing were fixed.
  * See https://www.prevanders.net/dwarfbug.html for vulnerability
    details.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1127452 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 32)
- update to 0.8.0:
  * The release fixes many vulnerabilities from corrupt DWARF
    and/or corrupt Elf. Two new functions are added for DWARF Frame
    access to get the correct sign of an argument (the pre-existing
    functions remain in place and working avoiding any need for
    recompilation or relinking of user code).

    now pass section indexes as Dwarf_Unsigned instead of Dwarf_Half.
    to call due to argument list requirements, and never worked.
  * The dealloc required for dwarf_offset_list() was incorrect,
    documented in libdwarf.pdf and in the on-line html.
    users accessing near-identical builds).
    and the interface was changed to make it easier to use.
- replace symlink by directory with hardlinks (bsc#1196198)
  * Release fixes a n assign offset = offset;
- drop libdwarf-gcc11.patch, libdwarf-gcc11-fixup.patch: upstream
- libdwarf-gcc11.patch: refresh with upstream patch
- update to 20201020:
- move libdwarf headers back to the old location
  are known to work on Linux(Ubuntu on x86_64 and i686),
  for dwarfdump/libdwarf (the current dwarfdump
  make check actually does run dwarfdump and
  or relocation record data are not available in a
  --disable-libelf build.
  available in a --disable-libelf build.
  on sourceforge) to get more detail about the problems found.
  ensures the build won't use libelf or elf.h anywhere.
  to access DWARF information.
  No elf.h, libelf.h or zlib.h should be present.
  no longer any two-stage aspect of the build.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1089639 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 31)
- update to 0.7.0:
  * The release fixes more than 50 vulnerabilities from corrupt
    DWARF and/or corrupt Elf.
  * Elf section counts can exceed 16 bits (on linux see man 5 elf)
    so some function prototype members of struct
    Dwarf_Obj_Access_Methods_a_s changed.  Specifically,
    om_get_section_info() om_load_section(), and om_relocate_a_section()
    now pass section indexes as Dwarf_Unsigned instead of Dwarf_Half. 
  * Two functions have been removed from libdwarf.h and the library:
    dwarf_dnames_abbrev_by_code() and dwarf_dnames_abbrev_form_by_index().
  * dwarf_dnames_abbrev_by_code() is slow and pointless. Use either
    dwarf_dnames_name() or dwarf_dnames_abbrevtable() instead,
    depending on what you want to accomplish.
  * dwarf_dnames_abbrev_form_by_index() is not needed, was difficult
    to call due to argument list requirements, and never worked.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1068066 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 30)
- update to 0.6.0:
  Fixes for Denial Of Service (possible libdwarf crash):
  * The dealloc required for dwarf_offset_list() was incorrect, 
    possibly leading to a crash.
  * The function prototype for dwarf_dietype_offset() changed so
    it can work correctly on DWARF4 objects.
  * A memory leak from dwarf_load_loclists() has been fixed.
  * The function dwarf_get_pubtypes() changed, Dwarf_Type no longer
    exists, correcting a library design mistake made in 1993.
    The function applied to DWARF3 and DWARF4 objects.
  * The set of functions using Dwarf_Type are gone, use Dwarf_Global
    instead.  An object with DW_FORM_strx3 (DWARF5) could result in
    the library either crashing or returning an inappropriate error.
    DW_FORM_strx3 is now handled
  * https://newreleases.io/github/davea42/libdwarf-code?version=v0.6.0
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1035677 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 28)
- update to 0.4.1 (bsc#1200899, CVE-2022-34299):
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1007710 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to 0.4.2:
  * memory leak fixes
  * How to deal with a dwarf_init*() call
    that fails (DW_DLV_ERROR) in a simple way is finally
    documented in libdwarf.pdf and in the on-line html.
Richard Brown's avatar Richard Brown (RBrownFactory) accepted request 989491 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
- update to 0.4.1:
  * Two places where a carefully corrupted object file
    could result in libdwarf crashing a caller due to
    referencing memory outside the intended read area
    have been fixed (DW202205-001 and DW202206-001).
    One related to DW_FORM_ref_sig8, the other to
    the .debug_pubnames section.
  * The library now accepts DW_AT_entry_pc in a CU DIE as a base address
    when DW_AT_low_pc is missing (an extension used by
    a current compiler).
  * Added function dwarf_suppress_debuglink_crc() to allow
    callers to turn off doing a CRC calculation
    reading GNU debuglink data (saves time for library
    users accessing near-identical builds). 
- drop fix-CVE-2022-32200.patch (upstream)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 981183 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 25)
- add fix-CVE-2022-32200.patch (bsc#1200291, CVE-2022-32200)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 956372 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 22)
- replace symlink by directory with hardlinks (bsc#1196198)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 867800 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
- update to 20201201:
  dwarfdump now prints DWARF expression operators each on
  its own line.  This makes viewing DWARF expressions much
  nicer given the increased use of much longer expressions.
  Those expression operators that reference DIES are now
  followed, verified, and the target DW_TAG and DW_AT_name
  are printed.  A new dwarfdump.conf command 'option:' lets
  one specify option: --format-expr-ops-joined in case you
  want the old style DWARF expression operators-on-one-line.
  Where the DWARF DIE children nest > nine-deep dwarfdump
  switches from indentation by spaces to a nest-level number.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 844033 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- update to 20201020: 
  * Fix various read and write outside bounds found via fuzzing
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 832032 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
- move libdwarf headers back to the old location 

- update to 20200825 (bsc#1142609, CVE-2019-14249)
  libdwarf now reads .debug_gnu_pubtypes & pubnames
  (non-standard but gcc creates them in DWARF5)
  via a small number of new functions
  and dwarfdump  --print-debug-gnu prints both sections.
  Verifying the .debug_info offsets is not yet done.
  Dwarfdump now dumps DWARF5 .debug_rnglists and
  .debug_loclists.  To handle DWARF5 there are
  a small number of new functions. All existing
  functions are still supported, but
  to read DWARF5 some small changes are required.
  In libdwarf see libdwarf2.1.pdf and also see
  dwarfdump now takes much less malloc() to work, as measured
  by valgrind --tool=massif  and massif-visualizer.
  A dwarfdump run that did 2.2Gib of malloc/free before the changes
  now does 1.4GiB.
  libdwarf and dwarfdump now support DWARF5 .debug_rnglists.
  The new interfaces are documented in libdwarf/libdwarf2.1.pdf.
  The new option to dwarfdump is "--print-raw-rnglists".
  The code (dwarfdump/libdwarf), regressiontests,
  and readelfobj directories and all their tests
  are known to work on Linux(Ubuntu on x86_64 and i686), 
  FreeBSD, MacOS Catalina (with Apple Command Line Tools),
  and IBM s390 (Big Endian!) running Ubuntu Linux.
  On Windows-MinGW the full regression tests
  have not been tested, but 'make check' works
  for dwarfdump/libdwarf (the current dwarfdump 
  make check actually does run dwarfdump and
Displaying revisions 1 - 20 of 34
openSUSE Build Service is sponsored by