summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dwarflint: check_range_out_of_scope only check location of pc_contained_dies.upstream/mjw/location-rangeMark Wielaard2011-03-311-64/+71
|
* dwarflint: Allow DW_AT_ranges with const form, as gnu version 2 extension.Mark Wielaard2011-03-313-11/+39
| | | | | | | | | Without -gstrict-dwarf gcc allows usage of attributes from later versions. One strange case is DW_AT_ranges in version 2 since that version doesn't actually define a rangelistptr class. This case is added in the form_allowed override for dwarf_gnu, for version 2. In gnu mode form_allowed checks both variants, source and extension, in no-gnu mode, only the latest is allowed.
* dwarflint: check_debug_abbrev.cc (load_debug_abbrev) prev_abbr_off not used.Mark Wielaard2011-03-301-2/+0
|
* dwarflint: Add GNU_call attributes and tags to expected-at.cc.Mark Wielaard2011-03-301-0/+30
|
* Add DW_AT_GNU_call attributes to dwarf-knowledge.cc.Mark Wielaard2011-03-301-0/+8
| | | | | | | DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered describe locations. DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and DW_AT_GNU_all_source_call_sites are flags.
* dwarflint: Add filtering of duplicate messagesPetr Machata2011-03-297-45/+192
| | | | | | | | - we use the first string component of stream implementation of wr_message as a key to decide whether we've seen the message before. Most of the messages use streams, is why it's like that. When (if) we get back to formatting strings, that string should be even better key, because there will be less chance for compiler to do duplicate elimination etc.
* dwarflint: Drop wr_warningPetr Machata2011-03-284-23/+3
| | | | | - wr_error is for outright violations. The rest should be passed through wr_message to allow filtering
* dwarflint: Drop the "cat" function, use operator| insteadPetr Machata2011-03-2812-54/+40
|
* Merge branch 'pmachata/dwarflint' into dwarfPetr Machata2011-03-2819-268/+620
|\
| * dwarflint: Rewrite check_duplicate_DW_tag_variable as a per-DIE checkPetr Machata2011-03-281-16/+9
| |
| * dwarflint: Add check_die_tree pass for generic per-DIE checksPetr Machata2011-03-2818-252/+611
| | | | | | | | | | | | | | | | | | - add reg_die_check for registering per-DIE check passes - turn check_registrar into a template to allow reuse among reg<> and reg_die_check<> - the per-DIE checking magic is in check_die_tree.hh - hide most of checks.hh into dwarflint.cc. That has little to do with per-DIE checks as such, but was a necessary cleanup
* | Merge branch 'mjw/call_site' into dwarfMark Wielaard2011-03-242-1/+15
|\ \ | |/ |/|
| * Add support for low-level dwarflint checks for call_site and entry_value.upstream/mjw/call_siteMark Wielaard2011-03-232-1/+15
| |
* | Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarfPetr Machata2011-03-2331-56/+858
|\|
| * Copy master readelf.c dwarf_tag/attr_string changes to dwarfstrings.c.Mark Wielaard2011-03-231-0/+40
| |
| * Merge branch 'master' into dwarfMark Wielaard2011-03-2330-56/+818
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: libdw/ChangeLog src/readelf.c tests/ChangeLog tests/Makefile.am
| | * Add support for call_site and entry_value to dwarf.h and readelf.Mark Wielaard2011-03-234-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New tags DW_TAG_GNU_call_site and DW_TAG_GNU_call_site_parameter. New attributes DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites, and DW_AT_GNU_all_source_call_sites. New operation DW_OP_GNU_entry_value.
| | * Add new ebl_check_st_other_bits function.upstream/mpolacek/autotestMark Wielaard2011-03-1111-4/+114
| | |
| | * Cosmetic cleanup for new test.Roland McGrath2011-03-092-5/+5
| | |
| | * Reject requests for abbreviation with code 0Petr Machata2011-03-106-5/+102
| | |
| | * Alpha backend: accept any _GLOBAL_OFFSET_TABLE_ value.Roland McGrath2011-03-093-2/+28
| | |
| | * Check for truncated section in dwarf_child.Petr Machata2011-03-092-6/+19
| | |
| | * libdwfl: Clear errno before using its ambient value.Roland McGrath2011-03-082-0/+9
| | |
| | * New test for dwarf_getstring.Marek Polacek2011-03-074-2/+229
| | |
| | * Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutilsRoland McGrath2011-03-032-2/+6
| | |\
| | | * BUILT_RPATH vs BUILD_RPATH fixup.Mark Wielaard2011-02-252-2/+6
| | | | | | | | | | | | | | | | * tests/Makefile.am (BUILD_RPATH): Be consistent in naming.
| | * | Fix readelf --debug-dump=loc crash on multiple input files.Jan Kratochvil2011-02-275-1/+43
| | |/
| | * Merge over readelf dwarf string additions from dwarf branch dwarfstrings.Mark Wielaard2011-02-252-3/+39
| | | | | | | | | | | | | | | * readelf.c (dwarf_attr_string): Add DW_AT_GNU_* handling. (dwarf_form_string): Properly format and return unknown form.
| | * Support reading .zdebug_* DWARF sections compressed via zlib.Roland McGrath2011-02-237-38/+195
| | |
| | * Handle DW_AT_GNU_odr_signature in readelf.Roland McGrath2011-02-232-1/+9
| | |
* | | dwarflint: Tolerate attributes from all DWARF versions, be less strictPetr Machata2011-03-238-22/+77
|/ /
* | dwarflint: Only add range to CU DIE coverage if low_pc > high_pcPetr Machata2011-03-221-1/+1
| |
* | dwarflint: Fix reporting of CU x arange mismatchPetr Machata2011-03-213-5/+7
| | | | | | | | | | | | - report the direction of mismatch correctly - clarify that we only care about CU DIEs, not any old DIE. Clarify that in a comment in check_debug_info
* | dwarflint: Check that operand of DW_LNE_set_address is != 0Petr Machata2011-03-191-3/+13
| |
* | dwarflint: Do the ET_REL layout starting on address > 0Petr Machata2011-03-191-1/+1
| |
* | dwarlint check_debug_line.cc DW_LNS_advance_line takes a sleb128 operan.Mark Wielaard2011-03-181-0/+9
| |
* | dwarflint: DW_AT_high_pc always has to be >= DW_AT_low_pcPetr Machata2011-03-183-1/+5
| |
* | dwarflint: Also cover DW_AT_low_pc == DW_AT_high_pc (if that is > 0)Petr Machata2011-03-184-1/+9
| |
* | dwarflint: Catch and report exceptions thrown in checksPetr Machata2011-03-182-8/+31
| |
* | dwarflint: Add a check for DW_AT_low_pc > DW_AT_high_pcPetr Machata2011-03-184-3/+41
| |
* | dwarflint: Support DW_AT_high_pc that is constant, check low_pc <= high_pcPetr Machata2011-03-174-8/+69
| |
* | Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarfPetr Machata2011-03-171-4/+5
|\ \
| * | Workaround all self referential ref values, not just DW_AT_containing_type.Mark Wielaard2011-03-171-4/+5
| | |
| * | dwarflint: More thorough validation of ELF sectionsPetr Machata2011-03-171-7/+7
| | |
* | | dwarflint: Extract "local function" out of the methodPetr Machata2011-03-171-30/+28
| | |
* | | dwarflint: Add a test case for check_self_referential_diePetr Machata2011-03-173-2/+38
| | |
* | | Merge remote-tracking branch 'origin/mjw/check_self_referential_die' into dwarfPetr Machata2011-03-172-0/+87
|\ \ \
| * | | Add check_self_referential_die pass to dwarflint.upstream/mjw/check_self_referential_dieMark Wielaard2011-03-172-0/+87
| | | |
* | | | dwarflint: Fix message filteringPetr Machata2011-03-1710-83/+141
| |/ / |/| |
* | | dwarflint: Check that .shstrtab is soundPetr Machata2011-03-174-9/+23
|/ /