]> git.ipfire.org Git - thirdparty/elfutils.git/log
thirdparty/elfutils.git
16 years agoOnly initialize coverage map if we want to find holes in section coverage
Petr Machata [Tue, 10 Feb 2009 01:41:29 +0000 (02:41 +0100)] 
Only initialize coverage map if we want to find holes in section coverage

16 years agoMove some code around
Petr Machata [Tue, 10 Feb 2009 01:13:29 +0000 (02:13 +0100)] 
Move some code around

16 years agoIsolated validation of REL/RELA sections
Petr Machata [Mon, 9 Feb 2009 23:30:52 +0000 (00:30 +0100)] 
Isolated validation of REL/RELA sections

* (We still don't check relocations against what's in the section being
   relocated.  This is just validation of REL/A section itself.)

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Thu, 5 Feb 2009 15:48:34 +0000 (16:48 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoTurn off hole-finder for coverage maps
Petr Machata [Thu, 5 Feb 2009 15:47:54 +0000 (16:47 +0100)] 
Turn off hole-finder for coverage maps

16 years agoUnaligned rangeptr pointers deserve message with impact 2, not 4
Petr Machata [Thu, 5 Feb 2009 15:29:52 +0000 (16:29 +0100)] 
Unaligned rangeptr pointers deserve message with impact 2, not 4

16 years agoComments
Roland McGrath [Wed, 4 Feb 2009 23:58:56 +0000 (15:58 -0800)] 
Comments

16 years agoFix dwarf::ranges::const_iterator::operator* end-case check.
Roland McGrath [Wed, 4 Feb 2009 23:58:41 +0000 (15:58 -0800)] 
Fix dwarf::ranges::const_iterator::operator* end-case check.

16 years agoRevert "Handle it specially when dwarf_ranges returns 1"
Roland McGrath [Wed, 4 Feb 2009 23:55:59 +0000 (15:55 -0800)] 
Revert "Handle it specially when dwarf_ranges returns 1"

This reverts commit ebd7af48a96cac696b025fab869b3611e535de64.

16 years agoIn .debug_{loc, ranges} validator, report messages with the right section and category
Petr Machata [Wed, 4 Feb 2009 17:10:46 +0000 (18:10 +0100)] 
In .debug_{loc, ranges} validator, report messages with the right section and category

16 years agoAdd --ref option that turns on reference reporting during .debug_ranges validation
Petr Machata [Wed, 4 Feb 2009 16:29:39 +0000 (17:29 +0100)] 
Add --ref option that turns on reference reporting during .debug_ranges validation

* ... and make reference reporting off by default.  Previous setting was
  overly verbose, without really being useful.

16 years agoRange checking for .debug_loc and .debug_ranges
Petr Machata [Wed, 4 Feb 2009 16:12:52 +0000 (17:12 +0100)] 
Range checking for .debug_loc and .debug_ranges

* ... and fix computation of the base address of a CU in read_die_chain

16 years agoRewrite some code in coverage_map_found_hole
Petr Machata [Wed, 4 Feb 2009 14:55:11 +0000 (15:55 +0100)] 
Rewrite some code in coverage_map_found_hole

16 years agoReorganize coverage map handling
Petr Machata [Tue, 3 Feb 2009 16:35:40 +0000 (17:35 +0100)] 
Reorganize coverage map handling

* so that it can be reused for .debug_ranges and .debug_loc

16 years agoDo the .debug_loc and .debug_ranges validation after .debug_info
Petr Machata [Tue, 3 Feb 2009 13:58:18 +0000 (14:58 +0100)] 
Do the .debug_loc and .debug_ranges validation after .debug_info

* ... as compared to /during/ .debug_info validation, which was the case
  before.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Mon, 2 Feb 2009 17:12:03 +0000 (18:12 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoSomehow I managed to overlook this...
Petr Machata [Mon, 2 Feb 2009 17:06:02 +0000 (18:06 +0100)] 
Somehow I managed to overlook this...

* ... and it causes a compilation error.  No idea how did I debug several
  changes afterwards with this missing.  I blame git for messing with my
  tree mid-commit.

16 years agoUse sorted container to do the comparisons
Petr Machata [Mon, 2 Feb 2009 17:02:31 +0000 (18:02 +0100)] 
Use sorted container to do the comparisons

16 years agoImplement check for ranges/aranges mismatch
Petr Machata [Mon, 2 Feb 2009 16:38:03 +0000 (17:38 +0100)] 
Implement check for ranges/aranges mismatch

16 years agoFix a bug and make some errors not showstoppers in aranges structural check
Petr Machata [Mon, 2 Feb 2009 16:34:24 +0000 (17:34 +0100)] 
Fix a bug and make some errors not showstoppers in aranges structural check

16 years agoconst-correctify output and where formatting functions
Petr Machata [Mon, 2 Feb 2009 16:33:21 +0000 (17:33 +0100)] 
const-correctify output and where formatting functions

16 years agoHandle it specially when dwarf_ranges returns 1
Petr Machata [Mon, 2 Feb 2009 16:32:03 +0000 (17:32 +0100)] 
Handle it specially when dwarf_ranges returns 1

16 years agoImplement attribute values in dwarf_edit.
Roland McGrath [Mon, 2 Feb 2009 04:40:36 +0000 (20:40 -0800)] 
Implement attribute values in dwarf_edit.

16 years agoVarious fixes; started location list reader interface.
Roland McGrath [Mon, 2 Feb 2009 02:34:04 +0000 (18:34 -0800)] 
Various fixes; started location list reader interface.

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Sun, 1 Feb 2009 22:25:06 +0000 (14:25 -0800)] 
Merge commit 'origin/master' into dwarf

16 years agozip.m4: Fix --with/--without argument handling.
Roland McGrath [Sun, 1 Feb 2009 22:24:46 +0000 (14:24 -0800)] 
zip.m4: Fix --with/--without argument handling.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Sat, 31 Jan 2009 23:30:03 +0000 (00:30 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoValidate .debug_aranges overlaps, uncovered parts, etc.
Petr Machata [Sat, 31 Jan 2009 23:29:42 +0000 (00:29 +0100)] 
Validate .debug_aranges overlaps, uncovered parts, etc.

16 years agoFix REALLOC macro
Petr Machata [Sat, 31 Jan 2009 23:28:57 +0000 (00:28 +0100)] 
Fix REALLOC macro

16 years agoSplit dwarflint into C and C++ part
Petr Machata [Sat, 31 Jan 2009 21:39:14 +0000 (22:39 +0100)] 
Split dwarflint into C and C++ part

* high-level checks can be written in C++ using shiny new libdw interfaces

16 years agoFix formatting of wheres
Petr Machata [Sat, 31 Jan 2009 21:36:37 +0000 (22:36 +0100)] 
Fix formatting of wheres

16 years agoFix container equality tests to handle size mismatch.
Roland McGrath [Fri, 30 Jan 2009 03:06:25 +0000 (19:06 -0800)] 
Fix container equality tests to handle size mismatch.

16 years agoMerge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Roland McGrath [Thu, 29 Jan 2009 20:37:00 +0000 (12:37 -0800)] 
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf

16 years agoFill in message formatting info for .debug_ranges
Petr Machata [Thu, 29 Jan 2009 17:00:48 +0000 (18:00 +0100)] 
Fill in message formatting info for .debug_ranges

16 years agoValidate several location expression opcodes
Petr Machata [Thu, 29 Jan 2009 14:02:35 +0000 (15:02 +0100)] 
Validate several location expression opcodes

16 years agoFix i386 compilation
Petr Machata [Thu, 29 Jan 2009 12:42:58 +0000 (13:42 +0100)] 
Fix i386 compilation

16 years agoSafety checks in iterators.
Roland McGrath [Thu, 29 Jan 2009 08:35:10 +0000 (00:35 -0800)] 
Safety checks in iterators.

16 years agoC++ reader interface for line info
Roland McGrath [Thu, 29 Jan 2009 06:14:29 +0000 (22:14 -0800)] 
C++ reader interface for line info

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Thu, 29 Jan 2009 06:01:38 +0000 (22:01 -0800)] 
Merge commit 'origin/master' into dwarf

16 years agoFiddle internal type decls for C++ scoping.
Roland McGrath [Thu, 29 Jan 2009 06:00:54 +0000 (22:00 -0800)] 
Fiddle internal type decls for C++ scoping.

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Thu, 29 Jan 2009 02:29:39 +0000 (18:29 -0800)] 
Merge commit 'origin/master' into dwarf

Conflicts:
src/ChangeLog

16 years ago(struct Dwarf_Files_s): Replace dbg field with cu field.
Roland McGrath [Thu, 29 Jan 2009 02:28:52 +0000 (18:28 -0800)] 
(struct Dwarf_Files_s): Replace dbg field with cu field.

16 years agoCheck that each rangelistptr is aligned to CU's address_size
Petr Machata [Wed, 28 Jan 2009 16:09:01 +0000 (17:09 +0100)] 
Check that each rangelistptr is aligned to CU's address_size

16 years agoCheck that base address is set when validating loc or ranges
Petr Machata [Wed, 28 Jan 2009 15:45:46 +0000 (16:45 +0100)] 
Check that base address is set when validating loc or ranges

16 years agoBetter .debug_loc and .debug_range checking
Petr Machata [Wed, 28 Jan 2009 15:36:10 +0000 (16:36 +0100)] 
Better .debug_loc and .debug_range checking

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 28 Jan 2009 14:30:06 +0000 (15:30 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoTolerate zero-padding to given alignment
Petr Machata [Wed, 28 Jan 2009 14:29:50 +0000 (15:29 +0100)] 
Tolerate zero-padding to given alignment

16 years agoreadelf .debug_loc robustness fixes.
Roland McGrath [Wed, 28 Jan 2009 01:08:03 +0000 (17:08 -0800)] 
readelf .debug_loc robustness fixes.

16 years ago(__libdwfl_report_elf): Ignore trailing PT_LOAD with zero vaddr and memsz.
Roland McGrath [Wed, 28 Jan 2009 00:41:54 +0000 (16:41 -0800)] 
(__libdwfl_report_elf): Ignore trailing PT_LOAD with zero vaddr and memsz.

16 years agoFix warning nit.
Roland McGrath [Wed, 28 Jan 2009 00:19:18 +0000 (16:19 -0800)] 
Fix warning nit.

16 years agoValidate .debug_ranges
Petr Machata [Tue, 27 Jan 2009 22:14:37 +0000 (23:14 +0100)] 
Validate .debug_ranges

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Tue, 27 Jan 2009 17:56:12 +0000 (18:56 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoCheck that the base address selection entry actually changes base address
Petr Machata [Tue, 27 Jan 2009 17:55:30 +0000 (18:55 +0100)] 
Check that the base address selection entry actually changes base address

16 years agoMerge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Roland McGrath [Tue, 27 Jan 2009 13:21:30 +0000 (05:21 -0800)] 
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf

16 years agoSupport operator-> where possible.
Roland McGrath [Tue, 27 Jan 2009 13:21:02 +0000 (05:21 -0800)] 
Support operator-> where possible.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Tue, 27 Jan 2009 12:49:01 +0000 (13:49 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoMatch the way dwarflint reports offsets with the way elfutils does it
Petr Machata [Tue, 27 Jan 2009 12:48:39 +0000 (13:48 +0100)] 
Match the way dwarflint reports offsets with the way elfutils does it

16 years agoFind end () iterator constructors so equality tests work again.
Roland McGrath [Tue, 27 Jan 2009 12:39:23 +0000 (04:39 -0800)] 
Find end () iterator constructors so equality tests work again.

16 years agoFix some iterator equality predicates.
Roland McGrath [Tue, 27 Jan 2009 12:07:03 +0000 (04:07 -0800)] 
Fix some iterator equality predicates.

16 years agoComments; start dwarf_output class defn.
Roland McGrath [Tue, 27 Jan 2009 11:27:58 +0000 (03:27 -0800)] 
Comments; start dwarf_output class defn.

16 years agoCoalesce adjacent ranges for comparison.
Roland McGrath [Tue, 27 Jan 2009 09:47:43 +0000 (01:47 -0800)] 
Coalesce adjacent ranges for comparison.

16 years agoAdd dwarf::aranges for linear map of .debug_aranges sets.
Roland McGrath [Tue, 27 Jan 2009 08:48:29 +0000 (00:48 -0800)] 
Add dwarf::aranges for linear map of .debug_aranges sets.

16 years agoMove class dwarf_output to new file, rename it dwarf_edit.
Roland McGrath [Tue, 27 Jan 2009 03:14:25 +0000 (19:14 -0800)] 
Move class dwarf_output to new file, rename it dwarf_edit.

16 years agodwarf_ranges C++ wrapper
Roland McGrath [Tue, 27 Jan 2009 02:37:36 +0000 (18:37 -0800)] 
dwarf_ranges C++ wrapper

16 years agoMerge branch 'master' into dwarf
Roland McGrath [Tue, 27 Jan 2009 02:36:41 +0000 (18:36 -0800)] 
Merge branch 'master' into dwarf

Conflicts:
libdw/ChangeLog

16 years agodwarf_ranges.c: Return 0 when no ranges or *_pc attrs at all.
Roland McGrath [Tue, 27 Jan 2009 02:36:16 +0000 (18:36 -0800)] 
dwarf_ranges.c: Return 0 when no ranges or *_pc attrs at all.

16 years agoFix dwarf::range_list iterator initialization.
Roland McGrath [Tue, 27 Jan 2009 00:55:43 +0000 (16:55 -0800)] 
Fix dwarf::range_list iterator initialization.

16 years agoCheck that each CU is referenced only from one pubname/pubtype section
Petr Machata [Mon, 26 Jan 2009 22:04:34 +0000 (23:04 +0100)] 
Check that each CU is referenced only from one pubname/pubtype section

16 years agoAllow 10-byte ULEB128
Petr Machata [Mon, 26 Jan 2009 22:03:56 +0000 (23:03 +0100)] 
Allow 10-byte ULEB128

16 years agoFix changelog
Petr Machata [Mon, 26 Jan 2009 13:06:45 +0000 (14:06 +0100)] 
Fix changelog

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Mon, 26 Jan 2009 13:02:35 +0000 (14:02 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agoMore .debug_aranges checking
Petr Machata [Mon, 26 Jan 2009 13:02:13 +0000 (14:02 +0100)] 
More .debug_aranges checking

16 years agoUse non-copying const_vector type for blocks.
Roland McGrath [Mon, 26 Jan 2009 12:40:30 +0000 (04:40 -0800)] 
Use non-copying const_vector type for blocks.

16 years agoSmall tweaks to attr values
Roland McGrath [Mon, 26 Jan 2009 11:06:21 +0000 (03:06 -0800)] 
Small tweaks to attr values

16 years agoStart at attr value interfaces, unfinished.
Roland McGrath [Mon, 26 Jan 2009 10:45:41 +0000 (02:45 -0800)] 
Start at attr value interfaces, unfinished.

16 years agoMerge branch 'master' into dwarf
Roland McGrath [Mon, 26 Jan 2009 03:38:07 +0000 (19:38 -0800)] 
Merge branch 'master' into dwarf

Conflicts:
libdw/ChangeLog

16 years agodwarf_getattrs.c: Correctly skip attribute values when restarting.
Roland McGrath [Mon, 26 Jan 2009 03:37:33 +0000 (19:37 -0800)] 
dwarf_getattrs.c: Correctly skip attribute values when restarting.

16 years agoDefine __STDC_LIMIT_MACROS for C++ vs <stdint.h>
Roland McGrath [Mon, 26 Jan 2009 01:33:58 +0000 (17:33 -0800)] 
Define __STDC_LIMIT_MACROS for C++ vs <stdint.h>

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Sun, 25 Jan 2009 20:09:25 +0000 (12:09 -0800)] 
Merge commit 'origin/master' into dwarf

16 years agoFix typo in last change.
Ulrich Drepper [Sun, 25 Jan 2009 17:03:37 +0000 (09:03 -0800)] 
Fix typo in last change.

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Sun, 25 Jan 2009 06:55:08 +0000 (22:55 -0800)] 
Merge commit 'origin/master' into dwarf

Conflicts:
ChangeLog
libdw/ChangeLog
src/ChangeLog

16 years agoFix typo in comment.
Ulrich Drepper [Sun, 25 Jan 2009 01:39:24 +0000 (17:39 -0800)] 
Fix typo in comment.

16 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Ulrich Drepper [Sun, 25 Jan 2009 01:26:03 +0000 (17:26 -0800)] 
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils

16 years agoExplain EBL ABI policy.
Ulrich Drepper [Sun, 25 Jan 2009 01:16:39 +0000 (17:16 -0800)] 
Explain EBL ABI policy.

16 years agoFix compuation of base address for printing stack frame program.
Ulrich Drepper [Sun, 25 Jan 2009 01:01:08 +0000 (17:01 -0800)] 
Fix compuation of base address for printing stack frame program.

16 years agoMerge commit 'elfutils-0.139' into dwarf
Roland McGrath [Sat, 24 Jan 2009 02:00:40 +0000 (18:00 -0800)] 
Merge commit 'elfutils-0.139' into dwarf

Conflicts:
ChangeLog
libdw/ChangeLog
src/ChangeLog
src/Makefile.am

16 years agoAdd multiple inclusion protection to eu-config.h
Roland McGrath [Sat, 24 Jan 2009 01:11:04 +0000 (17:11 -0800)] 
Add multiple inclusion protection to eu-config.h

16 years agoUse quotes around command substitution that can produce leading whitespace.
Roland McGrath [Sat, 24 Jan 2009 00:39:42 +0000 (16:39 -0800)] 
Use quotes around command substitution that can produce leading whitespace.

16 years agoPut known-dwarf.h in the dist so every build need not have a recent gawk.
Roland McGrath [Sat, 24 Jan 2009 00:34:07 +0000 (16:34 -0800)] 
Put known-dwarf.h in the dist so every build need not have a recent gawk.

16 years agoFix handling of file descriptors for the files size opens.
Ulrich Drepper [Sat, 24 Jan 2009 00:32:21 +0000 (16:32 -0800)] 
Fix handling of file descriptors for the files size opens.

16 years agoHandled adding argp_error to special functions for xgettext to take care of.
Ulrich Drepper [Sat, 24 Jan 2009 00:29:12 +0000 (16:29 -0800)] 
Handled adding argp_error to special functions for xgettext to take care of.

16 years ago(XGETTEXT_OPTIONS): Add --flag option for argp_error.
Ulrich Drepper [Sat, 24 Jan 2009 00:28:25 +0000 (16:28 -0800)] 
(XGETTEXT_OPTIONS): Add --flag option for argp_error.

16 years agoUpdate list of files with translatable strings.
Ulrich Drepper [Sat, 24 Jan 2009 00:24:51 +0000 (16:24 -0800)] 
Update list of files with translatable strings.

16 years agoExplain problem with po/Makefile.in.in.
Ulrich Drepper [Sat, 24 Jan 2009 00:13:00 +0000 (16:13 -0800)] 
Explain problem with po/Makefile.in.in.

16 years agoPrint .strtab, .dynstr, and .comment for -a option of readelf.
Ulrich Drepper [Sat, 24 Jan 2009 00:10:44 +0000 (16:10 -0800)] 
Print .strtab, .dynstr, and .comment for -a option of readelf.

16 years agoconfigure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
Roland McGrath [Fri, 23 Jan 2009 22:31:33 +0000 (14:31 -0800)] 
configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.

16 years agoMake the __thread check more precisely representative to catch bad tools with nonwork...
Roland McGrath [Fri, 23 Jan 2009 22:27:39 +0000 (14:27 -0800)] 
Make the __thread check more precisely representative to catch bad tools with nonworking partial support.

16 years agoCheck that all CUs have the same address size
Petr Machata [Fri, 23 Jan 2009 14:56:17 +0000 (15:56 +0100)] 
Check that all CUs have the same address size

* and shuffle some other code around

16 years agoTest with local-dynamic TLS model as libelf will use.
Roland McGrath [Fri, 23 Jan 2009 11:40:50 +0000 (03:40 -0800)] 
Test with local-dynamic TLS model as libelf will use.

16 years ago(__thread check): Use AC_LINK_IFELSE, in case of building with compiler support but...
Roland McGrath [Fri, 23 Jan 2009 11:23:02 +0000 (03:23 -0800)] 
(__thread check): Use AC_LINK_IFELSE, in case of building with compiler support but no working runtime support.