Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dwarflint: check_range_out_of_scope only check location of pc_contained_dies.upstream/mjw/location-range | Mark Wielaard | 2011-03-31 | 1 | -64/+71 |
| | |||||
* | dwarflint: Allow DW_AT_ranges with const form, as gnu version 2 extension. | Mark Wielaard | 2011-03-31 | 3 | -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 Wielaard | 2011-03-30 | 1 | -2/+0 |
| | |||||
* | dwarflint: Add GNU_call attributes and tags to expected-at.cc. | Mark Wielaard | 2011-03-30 | 1 | -0/+30 |
| | |||||
* | Add DW_AT_GNU_call attributes to dwarf-knowledge.cc. | Mark Wielaard | 2011-03-30 | 1 | -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 messages | Petr Machata | 2011-03-29 | 7 | -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_warning | Petr Machata | 2011-03-28 | 4 | -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| instead | Petr Machata | 2011-03-28 | 12 | -54/+40 |
| | |||||
* | Merge branch 'pmachata/dwarflint' into dwarf | Petr Machata | 2011-03-28 | 19 | -268/+620 |
|\ | |||||
| * | dwarflint: Rewrite check_duplicate_DW_tag_variable as a per-DIE check | Petr Machata | 2011-03-28 | 1 | -16/+9 |
| | | |||||
| * | dwarflint: Add check_die_tree pass for generic per-DIE checks | Petr Machata | 2011-03-28 | 18 | -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 dwarf | Mark Wielaard | 2011-03-24 | 2 | -1/+15 |
|\ \ | |/ |/| | |||||
| * | Add support for low-level dwarflint checks for call_site and entry_value.upstream/mjw/call_site | Mark Wielaard | 2011-03-23 | 2 | -1/+15 |
| | | |||||
* | | Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf | Petr Machata | 2011-03-23 | 31 | -56/+858 |
|\| | |||||
| * | Copy master readelf.c dwarf_tag/attr_string changes to dwarfstrings.c. | Mark Wielaard | 2011-03-23 | 1 | -0/+40 |
| | | |||||
| * | Merge branch 'master' into dwarf | Mark Wielaard | 2011-03-23 | 30 | -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 Wielaard | 2011-03-23 | 4 | -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/autotest | Mark Wielaard | 2011-03-11 | 11 | -4/+114 |
| | | | |||||
| | * | Cosmetic cleanup for new test. | Roland McGrath | 2011-03-09 | 2 | -5/+5 |
| | | | |||||
| | * | Reject requests for abbreviation with code 0 | Petr Machata | 2011-03-10 | 6 | -5/+102 |
| | | | |||||
| | * | Alpha backend: accept any _GLOBAL_OFFSET_TABLE_ value. | Roland McGrath | 2011-03-09 | 3 | -2/+28 |
| | | | |||||
| | * | Check for truncated section in dwarf_child. | Petr Machata | 2011-03-09 | 2 | -6/+19 |
| | | | |||||
| | * | libdwfl: Clear errno before using its ambient value. | Roland McGrath | 2011-03-08 | 2 | -0/+9 |
| | | | |||||
| | * | New test for dwarf_getstring. | Marek Polacek | 2011-03-07 | 4 | -2/+229 |
| | | | |||||
| | * | Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils | Roland McGrath | 2011-03-03 | 2 | -2/+6 |
| | |\ | |||||
| | | * | BUILT_RPATH vs BUILD_RPATH fixup. | Mark Wielaard | 2011-02-25 | 2 | -2/+6 |
| | | | | | | | | | | | | | | | | * tests/Makefile.am (BUILD_RPATH): Be consistent in naming. | ||||
| | * | | Fix readelf --debug-dump=loc crash on multiple input files. | Jan Kratochvil | 2011-02-27 | 5 | -1/+43 |
| | |/ | |||||
| | * | Merge over readelf dwarf string additions from dwarf branch dwarfstrings. | Mark Wielaard | 2011-02-25 | 2 | -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 McGrath | 2011-02-23 | 7 | -38/+195 |
| | | | |||||
| | * | Handle DW_AT_GNU_odr_signature in readelf. | Roland McGrath | 2011-02-23 | 2 | -1/+9 |
| | | | |||||
* | | | dwarflint: Tolerate attributes from all DWARF versions, be less strict | Petr Machata | 2011-03-23 | 8 | -22/+77 |
|/ / | |||||
* | | dwarflint: Only add range to CU DIE coverage if low_pc > high_pc | Petr Machata | 2011-03-22 | 1 | -1/+1 |
| | | |||||
* | | dwarflint: Fix reporting of CU x arange mismatch | Petr Machata | 2011-03-21 | 3 | -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 != 0 | Petr Machata | 2011-03-19 | 1 | -3/+13 |
| | | |||||
* | | dwarflint: Do the ET_REL layout starting on address > 0 | Petr Machata | 2011-03-19 | 1 | -1/+1 |
| | | |||||
* | | dwarlint check_debug_line.cc DW_LNS_advance_line takes a sleb128 operan. | Mark Wielaard | 2011-03-18 | 1 | -0/+9 |
| | | |||||
* | | dwarflint: DW_AT_high_pc always has to be >= DW_AT_low_pc | Petr Machata | 2011-03-18 | 3 | -1/+5 |
| | | |||||
* | | dwarflint: Also cover DW_AT_low_pc == DW_AT_high_pc (if that is > 0) | Petr Machata | 2011-03-18 | 4 | -1/+9 |
| | | |||||
* | | dwarflint: Catch and report exceptions thrown in checks | Petr Machata | 2011-03-18 | 2 | -8/+31 |
| | | |||||
* | | dwarflint: Add a check for DW_AT_low_pc > DW_AT_high_pc | Petr Machata | 2011-03-18 | 4 | -3/+41 |
| | | |||||
* | | dwarflint: Support DW_AT_high_pc that is constant, check low_pc <= high_pc | Petr Machata | 2011-03-17 | 4 | -8/+69 |
| | | |||||
* | | Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf | Petr Machata | 2011-03-17 | 1 | -4/+5 |
|\ \ | |||||
| * | | Workaround all self referential ref values, not just DW_AT_containing_type. | Mark Wielaard | 2011-03-17 | 1 | -4/+5 |
| | | | |||||
| * | | dwarflint: More thorough validation of ELF sections | Petr Machata | 2011-03-17 | 1 | -7/+7 |
| | | | |||||
* | | | dwarflint: Extract "local function" out of the method | Petr Machata | 2011-03-17 | 1 | -30/+28 |
| | | | |||||
* | | | dwarflint: Add a test case for check_self_referential_die | Petr Machata | 2011-03-17 | 3 | -2/+38 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/mjw/check_self_referential_die' into dwarf | Petr Machata | 2011-03-17 | 2 | -0/+87 |
|\ \ \ | |||||
| * | | | Add check_self_referential_die pass to dwarflint.upstream/mjw/check_self_referential_die | Mark Wielaard | 2011-03-17 | 2 | -0/+87 |
| | | | | |||||
* | | | | dwarflint: Fix message filtering | Petr Machata | 2011-03-17 | 10 | -83/+141 |
| |/ / |/| | | |||||
* | | | dwarflint: Check that .shstrtab is sound | Petr Machata | 2011-03-17 | 4 | -9/+23 |
|/ / |