]>
git.ipfire.org Git - thirdparty/elfutils.git/log
Petr Machata [Tue, 21 Sep 2010 16:41:13 +0000 (18:41 +0200)]
dwarflint: Move read_address_size to read_ctx module
- and shuffle arguments around so it makes sense
Petr Machata [Tue, 21 Sep 2010 16:09:54 +0000 (18:09 +0200)]
dwarflint: Move read_size_extra to readctx module
Petr Machata [Mon, 20 Sep 2010 22:28:20 +0000 (00:28 +0200)]
dwarflint: Add DIE classification categories "mutable" and "immutable"
- however I guess the better thing to do would be to dump how big part
of a scope is mutable vs. immutable, or something like that
Petr Machata [Mon, 20 Sep 2010 22:26:17 +0000 (00:26 +0200)]
dwarflint: Fix classification of no_coverage DIEs
Petr Machata [Mon, 20 Sep 2010 19:41:44 +0000 (21:41 +0200)]
dwarflint: Implement reading DW_FORM_ref_addr forms
- Patch by Jakub Jelinek
Petr Machata [Mon, 20 Sep 2010 19:40:06 +0000 (21:40 +0200)]
In dwarf-opcodes.h, add DW_OP_GNU_implicit_pointer and fix DW_OP_call_ref
- patch by Jakub Jelinek
Petr Machata [Mon, 20 Sep 2010 19:35:44 +0000 (21:35 +0200)]
dwarflint: Add a possibility to distinguish sharp 0 coverage to locstats pass
Petr Machata [Fri, 17 Sep 2010 16:40:55 +0000 (18:40 +0200)]
dwarflint: Add a description of locstats
Petr Machata [Fri, 17 Sep 2010 16:09:50 +0000 (18:09 +0200)]
dwarflint: Add an option to recognize inlined subroutines
Petr Machata [Fri, 17 Sep 2010 15:31:54 +0000 (17:31 +0200)]
dwarflint: Add more options for ignoring and dumping dies to locstat
- these are probably mostly useful for myself as I'm trying to find out
what's really missing the info and what doesn't need one it the first
place, but why not allow others to do the tinkering too...
Petr Machata [Fri, 17 Sep 2010 11:53:22 +0000 (13:53 +0200)]
dwarflint: Exclude any location list entries whose expression is empty
Petr Machata [Thu, 16 Sep 2010 22:52:14 +0000 (00:52 +0200)]
dwarflint: In all_dies_iterator, replace parent () with stack ()
- use it in locstats to find the nearest parental DIE with non-empty ranges
Petr Machata [Thu, 16 Sep 2010 20:41:51 +0000 (22:41 +0200)]
dwarflint: First stab at location/value stats
- things will change, some parts of the proposal are not yet implemented
Petr Machata [Thu, 16 Sep 2010 20:38:16 +0000 (22:38 +0200)]
dwarflint: Publish C dwarf pointer in high-level checks
Petr Machata [Wed, 15 Sep 2010 21:31:56 +0000 (23:31 +0200)]
dwarflint: Add the ability to query the die parent in all_dies_iterator
Petr Machata [Wed, 15 Sep 2010 21:31:18 +0000 (23:31 +0200)]
dwarflint: Only warn about unused rules if we had a chance to match them
Petr Machata [Wed, 15 Sep 2010 19:56:26 +0000 (21:56 +0200)]
dwarflint: Coding style nits
Petr Machata [Wed, 15 Sep 2010 18:32:23 +0000 (20:32 +0200)]
dwarflint: Warn about --check rules that never match
Petr Machata [Wed, 15 Sep 2010 18:13:43 +0000 (20:13 +0200)]
dwarflint: Extract checkrule into module of its own
Petr Machata [Wed, 15 Sep 2010 13:56:00 +0000 (15:56 +0200)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 15 Sep 2010 13:55:10 +0000 (15:55 +0200)]
Only run low-level checks in dwarflint self-check
The reason being that high-level checks do and always have emitted a lot
of output, mainly for big c++ binaries. The low-level checks should
generally pass, and even if there are nits here and there, they should be
minor and shouldn't flood the terminal.
Roland McGrath [Wed, 15 Sep 2010 01:43:11 +0000 (18:43 -0700)]
Merge commit 'elfutils-0.149' into dwarf
Petr Machata [Tue, 14 Sep 2010 21:05:58 +0000 (23:05 +0200)]
dwarflint: Make it possible to define relevant options directly at checks
Petr Machata [Tue, 14 Sep 2010 14:35:03 +0000 (16:35 +0200)]
dwarflint: And add the description
Petr Machata [Tue, 14 Sep 2010 14:30:14 +0000 (16:30 +0200)]
dwarflint: Add a test for nodebug check
Petr Machata [Tue, 14 Sep 2010 14:14:17 +0000 (16:14 +0200)]
dwarflint: Check for missind debuginfo sections separately
Petr Machata [Tue, 14 Sep 2010 12:35:25 +0000 (14:35 +0200)]
dwarflint: Fix test case
- now that we run the low-level checks as prerequisite of high-level ones,
we also get low-level errors in testsuite passes. One more reason to
implement some sensible message filtering command line options.
Petr Machata [Tue, 14 Sep 2010 12:34:11 +0000 (14:34 +0200)]
dwarflint: Move secinfo_map initiazitaion into ctor, avoid macros
- and reindent two statements below where it's instantiated
- and add a documentation to the section_name array
Petr Machata [Tue, 14 Sep 2010 11:44:46 +0000 (13:44 +0200)]
dwarflint: Always allow scheduling hidden checks
- and mark a couple "servicing" checks as hidden
- this fixes --check again
Ulrich Drepper [Mon, 13 Sep 2010 18:57:02 +0000 (11:57 -0700)]
Prepare 0.149 release.
Ulrich Drepper [Mon, 13 Sep 2010 16:43:11 +0000 (09:43 -0700)]
Update ALL_LINGUAS.
Roland McGrath [Fri, 10 Sep 2010 06:55:32 +0000 (23:55 -0700)]
NEWS typo
Roland McGrath [Fri, 10 Sep 2010 06:26:12 +0000 (23:26 -0700)]
strip NEWS item
Roland McGrath [Fri, 10 Sep 2010 06:16:18 +0000 (23:16 -0700)]
Merge branch 'roland/implicit-ptr'
Petr Machata [Tue, 7 Sep 2010 21:08:05 +0000 (23:08 +0200)]
dwarflint: Add a lowlevel_checks pass
- which is where low-level checks are explicitly requested
- and what highlevel checks, also explicitly, depend on
Petr Machata [Tue, 7 Sep 2010 13:19:47 +0000 (15:19 +0200)]
dwarflint: Drop code from check_debug_line that's now in check_debug_info_refs
- and also adjust the documentation
Petr Machata [Tue, 7 Sep 2010 12:28:24 +0000 (14:28 +0200)]
dwarflint: Check for unresolved references from .debug_info to .debug_line
- while this check has already been there, it was part of .debug_line. If
.debug_line was entirely missing or broken, the check would never be run.
Now the check is in a separate pass.
Petr Machata [Tue, 7 Sep 2010 12:25:16 +0000 (14:25 +0200)]
dwarflint: Split check_debug_pub.cc to .hh
Petr Machata [Tue, 7 Sep 2010 12:24:29 +0000 (14:24 +0200)]
dwarflint: Split check_debug_line.cc to .hh and .ii
Petr Machata [Tue, 7 Sep 2010 12:23:10 +0000 (14:23 +0200)]
dwarflint: Add a missing include
Petr Machata [Mon, 6 Sep 2010 18:34:26 +0000 (20:34 +0200)]
dwarflint: Formatting nits
Petr Machata [Mon, 6 Sep 2010 18:34:14 +0000 (20:34 +0200)]
dwarflint: Add check_debug_* to the @low group
Petr Machata [Mon, 6 Sep 2010 18:15:44 +0000 (20:15 +0200)]
dwarflint: Add more TODO items
Petr Machata [Mon, 6 Sep 2010 17:59:23 +0000 (19:59 +0200)]
dwarflint: Add more TODO items
Petr Machata [Mon, 6 Sep 2010 17:11:28 +0000 (19:11 +0200)]
dwarflint: Add more TODO items
Petr Machata [Mon, 6 Sep 2010 16:57:48 +0000 (18:57 +0200)]
dwarflint: Add a test for leaking location
- (as documented on the SuspiciousDebuginfoCases wiki page)
- also add the previous test to Makefile.am
Petr Machata [Mon, 6 Sep 2010 16:40:13 +0000 (18:40 +0200)]
Merge branch 'pmachata/dwarflint' into dwarf
Petr Machata [Mon, 6 Sep 2010 16:39:22 +0000 (18:39 +0200)]
dwarflint: Add a TODO file
Petr Machata [Mon, 6 Sep 2010 15:46:26 +0000 (17:46 +0200)]
dwarflint: Drop crud
Petr Machata [Mon, 6 Sep 2010 15:44:16 +0000 (17:44 +0200)]
dwarflint: Extract cu_coverage to separate check pass
- if the data is incomplete or unavailable, the pass fails just like any
other pass
Petr Machata [Mon, 6 Sep 2010 10:47:55 +0000 (12:47 +0200)]
dwarflint: Add a description to .debug_abbrev
Petr Machata [Mon, 6 Sep 2010 10:33:40 +0000 (12:33 +0200)]
dwarflint: Mark dependency of check_debug_abbrev on cu_headers
Petr Machata [Thu, 2 Sep 2010 21:58:49 +0000 (23:58 +0200)]
dwarflint: Add a description to check_debug_info
Petr Machata [Thu, 2 Sep 2010 16:30:29 +0000 (18:30 +0200)]
dwarflint: Add description to check_debug_line
Petr Machata [Thu, 2 Sep 2010 15:11:43 +0000 (17:11 +0200)]
dwarflint: Add description of check_debug_pub*
Petr Machata [Thu, 2 Sep 2010 13:55:54 +0000 (15:55 +0200)]
dwarflint: More check descriptions
yurchor [Wed, 1 Sep 2010 07:01:35 +0000 (07:01 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Tue, 31 Aug 2010 15:26:38 +0000 (15:26 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Tue, 31 Aug 2010 02:22:41 +0000 (19:22 -0700)]
readelf: Print .debug_loc/.debug_ranges with cognizance of actual DIE pointers into them.
Petr Machata [Mon, 30 Aug 2010 17:11:58 +0000 (19:11 +0200)]
Add prerequisities into descriptors
- also move as many descriptors as possible into .cc
Roland McGrath [Sat, 8 May 2010 11:01:14 +0000 (04:01 -0700)]
Handle DW_OP_GNU_implicit_pointer.
Roland McGrath [Mon, 30 Aug 2010 11:04:37 +0000 (04:04 -0700)]
readelf: Fix crash in .debug_loc with garbage data.
Petr Machata [Mon, 30 Aug 2010 00:34:30 +0000 (02:34 +0200)]
dwarflint: Add documentation to check_dups_abstract_origin
Petr Machata [Fri, 27 Aug 2010 17:51:37 +0000 (19:51 +0200)]
dwarflint: Make checks self-documenting
Petr Machata [Fri, 27 Aug 2010 16:14:36 +0000 (18:14 +0200)]
dwarflint: Change registrar::item::list to registrar::item::descriptor
- with appropriate change in semantics
- change the way the checks are listed
Petr Machata [Fri, 27 Aug 2010 16:12:59 +0000 (18:12 +0200)]
dwarflint: Allow sending checkgroup and checkstack into ostream
Petr Machata [Fri, 27 Aug 2010 15:41:53 +0000 (17:41 +0200)]
dwarflint: Add an ability to list registered checks
- because the check descriptor is quite simple as of now, the usefulness
of this is rather limited
- plus unregistered checks are not listed, which means that the user will
never know about prereqs like .debug_info. Hard to say whether this is
a problem or not
Petr Machata [Fri, 27 Aug 2010 15:39:15 +0000 (17:39 +0200)]
dwarflint: Move checkdescriptor to module of its own
Petr Machata [Fri, 27 Aug 2010 15:36:31 +0000 (17:36 +0200)]
dwarflint: Move check registrars to .cc files
Petr Machata [Fri, 27 Aug 2010 14:41:50 +0000 (16:41 +0200)]
dwarflint: Add missing copyright notices
Petr Machata [Fri, 27 Aug 2010 14:31:57 +0000 (16:31 +0200)]
dwarflint: Add a check for duplicate DW_TAG_variable entries
- and a test case
Petr Machata [Thu, 26 Aug 2010 12:37:23 +0000 (14:37 +0200)]
Report that the check was entered
Petr Machata [Thu, 26 Aug 2010 12:36:38 +0000 (14:36 +0200)]
Reference array in check_debug_loc now uses std::vector
- instead of an alloca-ed array
- this fixes SEGV, and makes the code simpler
logan [Thu, 26 Aug 2010 12:00:53 +0000 (12:00 +0000)]
l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Thu, 26 Aug 2010 05:13:57 +0000 (05:13 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Petr Machata [Thu, 26 Aug 2010 00:32:47 +0000 (02:32 +0200)]
Fix SEGV in --verbose mode
Petr Machata [Wed, 25 Aug 2010 17:16:25 +0000 (19:16 +0200)]
Each check now has a name and group membership
- whether a check is performed can now be configured via a command line
argument --check
- there's no explicit dependency resolution. While checks are really
organized in a dependency graph, only the path from the check under
investigation to its dependant is known at any given time. So with
command line like --check=-X,+Y where Y depends on X, the scheduler
may first reject X several times, just to perform it anyway when it
later turns out that requested test Y depends on it.
Roland McGrath [Wed, 25 Aug 2010 08:15:47 +0000 (01:15 -0700)]
Missing new file for last commit.
Roland McGrath [Tue, 24 Aug 2010 22:38:42 +0000 (15:38 -0700)]
Add dwfl_dwarf_line, addr2line -F to print out more line info bits.
raven [Mon, 23 Aug 2010 16:14:54 +0000 (16:14 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Mark Wielaard [Fri, 20 Aug 2010 14:20:46 +0000 (16:20 +0200)]
Cleaner way of handling first push_back in directory_table.
Petr Machata [Thu, 19 Aug 2010 15:10:12 +0000 (17:10 +0200)]
Reindent dwarflint/Makefile.am
Petr Machata [Thu, 19 Aug 2010 15:08:14 +0000 (17:08 +0200)]
dwarflint: Declare template "section" using an enum type
* split out enum section_id to separate file to make this possible
* also define section names there
Mark Wielaard [Thu, 19 Aug 2010 10:23:42 +0000 (12:23 +0200)]
Run run-dwarflint-self.sh with new dwarflint/dwarflint location.
Mark Wielaard [Thu, 19 Aug 2010 08:44:46 +0000 (10:44 +0200)]
Treat first entry special in dwarf_data::directory_table, can be NULL/empty.
Roland McGrath [Wed, 18 Aug 2010 23:53:43 +0000 (16:53 -0700)]
Add missing size entries for ELF_T_LIB and ELF_T_GNUHASH.
Roland McGrath [Wed, 18 Aug 2010 17:56:52 +0000 (10:56 -0700)]
Ignore CU compilation directory in directory table comparison.
Petr Machata [Wed, 18 Aug 2010 17:16:30 +0000 (19:16 +0200)]
dwarflint: PRI_DIE is unused in low.c
Petr Machata [Wed, 18 Aug 2010 17:16:13 +0000 (19:16 +0200)]
dwarflint: Check all the abbreviation instead of bailing out on first error
Petr Machata [Wed, 18 Aug 2010 17:14:19 +0000 (19:14 +0200)]
dwarflint: Add test suite
... the first test being for the bugfix of the previous commit
Petr Machata [Wed, 18 Aug 2010 16:01:21 +0000 (18:01 +0200)]
dwarflint: detect duplicate attributes in .debug_abbrev
Petr Machata [Tue, 17 Aug 2010 17:34:12 +0000 (19:34 +0200)]
Move dwarflint to separate directory
Mark Wielaard [Mon, 19 Jul 2010 08:17:16 +0000 (10:17 +0200)]
Call read_address_size with file->addr_64 as first argument.
* src/dwarflint/check_debug_info.cc (read_info_headers): Pass file->addr_64
to read_address_size ().
* src/dwarflint/low.c (check_aranges_structural): Likewise.
Petr Machata [Thu, 15 Apr 2010 14:49:38 +0000 (16:49 +0200)]
dwarflint: Extract check_range_out_of_scope::recursively_validate
Petr Machata [Tue, 15 Dec 2009 12:13:58 +0000 (13:13 +0100)]
dwarflint: Only check for unused files if we managed to load CUs
Petr Machata [Wed, 2 Dec 2009 18:28:45 +0000 (19:28 +0100)]
dwarflint: Don't accept empty section as present
Petr Machata [Wed, 2 Dec 2009 18:26:17 +0000 (19:26 +0100)]
dwarflint: Split checks-low.hh/cc into check_debug_aranges.hh/cc and sections.hh/cc/ii
Petr Machata [Mon, 30 Nov 2009 18:20:26 +0000 (19:20 +0100)]
dwarflint: Recursive check guard
Petr Machata [Mon, 30 Nov 2009 18:19:49 +0000 (19:19 +0100)]
dwarflint: Fix checking of DW_AT_stmt_list and DW_AT_decl_file
* or rather fix first, implement other
Petr Machata [Mon, 30 Nov 2009 17:06:53 +0000 (18:06 +0100)]
dwarflint: Extract .debug_pub checks into check_debug_pub.cc