are caught so we avoid some coredumps.
Such strings in DWARF are created by 'fuzzing' or
by a bug in a compiler or linker.
libdwarf/dwarf_error.c
libdwarf/dwarf_form.c
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame.h
libdwarf/dwarf_frame2.c
libdwarf/dwarf_global.c
libdwarf/dwarf_line.c
libdwarf/dwarf_macro.c
libdwarf/dwarf_string.c
libdwarf/dwarf_util.c
libdwarf/dwarf_util.h
libdwarf/libdwarf.h.in
code in libdwarf to go to the other, the tied, object
and retrieve .debug_addr data.
dwarfdump/ChangeLog
dwarfdump/dwarfdump.1
dwarfdump/dwarfdump.c
dwarfdump/print_die.c
libdwarf/ChangeLog
libdwarf/Makefile.in
libdwarf/dwarf_alloc.c
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_error.c
libdwarf/dwarf_form.c
libdwarf/dwarf_opaque.h
libdwarf/dwarf_original_elf_init.c
libdwarf/dwarf_query.c
dwarf_tied.c
libdwarf/libdwarf.h.in
1) Improve the '-S' option algorithm, to get indirect names, from
DW_AT_specification and DW_AT_abstract_origin attributes, to use
those names in the comparison for member and inlines functions.
2) Correct incorrect calculation of 'pointer_size' for proprietary
EM_PPC64 machine type.
3) Changes required when porting the samples to Windows
4) Include additional information for the Windows version.
or commented so output of grep 'if 0' is smaller and less
surprising.
dwarf_die_deliv.c
dwarf_frame.c
dwarf_frame2.c
dwgetopt.c
pro_forms.c
pro_section.c
DW_CIE_VERSION* DW_CU_VERSION**
DW_ARANGES_VERSION* DW_LINE_VERSION* DW_LOC_VERSION*
DW_LINE_STR_VERSION5, DW_MACRO_VERSION5,
DW_LINE_LOC, DW_NAMES_VERSION5, DW_PUBNAMES_VERSION*,
DW_PUBTYPES_VERSION*, DW_STR_OFFSETS_VERSION5,
DW_SUP_VERSION*, DW_CU_INDEX_VERSION5
exclusively. Deleting the CURRENT_VERSION_STAMP* macros.
The intent is to improve readability given we now have
4 versions of DWARF to deal with.
We no longer do inappropriate checking of pc addrs
when a type_unit refers to the line table (there is
no low or high pc, so such checking would fail anyway).
so all is easier for those without getopt() to build.
To avoid unwanted dependencies dwgetopt.h and dwgetopt.c
are in both dwarfdump and libdwarf directories.
so we get consistent behavior. Specifically allowing the
notion of :: in the option list.
Fixed issues with handling files with both .debug_types and
.debug_info (got spurious warnings with -ky -kd, for example)
on a .dwp object.
Corrected a couple places where we needed to reset a static
variable (renamed the static variable for readability and removed
it from the globals variables).
Move one local variable declaration for c90 conformance.
dwarfdump/common.c
dwarfdump/dwarfdump.c
dwarfdump/esb.c
dwarfdump/tag_common.c
libdwarf/dwarf_init_finish.c
libdwarf/dwarf_util.c
till we have need for them.
dwarf_alloc.c
Somehow a cast was omitted from return from _dwarf_get_alloc().
Added in the call, removing a warning message.
dwarf_frame.c
In case of elf read error, was using stale Dwarf_Error pointer.
Fixed.
dwarf_init_finish.c
dwarf_allo.c: Comment the allocation table base
more carefully.
dwarf_base_types.h: Making DW_DLA defines more
readable, more consistent with other instances.
libdwarf.h.in: Adding producer error codes.
The producer library has some places error values
are misidentified. Main effect: documentation.
dwarf_error.c: Add the strings for the new error codes.
BLD
BLDLIBDWARF
BLDTESTDIR
CREATINGARELEASE
Makefile.in
README
UPDATEDWARFDUMPVERSION.sh
configure (regenerated)
configure.in
dwarfdump2/NEWS
This adds improved error reporting in case
of major libdwarf error.
dwarfgen/createirepfrombinary.cc
These are not normally used, but they
enable simple tests of the malloc-fail case.
dwarfgen/TESTmallocfail
dwarfgen/fakemalloc.c
These implement and document new handling
of malloc-space-exhausted special case
for Dwarf_Error. Using a global.
This has no effect on any client code,
it just enables sensible reports (from libdwarf)
in case the malloc arena exhausted.
libdwarf/dwarf_alloc.c
libdwarf/dwarf_error.c
libdwarf/dwarf_error.h
libdwarf/libdwarf.h.in
Document malloc-fail special case
error handling.
libdwarf/libdwarf2.1.mm
Regenerated: v 2.23 libdwarf/libdwarf2.1.pdf
output of dwarfdump/print_gdbindex.c.
dwarfdump2/print_gdbindex.cc
Adds dwarfgen: to messages. adds try-catch to better deal
with out-of-malloc-space.
dwarfgen/dwarfgen.cc
Adds a few instances of setting error code correctly.
libdwarf/dwarf_elf_access.c
Found a place where NULL not tested for.
Now it is, so out-of-malloc-space won't
generate instant coredump, but will
return NULL.
libdwarf/dwarf_tsearchhash.c
tsearch/dwarf_tsearchhash.c
tsearch/dwarf_tsearchred.c
# By David Anderson
# Via David Anderson
* master:
Removing accidental C99-isms. libdwarf/dwarf_query.c libdwarf/dwarf_tsearchhash.c libdwarf/dwarf_util.c tsearch/dwarf_tsearchhash.c
Conflicts:
libdwarf/dwarf_util.c