]>
git.ipfire.org Git - thirdparty/elfutils.git/log
Petr Machata [Mon, 14 Mar 2011 13:19:59 +0000 (14:19 +0100)]
dwarflint: Replace over-zealous assert with a warning
Petr Machata [Thu, 10 Mar 2011 15:03:18 +0000 (16:03 +0100)]
dwarflint: Fix "die chain not terminated by a null entry" for CU DIE
- CU DIE is not part of DIE chain, it's a singleton (with optional null
entries following it as padding)
- consequently, don't emit this message for CU DIE, and change it to full
error for all other cases
Petr Machata [Thu, 10 Mar 2011 14:39:01 +0000 (15:39 +0100)]
dwarflint: Missing DW_LNE_end_sequence OK in empty line number program
- also the fact that the line number program is empty is not a problem
in itself, only when combined with otherwise unused file table
Petr Machata [Thu, 10 Mar 2011 13:54:09 +0000 (14:54 +0100)]
dwarflint: Fix last-die-has-sibling-attr message, don't let such to high-level
Petr Machata [Wed, 9 Mar 2011 23:51:43 +0000 (00:51 +0100)]
dwarflint: Detect and diagnose empty CU
Petr Machata [Wed, 9 Mar 2011 20:33:31 +0000 (21:33 +0100)]
dwarflint: Check that CU DIE has stmt_list if children have decl_file
- Mark's test case attached
Petr Machata [Wed, 9 Mar 2011 17:10:24 +0000 (18:10 +0100)]
dwarflint: Properly diagnose DW_AT_sibling with value of 0
Petr Machata [Wed, 9 Mar 2011 12:18:18 +0000 (13:18 +0100)]
dwarflint: Fix attribute and form validation in .debug_abbrev and .debug_info
- and a test case that used to SIGSEGV
Petr Machata [Wed, 9 Mar 2011 01:00:28 +0000 (02:00 +0100)]
dwarflint: Fix a SEGV for invalid address size in CU header
- read_address_size has a richer interface now. New type error_code, which
might be more generally useful
- adapt callers
- add test case
Petr Machata [Wed, 9 Mar 2011 00:57:25 +0000 (01:57 +0100)]
dwarflint: Clarify error message when CU headers can't be parsed
Petr Machata [Wed, 9 Mar 2011 00:10:26 +0000 (01:10 +0100)]
dwarflint: Check that there's enough data for .debug_line opcode
- fixes a SEGV on invalid data. Test case provided
Petr Machata [Tue, 8 Mar 2011 22:25:51 +0000 (23:25 +0100)]
dwarflint: Don't let sibling address mismatches to high-level
Petr Machata [Tue, 8 Mar 2011 22:24:53 +0000 (23:24 +0100)]
dwarflint: Don't let unterminated strings in .debug_str to high-level
Petr Machata [Tue, 8 Mar 2011 19:09:14 +0000 (20:09 +0100)]
dwarflint: We should not let the abbrev code 0 propagate up
Petr Machata [Tue, 8 Mar 2011 18:38:39 +0000 (19:38 +0100)]
dwarflint: Update TODO
Petr Machata [Tue, 8 Mar 2011 18:35:07 +0000 (19:35 +0100)]
dwarflint: Fix the check that DIE chains are terminated with null entry
- and turn in to strict message
- and update test cases
Petr Machata [Tue, 8 Mar 2011 18:20:03 +0000 (19:20 +0100)]
dwarflint: Put the --dump-offsets option to the right group
Petr Machata [Tue, 8 Mar 2011 17:53:22 +0000 (18:53 +0100)]
dwarflint: Fix iteration over low-level attributes
- this to allow (certainly bogus, but anyway) attribute name == 0
- test case that triggers this
Petr Machata [Mon, 7 Mar 2011 16:30:15 +0000 (17:30 +0100)]
dwarflint: Fail low-level cases if toplevel CU DIE has wrong tag
Petr Machata [Mon, 7 Mar 2011 14:57:38 +0000 (15:57 +0100)]
dwarflint: Check that the name of relocated section is valid
Petr Machata [Mon, 7 Mar 2011 13:21:18 +0000 (14:21 +0100)]
dwarflint: More thorough checking of Dw4Ch7.5 (toplevel CU DIE)
Petr Machata [Mon, 7 Mar 2011 12:35:53 +0000 (13:35 +0100)]
dwarflint: Rename readctx.{c,h} to .{cc,hh}
- I had something in mind that needed the C++ bits from the rest of
dwarflint, but that turned out to be too convoluted to be practical
Petr Machata [Mon, 7 Mar 2011 07:04:34 +0000 (08:04 +0100)]
dwarflint: A note in TODO
Petr Machata [Mon, 7 Mar 2011 07:04:23 +0000 (08:04 +0100)]
dwarflint: Add Mark's test case for the previous commit
Petr Machata [Mon, 7 Mar 2011 07:04:02 +0000 (08:04 +0100)]
dwarflint: Check for excess DIEs on top level
Petr Machata [Mon, 7 Mar 2011 06:59:55 +0000 (07:59 +0100)]
dwarflint: Drop useless variable prev_abbrev in check_debug_info
Petr Machata [Fri, 4 Mar 2011 20:28:40 +0000 (21:28 +0100)]
dwarflint: Publish the option --dump-offsets
- must have been forgotten
- and one coding style nit
Petr Machata [Thu, 3 Mar 2011 16:47:54 +0000 (17:47 +0100)]
dwarflint: Add Mark's test cases
Petr Machata [Thu, 3 Mar 2011 16:02:47 +0000 (17:02 +0100)]
dwarflint: Be lazy when looking into CU headers for check_debug_abbrev
- And so don't complain that we have no headers in cases where we have
no abbrevs either.
- Also consider no abbrevs a message, not an error
- Add a test case for the same
Petr Machata [Thu, 3 Mar 2011 13:24:27 +0000 (14:24 +0100)]
dwarflint: Fix all-dies-it
- Account for the case that die.has_children and at the same time
die.children().begin() == die.children().end()
- Change the algorithm to iterate DIEs acually in pre-order
- Add a test case
Petr Machata [Wed, 2 Mar 2011 20:32:38 +0000 (21:32 +0100)]
dwarflint: Fail check_debug_info test if serious error turns up
- All the tracking was in place, we just forgot to actually throw the
exception in the end.
Petr Machata [Tue, 1 Mar 2011 16:54:54 +0000 (17:54 +0100)]
dwarflint: Check that the relocation is formed using a defined symbol
Petr Machata [Tue, 1 Mar 2011 16:48:37 +0000 (17:48 +0100)]
dwarflint: More checks on invalid section indices in relocations
Petr Machata [Tue, 1 Mar 2011 12:56:27 +0000 (13:56 +0100)]
dwarflint: Extract the relocation logic itself to a function
Petr Machata [Tue, 1 Mar 2011 11:43:11 +0000 (12:43 +0100)]
Fix handling of invalid relocs
Petr Machata [Fri, 25 Feb 2011 18:21:30 +0000 (19:21 +0100)]
Nits
Petr Machata [Fri, 25 Feb 2011 18:14:13 +0000 (19:14 +0100)]
Get rid of pri::locexpr_opcode
Petr Machata [Fri, 25 Feb 2011 14:25:16 +0000 (15:25 +0100)]
Drop pri::form
Petr Machata [Fri, 25 Feb 2011 14:19:54 +0000 (15:19 +0100)]
Drop pri::tag, pri::attr
- dwarf::tags::name, dwarf::attributes::name should be used instead
Petr Machata [Fri, 25 Feb 2011 14:06:14 +0000 (15:06 +0100)]
Use dwarf::{attributes,tags}::name instead of dwarf_{attr,tag}_string
Petr Machata [Fri, 25 Feb 2011 13:39:41 +0000 (14:39 +0100)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Mark Wielaard [Wed, 23 Feb 2011 22:06:20 +0000 (23:06 +0100)]
tests/run-dwarfcmp-self.sh dwarflint is in its own directory now.
Mark Wielaard [Fri, 25 Feb 2011 12:45:14 +0000 (13:45 +0100)]
Don't use dwarf_tag_string, but dwarf::tags::name for dwarf_edit_output test.
Mark Wielaard [Fri, 25 Feb 2011 12:04:21 +0000 (13:04 +0100)]
Merge over dwarf string fixes from readelf master to dwarfstrings.
* src/dwarfstrings.c (dwarf_tag_string): Add type_unit,
rvalue_reference_type and template_alias.
(dwarf_tag_string): Add GNU_* tags.
(dwarf_attr_string): Add signature, main_subprogram, const_expr
and enum_class.
Petr Machata [Fri, 25 Feb 2011 11:05:16 +0000 (12:05 +0100)]
Adjust location_attribute::const_iterator to changes in range_list iterator
Petr Machata [Fri, 25 Feb 2011 11:13:53 +0000 (12:13 +0100)]
Use __libdw_formptr in ranges iterator
Roland McGrath [Thu, 24 Feb 2011 23:33:47 +0000 (15:33 -0800)]
Temporarily export __libdw_formptr for use by C++ code.
Roland McGrath [Thu, 24 Feb 2011 23:25:43 +0000 (15:25 -0800)]
Make libdwP.h internal declarations C++-compatible.
Roland McGrath [Thu, 24 Feb 2011 23:11:58 +0000 (15:11 -0800)]
Fix dwarf_path_finder::jump for the general case.
Roland McGrath [Thu, 24 Feb 2011 22:40:44 +0000 (14:40 -0800)]
Put the slow dwarfcmp tests last.
Petr Machata [Wed, 23 Feb 2011 21:56:45 +0000 (22:56 +0100)]
Handle DW_AT_linkage_name in dwarf_attr_string and dwarf-knowledge
Petr Machata [Wed, 23 Feb 2011 20:55:32 +0000 (21:55 +0100)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 23 Feb 2011 20:52:44 +0000 (21:52 +0100)]
dwarflint: Allow per-form configuration of CU bitness where form may appear
Petr Machata [Wed, 23 Feb 2011 20:31:14 +0000 (21:31 +0100)]
dwarflint: DW_AT_GNU_odr_signature is 8-byte constant
- make dwarf_version::form_allowed virtual. Override in dwarf_gnu to
force the right exact
Petr Machata [Wed, 23 Feb 2011 19:44:34 +0000 (20:44 +0100)]
dwarflint: form::width takes cu_head, not cu argument
- also the argument may be NULL, in which case the width may end up being
fw_unknown
Roland McGrath [Wed, 23 Feb 2011 18:54:30 +0000 (10:54 -0800)]
Add DW_AT_GNU_odr_signature expected value space.
Petr Machata [Wed, 23 Feb 2011 16:20:01 +0000 (17:20 +0100)]
Add license boilerplate to src/dwarfstrings.*
- took the boilerplate from readelf.c, since that's where the code
originated
Petr Machata [Wed, 23 Feb 2011 16:12:58 +0000 (17:12 +0100)]
Don't emit two error messages for invalid attribute form
- and add space to "complain" error message
Petr Machata [Wed, 23 Feb 2011 16:00:35 +0000 (17:00 +0100)]
Add DW_AT_GNU_* to dwarf_attr_string
Roland McGrath [Fri, 18 Feb 2011 22:59:21 +0000 (14:59 -0800)]
Revamp dwarf_path_finder, should be more efficient.
Roland McGrath [Tue, 15 Feb 2011 17:34:08 +0000 (09:34 -0800)]
Merge commit 'elfutils-0.152' into dwarf
Ulrich Drepper [Tue, 15 Feb 2011 14:36:26 +0000 (09:36 -0500)]
Prepare 0.152 release.
raven [Sun, 13 Feb 2011 15:25:49 +0000 (15:25 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Sat, 12 Feb 2011 11:37:27 +0000 (11:37 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Fri, 11 Feb 2011 20:38:36 +0000 (12:38 -0800)]
NEWS item for last change
Roland McGrath [Fri, 11 Feb 2011 20:29:45 +0000 (12:29 -0800)]
libdwfl: Search for Linux kernel binaries with compression file name suffixes.
Roland McGrath [Fri, 11 Feb 2011 18:42:45 +0000 (10:42 -0800)]
elfcmp: Add --l/--verbose flag.
Roland McGrath [Fri, 11 Feb 2011 18:32:30 +0000 (10:32 -0800)]
elfcmp: Add --ignore-build-id flag.
Roland McGrath [Wed, 9 Feb 2011 03:48:42 +0000 (19:48 -0800)]
ldscript: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:48:02 +0000 (19:48 -0800)]
unstrip: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:46:50 +0000 (19:46 -0800)]
elflint: Remove unused variables.
Roland McGrath [Wed, 9 Feb 2011 03:45:26 +0000 (19:45 -0800)]
elflint: Warn about missing xndx section only once.
Roland McGrath [Wed, 9 Feb 2011 03:45:12 +0000 (19:45 -0800)]
ld: Remove an unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:40:19 +0000 (19:40 -0800)]
0.152 NEWS item for nit fixes.
Roland McGrath [Wed, 9 Feb 2011 03:36:50 +0000 (19:36 -0800)]
Use AC_LANG_SOURCE.
Roland McGrath [Wed, 9 Feb 2011 02:59:04 +0000 (18:59 -0800)]
Remove obsolete ALL_LINGUAS variable from configure.
Roland McGrath [Tue, 8 Feb 2011 19:20:49 +0000 (11:20 -0800)]
libasm: Remove an unused variable.
Roland McGrath [Thu, 3 Feb 2011 01:24:53 +0000 (17:24 -0800)]
0.152 NEWS item for latest libdwfl prelink fix
Josh Stone [Thu, 3 Feb 2011 00:30:01 +0000 (16:30 -0800)]
run-prelink-addr-test.sh: Add a .dynbss+.bss prelink split
Roland McGrath [Wed, 2 Feb 2011 03:06:21 +0000 (19:06 -0800)]
libdwfl: Use the section-end address as the synchronization point, rather than sh_addr.
Roland McGrath [Wed, 2 Feb 2011 00:58:32 +0000 (16:58 -0800)]
libdwfl: Discover PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
Roland McGrath [Wed, 2 Feb 2011 00:09:43 +0000 (16:09 -0800)]
libdwfl: Fix prelink address_sync to find 64-bit PT_INTERP.
raven [Thu, 13 Jan 2011 11:20:58 +0000 (11:20 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Thu, 13 Jan 2011 06:05:38 +0000 (06:05 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Thu, 13 Jan 2011 00:19:19 +0000 (16:19 -0800)]
Merge commit 'elfutils-0.151' into dwarf
Conflicts:
tests/Makefile.am
Ulrich Drepper [Wed, 12 Jan 2011 23:07:24 +0000 (18:07 -0500)]
Prepare 0.151 release.
Roland McGrath [Wed, 12 Jan 2011 18:49:40 +0000 (10:49 -0800)]
Undo last change for data-only tests, so we test PT_DYNAMIC digging too.
Roland McGrath [Wed, 12 Jan 2011 18:43:32 +0000 (10:43 -0800)]
run-prelink-addr-test.sh: Make symlinks to find .debug files corresponding to noshdrs files.
Josh Stone [Wed, 12 Jan 2011 03:16:59 +0000 (19:16 -0800)]
Add data-only prelink tests
Josh Stone [Wed, 12 Jan 2011 03:16:58 +0000 (19:16 -0800)]
Expand testfile53 for 32/64-bit
Josh Stone [Wed, 12 Jan 2011 03:16:57 +0000 (19:16 -0800)]
Expand testfile52 for 32/64-bit and stripped headers
Roland McGrath [Tue, 11 Jan 2011 18:33:32 +0000 (10:33 -0800)]
NEWS items for 0.151
Roland McGrath [Tue, 11 Jan 2011 18:17:01 +0000 (10:17 -0800)]
libdwfl: Rejigger address synchronization using .gnu.prelink_undo information.
Josh Stone [Tue, 11 Jan 2011 05:28:46 +0000 (21:28 -0800)]
Test cases for libdwfl vs prelink.
elsupergomez [Mon, 10 Jan 2011 18:18:12 +0000 (18:18 +0000)]
l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
raven [Sat, 8 Jan 2011 07:50:15 +0000 (07:50 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Sat, 8 Jan 2011 07:48:03 +0000 (07:48 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Thu, 6 Jan 2011 20:14:43 +0000 (12:14 -0800)]
strip: Remove all excess for --strip-sections.
Roland McGrath [Wed, 5 Jan 2011 03:29:53 +0000 (19:29 -0800)]
libdwfl: Enhance address_sync calculation to handle more prelink permutations.
Roland McGrath [Wed, 5 Jan 2011 03:29:24 +0000 (19:29 -0800)]
strip: Add --strip-sections option.