]>
git.ipfire.org Git - thirdparty/elfutils.git/log
Petr Machata [Sun, 19 Jul 2009 15:46:39 +0000 (17:46 +0200)]
Cosmetic
Petr Machata [Sun, 19 Jul 2009 15:45:23 +0000 (17:45 +0200)]
dwarflint: Forgot to commit the other_byte_order bit
Petr Machata [Sun, 19 Jul 2009 15:44:55 +0000 (17:44 +0200)]
dwarflint: Lowlevel doesn't depend on libdw
* When we don't depend on libdw to provide us with Dwarf descriptor, we can
validate even fragmental files. Since on low level dwarflint does all
the data processing itself, libdw is not really used anyway.
* High level obviously still does use libdw
Petr Machata [Sun, 19 Jul 2009 15:03:20 +0000 (17:03 +0200)]
dwarflint: Add a copyright notice in dwarflint-coverage.c
Petr Machata [Wed, 15 Jul 2009 15:06:41 +0000 (17:06 +0200)]
dwarflint: Require DW_AT_import at DW_TAG_imported_unit
Petr Machata [Wed, 15 Jul 2009 14:34:26 +0000 (16:34 +0200)]
dwarflint: Omit several more checks in --gnu/-t mode
Petr Machata [Wed, 15 Jul 2009 14:32:53 +0000 (16:32 +0200)]
dwarflint: Cosmetic
Petr Machata [Wed, 15 Jul 2009 14:30:10 +0000 (16:30 +0200)]
dwarflint: Extract coverage comparison to function
Petr Machata [Wed, 15 Jul 2009 14:29:08 +0000 (16:29 +0200)]
dwarflint: Fix SEGV
Petr Machata [Tue, 14 Jul 2009 13:42:14 +0000 (15:42 +0200)]
Merge commit 'origin/dwarf' into dwarf
Petr Machata [Tue, 14 Jul 2009 13:41:31 +0000 (15:41 +0200)]
dwarflint: Check aranges coverage vs. CU coverage
Petr Machata [Tue, 14 Jul 2009 13:40:00 +0000 (15:40 +0200)]
dwarflint: Changes in coverage analysis module
Petr Machata [Tue, 14 Jul 2009 13:35:19 +0000 (15:35 +0200)]
dwarflint: Introduce `necessary_alignment'
Petr Machata [Tue, 14 Jul 2009 13:31:21 +0000 (15:31 +0200)]
dwarflint: Couple bugs and leftovers
Petr Machata [Tue, 14 Jul 2009 13:23:47 +0000 (15:23 +0200)]
dwarflint: Additional check for DW_AT_low_pc/high_pc/ranges at DIE
Petr Machata [Tue, 14 Jul 2009 13:22:55 +0000 (15:22 +0200)]
dwarflint: Rename cu->base to cu->low_pc
Roland McGrath [Wed, 8 Jul 2009 21:10:13 +0000 (14:10 -0700)]
Merge commit 'origin/master' into dwarf
Roland McGrath [Wed, 8 Jul 2009 21:09:39 +0000 (14:09 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Mark Wielaard [Wed, 8 Jul 2009 22:37:06 +0000 (00:37 +0200)]
Merge branch 'at_data_member_location'
Roland McGrath [Wed, 8 Jul 2009 21:08:32 +0000 (14:08 -0700)]
Fatfingers fix for commit
dffc33d .
Roland McGrath [Wed, 8 Jul 2009 21:07:20 +0000 (14:07 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
libdw/ChangeLog
src/ChangeLog
Roland McGrath [Wed, 8 Jul 2009 20:45:41 +0000 (13:45 -0700)]
Fix handling of constant-or-loclistptr (DW_AT_data_member_location).
Roland McGrath [Wed, 8 Jul 2009 20:56:48 +0000 (13:56 -0700)]
Fatfingers fix for commit
babee18 .
Roland McGrath [Wed, 8 Jul 2009 20:15:07 +0000 (13:15 -0700)]
Handle DW_AT_data_member_location of class constant magically in dwarf_getlocation{,_addr}.
Roland McGrath [Wed, 8 Jul 2009 19:36:56 +0000 (12:36 -0700)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Roland McGrath [Wed, 8 Jul 2009 19:36:43 +0000 (12:36 -0700)]
Fix shape selection for *ptr class.
Mark Wielaard [Wed, 8 Jul 2009 17:18:53 +0000 (19:18 +0200)]
Handle DW_Form constants for DW_AT_data_member_location in readelf.
Petr Machata [Wed, 8 Jul 2009 14:35:58 +0000 (16:35 +0200)]
dwarflint: Fix bug introduced during last fix
* sec_invalid marks up any section that's non-debug. We do want to do
coverage analysis on these. Skipping dummy section #0 is the right
solution.
Roland McGrath [Wed, 8 Jul 2009 09:16:14 +0000 (02:16 -0700)]
Collect unique DIE shapes in dwarf_output construction.
Ulrich Drepper [Wed, 8 Jul 2009 07:53:24 +0000 (00:53 -0700)]
Add support for STB_GNU_UNIQUE to libebl.
Roland McGrath [Tue, 7 Jul 2009 07:42:54 +0000 (00:42 -0700)]
Compile fix for 32-bit.
Roland McGrath [Tue, 7 Jul 2009 07:40:37 +0000 (00:40 -0700)]
dwarf_output::attributes_type (full attr set) in collector set.
Roland McGrath [Tue, 7 Jul 2009 00:57:33 +0000 (17:57 -0700)]
Fix last change.
Roland McGrath [Mon, 6 Jul 2009 23:47:22 +0000 (16:47 -0700)]
Make dwarfcmp -T test only dwarf_output, -TT for dwarf_edit, -TTT for both.
Roland McGrath [Mon, 6 Jul 2009 23:06:53 +0000 (16:06 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Roland McGrath [Mon, 6 Jul 2009 23:06:41 +0000 (16:06 -0700)]
Handle unknown register numbers gracefully in readelf -n core reading.
Roland McGrath [Mon, 6 Jul 2009 22:04:24 +0000 (15:04 -0700)]
Pass attribute name down to value constructors.
Roland McGrath [Mon, 6 Jul 2009 12:00:22 +0000 (05:00 -0700)]
All leaf value types nominally there.
Roland McGrath [Mon, 6 Jul 2009 11:34:46 +0000 (04:34 -0700)]
Getting there on dwarf_output value sets.
Roland McGrath [Mon, 6 Jul 2009 09:21:33 +0000 (02:21 -0700)]
Small fiddles in dwarf_data.
Roland McGrath [Mon, 6 Jul 2009 09:03:52 +0000 (02:03 -0700)]
Split out dwarf_path_finder from dwarf_ref_tracker::tracker.
Roland McGrath [Mon, 6 Jul 2009 08:42:29 +0000 (01:42 -0700)]
dwarf_output working again like dwarf_edit
Roland McGrath [Mon, 6 Jul 2009 08:12:48 +0000 (01:12 -0700)]
Must keep identifier and string distinct.
Roland McGrath [Sat, 4 Jul 2009 10:53:55 +0000 (03:53 -0700)]
Fix dwarf_output::attributes_type definition.
Roland McGrath [Sat, 4 Jul 2009 10:44:01 +0000 (03:44 -0700)]
More like dwarf_output compiling.
Roland McGrath [Sat, 4 Jul 2009 09:58:30 +0000 (02:58 -0700)]
Move dwarf_edit::compile_units into dwarf_data.
Roland McGrath [Sat, 4 Jul 2009 09:25:23 +0000 (02:25 -0700)]
Move dwarf_edit::compile_unit into dwarf_data.
Roland McGrath [Sat, 4 Jul 2009 09:03:38 +0000 (02:03 -0700)]
subrify some constructor magic.
Roland McGrath [Sat, 4 Jul 2009 08:17:54 +0000 (01:17 -0700)]
Make dwarf_output start to compile again.
Roland McGrath [Sat, 4 Jul 2009 08:17:24 +0000 (01:17 -0700)]
Avoid default copy-constructor for dwarf_edit from dwarf_edit.
Roland McGrath [Sat, 4 Jul 2009 03:03:39 +0000 (20:03 -0700)]
Soup up printing so dwarf-print can be used to compare dwarf vs dwarf_edit/dwarf_output.
Roland McGrath [Sat, 4 Jul 2009 02:59:40 +0000 (19:59 -0700)]
Fix constructor fiddle in last change.
Roland McGrath [Fri, 3 Jul 2009 20:31:24 +0000 (13:31 -0700)]
C++ warning fiddles. Let dwarf-print/dwarf_edit test copy constructors.
Petr Machata [Fri, 3 Jul 2009 16:35:44 +0000 (18:35 +0200)]
Merge commit 'origin/dwarf' into dwarf
Petr Machata [Fri, 3 Jul 2009 16:19:43 +0000 (18:19 +0200)]
dwarflint: `end' addresses of ranges are exclusive, consolidate range formatting
* inclusive `end' was counter-intuitive
Petr Machata [Fri, 3 Jul 2009 15:59:47 +0000 (17:59 +0200)]
dwarflint: Check alignment of section base address
Petr Machata [Fri, 3 Jul 2009 15:57:11 +0000 (17:57 +0200)]
dwarflint: Skip invalid sections in coverage_map_init
Roland McGrath [Fri, 3 Jul 2009 09:35:57 +0000 (02:35 -0700)]
Fix dwarf::range_list canonicalizing comparisons.
Roland McGrath [Fri, 3 Jul 2009 07:48:37 +0000 (00:48 -0700)]
dwarfcmp: Exit 77 for no DWARF under -T.
Roland McGrath [Fri, 3 Jul 2009 07:29:59 +0000 (00:29 -0700)]
Working dwarf_edit copy-construction with ref-maker.
Roland McGrath [Thu, 2 Jul 2009 13:19:16 +0000 (06:19 -0700)]
Cosmetic.
Roland McGrath [Thu, 2 Jul 2009 11:12:58 +0000 (04:12 -0700)]
Test dwarf_edit refs
Roland McGrath [Thu, 2 Jul 2009 10:45:58 +0000 (03:45 -0700)]
Fiddle dwarf_edit interfaces, let refs work a little.
Roland McGrath [Thu, 2 Jul 2009 09:50:36 +0000 (02:50 -0700)]
Get rid of dwarf::VS::unit_reference.
Roland McGrath [Thu, 2 Jul 2009 09:11:12 +0000 (02:11 -0700)]
Major revamp of dwarf_edit/dwarf_output.
Roland McGrath [Thu, 2 Jul 2009 03:33:14 +0000 (20:33 -0700)]
Fiddle dwarfcmp test failure output.
Roland McGrath [Thu, 2 Jul 2009 03:06:17 +0000 (20:06 -0700)]
Major revamp of ref tracker for efficiency and to handle circular reference chains.
Roland McGrath [Thu, 2 Jul 2009 03:01:13 +0000 (20:01 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
src/ChangeLog
Roland McGrath [Thu, 2 Jul 2009 03:00:38 +0000 (20:00 -0700)]
run-dwarfcmp-self.sh: Run on dwarflint too.
micm [Mon, 29 Jun 2009 13:18:49 +0000 (13:18 +0000)]
Sending translation for German
Roland McGrath [Mon, 29 Jun 2009 01:51:38 +0000 (18:51 -0700)]
Use a separate tracker for subtree comparisons inside reference_match.
Roland McGrath [Sun, 28 Jun 2009 21:48:02 +0000 (14:48 -0700)]
readelf: Add -N option, speeds up DWARF printing without address->name lookups.
Roland McGrath [Sun, 28 Jun 2009 21:09:40 +0000 (14:09 -0700)]
Iterator nit.
Roland McGrath [Fri, 26 Jun 2009 03:38:24 +0000 (20:38 -0700)]
No longer overload children and attributes as type names.
Petr Machata [Thu, 25 Jun 2009 16:30:17 +0000 (18:30 +0200)]
Two nits.
Petr Machata [Mon, 22 Jun 2009 16:20:00 +0000 (18:20 +0200)]
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Roland McGrath [Sat, 20 Jun 2009 00:53:08 +0000 (17:53 -0700)]
Implement the reference tracker, revamp dwarfcmp using new dwarf_comparator class.
Roland McGrath [Sat, 20 Jun 2009 00:51:22 +0000 (17:51 -0700)]
No-op control flow fiddle silences gcc-4.4 -O3 warning.
Roland McGrath [Sat, 20 Jun 2009 00:28:45 +0000 (17:28 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
libdw/ChangeLog
micm [Fri, 19 Jun 2009 09:10:01 +0000 (09:10 +0000)]
Sending translation for German
Mark Wielaard [Thu, 18 Jun 2009 11:31:56 +0000 (13:31 +0200)]
__libdwfl_report_elf: Return NULL on overlap, don't (double) close elf.
Roland McGrath [Thu, 18 Jun 2009 20:56:02 +0000 (13:56 -0700)]
Do some constification to avoid dubious casts.
Petr Machata [Tue, 16 Jun 2009 14:21:16 +0000 (16:21 +0200)]
dwarflint: Cosmetic
Roland McGrath [Tue, 16 Jun 2009 12:09:08 +0000 (05:09 -0700)]
Strange C++ nit for gcc 4.4
Roland McGrath [Tue, 16 Jun 2009 05:09:50 +0000 (22:09 -0700)]
Some compile nits for GCC 4.4
Roland McGrath [Tue, 16 Jun 2009 04:52:50 +0000 (21:52 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
libdw/ChangeLog
src/ChangeLog
Ulrich Drepper [Mon, 15 Jun 2009 03:19:45 +0000 (20:19 -0700)]
Squashed commit of the following:
commit
77abb31cb8d55980ef92260917a7ecdd228b1a44
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 8 15:46:16 2009 +0200
Fix a bug in offset checking
commit
b794eac4f8d3e08101b5d2924523b1259bbc1b17
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 16:00:01 2009 +0200
Cosmetic, get rid of defining several variables per line
commit
a23938fe35d515a3d75a51f6204771f3cf6c9ec4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 15:50:03 2009 +0200
Restructure the code to decrease the binary size
commit
7c301e3d4e8584dfb3174855fb6af3d5791dfeed
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 1 19:43:28 2009 +0200
Shuffle a couple pieces of code around to make the code smaller
commit
6325323482c2a3e17409d32c7feec9461be26614
Merge:
83ac53d ...
e94b1b2 ...
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:49:07 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
Conflicts:
libdw/ChangeLog
commit
83ac53db400945c074e77ec9904efe550903a0e2
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:40:25 2009 +0200
Call reloc hook with the original address, not incremented
commit
f1996388745566abc1ca1c1700b3b7eded208575
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:53:03 2009 +0200
Rewrite boundary checking logic so that it's immune to arithmetic overflow
* ... also get rid of some code redundancy.
commit
0c1df732822d83548edd0d005f3450281ed1701b
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:25:09 2009 +0200
__libdw_read_offset* take extra argument for header size checks
* also presence of debug data and buffer is checked in __libdw_in_section
commit
6fb192e360f842cacb34a90c03cd0524cccc3dec
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:51:20 2009 +0200
Check for presence of data before loading the offset
commit
a2e7612b165d83dd241225f87075fa4f58d18781
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:04:16 2009 +0200
Cosmetic changes
commit
8b1aad2c2f6c8dc02b3e704e4f386c1827e385cb
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 15:34:13 2009 +0200
Improve reader hook functions a bit
* ... so that they are closer match to what's need on call sites
commit
3854b7fbab2fe331711365f94a295af82164d0d2
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:33:50 2009 +0200
Fixes in use of reader hooks in __libdw_formptr and dwarf_formudata
* and a bit more
commit
335075596b6acef6e59919155e2b087e690a572d
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:32:39 2009 +0200
Rename __libdw_read_udata_addr to __libdw_formptr
commit
8273a2adaf8cb2ee203926af2849e4f96f8a6eaf
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 02:53:40 2009 +0200
Introduce __libdw_read_udata_address
* the use in dwarf_ranges is iffy, there's a functionality mismatch.
Need to find some better way
commit
1c897f4abde1530038d332f4fc03a596a24f6aaf
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:09:13 2009 +0200
ChangeLog entries for previous commit
commit
90d7c39454468b91c0fd6514a4e8d821222d6adb
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:07:54 2009 +0200
Fix bugs, introduce __libdw_read_begin_end_pair_inc
commit
9b3923f5b69a3e56590769435c4693f057acdc1f
Merge:
6200ba6 ...
589b3d3 ...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 12:22:21 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
6200ba62aa9ea3cb9318f73a27181907a528dbe4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:31:28 2009 +0200
dwarf_getlocation_addr uses read hooks
commit
ecbb8cdd8b500e37dc34fc246b912f704fe31ca4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:16:09 2009 +0200
dwarf_ranges and dwarf_formref use read hooks
commit
cb8f67b29a896c2660c10aa1028a9dbb377553e9
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:39:04 2009 +0200
Convert several new functions to use read hooks
commit
b130453eb16a8cf042915e312cc5f189b8b92c01
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:38:27 2009 +0200
Add length read hooks
commit
bd885ff694817b965231d99f1ab867947998e734
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:36:17 2009 +0200
Constify read hook arguments
commit
66fe03f1e489a88b89a15c9e13f9bd33db2729b1
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 16:11:05 2009 +0200
Change type of return value of offset read hooks to Dwarf_Off
commit
22b36e00cc228f5a966f84ca3323e5d652923ce8
Merge:
5b3534b ...
a7cb532 ...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 19:05:25 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
5b3534b62cbd45fe4f11dd1be3e492237938cce0
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 18:53:06 2009 +0200
Rewrites in read hooks
* Have the checking and reading logic itself in the header so that it gets
optimized out/inlined. Call external relocating hook from there, there
will presumably be more work to do, and we presumably don't want to keep
this in the header.
commit
9e265d71d0eb900e76d6fdb0196ef4fc6507f3a7
Merge:
1783089 ...
300f3a4 ...
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:45:25 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
1783089b184ddea2081bbe5ac4e80420cb6b0803
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:44:48 2009 +0200
Use the new reader hooks in several places
commit
11c3d97a5b40ea15edf324092b03da3050610d01
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:40:03 2009 +0200
Introduce reader hooks
Ulrich Drepper [Sat, 13 Jun 2009 22:55:42 +0000 (15:55 -0700)]
Add aliases for elf_getshnum and elf_getshstrndx.
Sun in their implementation messed up the semantics of these functions.
To get back to source code compatibility they asked for a solution.
We simply add aliases for the two affected functions, named
elf_getshdrnum and elf_getshdrstrndx. The semantics remains the
same. Users of the old interfaces receive a warning for now. In
future we might make it impossible to link programs which request
the old interfaces (binary compatibility will of course be maintained).
Roland McGrath [Tue, 9 Jun 2009 07:27:52 +0000 (00:27 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
src/ChangeLog
Ulrich Drepper [Mon, 1 Jun 2009 14:38:32 +0000 (07:38 -0700)]
Add support for IRELATIVE relocations.
That's the second part of the IFUNC support. So far x86 and x86-64
only.
Roland McGrath [Fri, 8 May 2009 01:58:24 +0000 (18:58 -0700)]
Merge commit 'origin/master' into dwarf
Roland McGrath [Fri, 8 May 2009 01:58:14 +0000 (18:58 -0700)]
Typo
Roland McGrath [Fri, 8 May 2009 01:57:34 +0000 (18:57 -0700)]
Merge commit 'origin/master' into dwarf
Roland McGrath [Fri, 8 May 2009 01:57:18 +0000 (18:57 -0700)]
Fix trivial regression in last commit.
Roland McGrath [Fri, 8 May 2009 01:55:17 +0000 (18:55 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
libdw/ChangeLog
Roland McGrath [Fri, 8 May 2009 01:54:52 +0000 (18:54 -0700)]
Slight optimization of dwarf_getmacros for loops.
Roland McGrath [Fri, 8 May 2009 01:46:12 +0000 (18:46 -0700)]
Merge commit 'origin/master' into dwarf
Conflicts:
libdw/ChangeLog
src/ChangeLog
tests/ChangeLog
tests/Makefile.am
Roland McGrath [Fri, 8 May 2009 01:44:27 +0000 (18:44 -0700)]
Moved misplaced ChangeLog entry.
Roland McGrath [Fri, 8 May 2009 01:19:16 +0000 (18:19 -0700)]
Cosmetic fixup and missed EXTRA_DIST file.
Petr Machata [Thu, 7 May 2009 19:02:33 +0000 (21:02 +0200)]
Fix dwarf_getmacros so that it passes newly-added test