Skip to content

Releases: davea42/libdwarf-code

libdwarf -code release 2.2.0

08 Oct 20:44

Choose a tag to compare

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

19 Jul 18:25

Choose a tag to compare

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.

19 May 23:40

Choose a tag to compare

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

02 Apr 15:19

Choose a tag to compare

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

02 Dec 17:29

Choose a tag to compare

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.

15 Aug 18:20
v0.11.0
285d9d3

Choose a tag to compare

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

01 Jul 15:30
v0.10.1
45ef8e2

Choose a tag to compare

Fixes issues in 0.10.0 relating to pkg-config files generated for make install
and the like.

v0.10.0

25 Jun 00:20
v0.10.0
289d0d3

Choose a tag to compare

DO NOT USE. Defective. Use 0.10.1
Corrected the handling of DWARF5 .debug_rnglists
and .debug_loclists.

Fixed 4 vulnerabilities

02 Apr 22:50
v0.9.2
5e43a5a

Choose a tag to compare

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.

29 Jan 18:00

Choose a tag to compare

(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.