XS-libdwarf
view release on metacpan or search on metacpan
libdwarf-code-0.11.1/src/lib/libdwarf/ChangeLog2020 view on Meta::CPAN
2020-08-28: David Anderson
* dwarf_die_deliv.c,dwarf_loc.c,dwarf_util.c:Fixed
indents and trailing whitespace.
2020-08-27: David Anderson
* dwarf_die_deliv.c: Some error messages now have more
detail.
* dwarf_line_table_reader_common.h: In an error condition
(meaning corrupt dwarf) _dwarf_free_chain_entries()
was called twice on the same data, referring to
freed space in doing so. Deleted the extra call.
* dwarf_loc.c(_dwarf_setup_loc): Removed a
bogus _dwarf_error
using DW_DLE_LOC_EXPR_BAD: Let the just-called
function error code be returned.
Some error conditions detected here now report
detailed information on the error.
* dwarf_query.c(dwarf_attrlist): Refined the detailed
error message already present.
* dwarf_util.c:New internal function
_dwarf_create_area_len_error() lets dwarf_util.h
macro report a more detailed error without
bloating the macro.
* dwarf_util.h: Calls that new function rather
than calling _dwarf_error() itself.
2020-08-25: David Anderson
* dwarf_form.c: Previous change failed to show
the actual error string
DW_DLE_STRP_OFFSET_BAD or DW_DLE_STRING_OFFSET_BAD
along with the
details. Oops. Now it shows.
2020-08-23: David Anderson
* dwarf_form.c: Slightly changed the error message
for an error in DW_FORM_strp.
2020-08-23: David Anderson
* dwarf_names.c,dwarf_names.h,dwarf_names_enum.h,
dwarf_names_new.h,libdwarf_version.h: Updated version
string, regenerated files that reference it.
2020-08-23: David Anderson
* dwarf_form.c,dwarf_generic_init.c,dwarf_loc.c,
dwarf_loc.h,dwarf_loclists.c,dwarf_query.c, dwarf_rnglists.c,
pro_opaque.h: Remove trailing whitespace. Fix indents.
2020-08-23: David Anderson
* dwarf_form.c: In case an strp offset seems wrong
we get a more detailed error message.
* dwarf_macro5.c: Deleted gratuitous blank line.
2020-08-22: David Anderson
* dwarf_loc.c,dwarf_rnglists.c: call
_dwarf_look_in_local_and_tied_by_index
not _dwarf_extract_address_from_debug_addr so
.debug_addr in the tied file will be found.
* dwarf_opaque.h,dwarf_query.c: Make
_dwarf_look_in_local_and_tied_by_index global,not
_dwarf_extract_address_from_debug_addr.
2020-08-22: David Anderson
* dwarf_names.c,dwarf_names.h,dwarf_names_enum.h,
dwarf_names_new.h,libdwarf_version.h: Updated version
string, regenerated files that reference it.
2020-08-21: David Anderson
* dwarf_init_finish.c(insert_sht_list_in_group_map):
Added checks of dss_data_was_malloc around
a couple of calls saying free(secdata.dss_data).
The missing checks could only result in duplicate
free with user calls that allocated their
own section data to load a section and a certain
error arising during the call.
* dwarf_loc.c: To elminate ambiguity, renamed
some fields from lowpc to rawlowpc (for example).
* dwarf_loclists.c(build_array_of_lle): Removed
a block of code duplicating work done in dwarf_loc.c.
Fixed arguments passing ld_lopc, ld_highpc
to pass ld_rawlow, ld_rawhigh for correctness.
2020-08-21: David Anderson
* libdwarf2.1.mm: Rev 3.07. Corrected quote mismatches
in the mm commands, and a couple of stray
characters after a .P command
* libdwarf2.1.pdf: Rev 3.07. Regenerated.
2020-08-18: David Anderson
* checkexamples.c: Corrected example_rnglist_for_attribute()
example.
* dwarf_ranges.c: Corrected a comment and removed #if 0
code as it is obsolete.
* dwarf_rnglists.c(dwarf_get_rnglists_entry_fields_a):
Allow the pointer-arguments used to return data to
the caller to be null pointers safely, as libdwarf2.1.pdf
suggested that was legal.
* libdwarf2.1.mm: Version 3.06. Corrected the example
calling dwarf_get_rnglists_entry_fields_a().
* libdwarf2.1.pdf: Regenerated, Version 3.06
2020-08-10: David Anderson
* dwarf_names.c,dwarf_names.h,dwarf_names_enum.h,
dwarf_names_new.h,libdwarf_version.h: Updated version
string, regenerated files that reference it.
2020-08-10: David Anderson
* dwarf_elf_defines.h,dwarf_elfread.c: A linux kernel used a
R_X86_64_NONE (which means ignore the relocation) and
now we deal with it properly for EM_X86_64.
2020-08-02: David Anderson
* dwarf_alloc.c: Added a constructor for Dwarf_Locdesc_c
(DW_DLA_LOCDESC_C) so fields ld_lle_value and
ld_kind get non-zero and
erroneous initial values so
the values can be checked later for correctness.
* dwarf_errmsg_list.h: Added error DW_DLE_LOCATION_ERROR.
* dwarf_loc.c: Now we rigorously set and check the fields
ld_lle_value and ld_kind.
_dwarf_locdesc_c_constructor() sets those two fields
so we can check correctness and in case of error,
report the details.
* dwarf_loc.h: Added constructor prototype and a special
DW_LLE_VALUE_BOGUS initial value (invisible to
library callers).
* dwarf_loclists.c: After malloc use the Dwarf_Locdesc_c
constructor so later error checking possible.
* libdwarf.h.in: Added error DW_DLE_LOCATION_ERROR.
* libdwarf2.1.mm: Rev 3.05. Additional detail on
return values for dwarf_get_locdesc_entry_d()
and documented dwarf_get_locdesc_entry_c()
(recommending use of dwarf_get_locdesc_entry_d()
instead)
( run in 1.168 second using v1.01-cache-2.11-cpan-39bf76dae61 )