Releases: davea42/libdwarf-code
libdwarf -code release 2.2.0
No change in API in this release.
Added functions dwarf_lvn_name_direct()
dwarf_lvn_name() dwarf_lvn_table_entry()
to allow complete reading of DWARF6 DW_AT_language_version
attributes.
Fixed issues reading corrupted (fuzzed) Apple Mach-o
object files: now the code immediately returns an error
instead of seeming stuck.
Fixed issues building with gcc option -std=c99
and the like.
Corrected a bug reading line table data that
used forms similar to DWARF5 DW_FORM_strx.
libdwarf -code release 2.1.0
Removed compression heuristic checks as
such were unreliable.
Corrected handling of DWARF6
attributes DW_AT_language_name and DW_AT_language_version.
libdwarf -code release 2.0.0.
Fixed a longstanding bug in configure.ac
which began to cause builds to fail with recent
autoconf.
Fixed a problem in test/CmakeLists.txt that caused
current builds to fail on Msys2 Mingw64. Had been
working for many months.
Updated the error report (for zlib, zstd) when
decompression exceeds a heuristic. Now reports
the compressed-len and the uncompressed-len.
libdwarf-code release 0.12.0
Adding the ability to use mmap instead of malloc for reading object section data.
Whether this improves library runtimes when reading gigabyte-plus object sections
is as yet unclear. It does not have significant impact on medium or smaller object
reading.
Improved the accuracy of dwarfdump's -k checking options with a much better
heuristic to get addresses from object data. Eliminates false error reports.
Checks for duplicate attributes in dwarf (generating an error) while
allowing callers to suppress the check.
libdwarf -code release 0.11.1
Contains corrections to the code reading DWARF5 .debug_rnglists[.dwo] and .debug_loclists[.dwo] .
Added a function to the API. Improved code consistency and clarity.
Added function dwarf_get_ranges_baseaddress()
to the api to allow dwarfdump and other library callers
to easily derive the (cooked) address from
the raw data in the DWARF2, DWARF3, DWARF4 .debug_ranges
section.
An example of use is in doc/checkexamples.c (see examplev).
Made various improvements in code clarity and consistency.
Release v0.10.1
Fixes issues in 0.10.0 relating to pkg-config files generated for make install
and the like.
v0.10.0
Fixed 4 vulnerabilities
Fixed vulnerabilities DW202402-001, DW202402-002,DW202402-003, and DW202403-001,
which involve corrupted DWARF. The library now returns DW_DLV_ERROR
if any of these corruptions are seen.
[edit] For a few minutes there was a v0.9.2 before this visible, but the tags for it were
done wrong. Fixed, re-released.
Corrected MacOS relocatable object reads.
(recreated release record 29 January with the correct libdwarf-0.9.1.tar.xz.
The 27 January version had an unrelated tar.xz)
Altered the type of the return value of
dwarf_die_abbrev_code() and dwarf_get_section_count()
from int to Dwarf_Unsigned for consistency (should always
have been this way).
Problems reading Mach-o (Apple) relocatable object files
are fixed.
All three build systems have a option
+\to turn off use of decompression libraries, see
README.md and READMEcmake.md .
All type warnings from MSVC are fixed.