summaryrefslogtreecommitdiffstats
path: root/libdw/libdwP.h
Commit message (Collapse)AuthorAgeFilesLines
* libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.Mark Wielaard2012-08-091-2/+16
| | | | | | | | | | | | | | | DWZ multifile forms http://www.dwarfstd.org/ShowIssue.php?issue=120604.1 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt reference an alternative debuginfo file. dwarf_begin and dwarf_begin_elf will try to use this automatically. There are no user visible changes to the libdw interface. dwarf_formref_die, dwarf_formstring and dwarf_formudata can now return a Dwarf_Die which comes from a CU in the alternative Dwarf descriptor. __libdw_read_offset was adjusted to take an alternative Dwarf descriptor into account. Signed-off-by: Mark Wielaard <[email protected]>
* Add low-level support for .debug_macro.Mark Wielaard2012-06-271-0/+1
| | | | Signed-off-by: Mark Wielaard <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-051-40/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Support reading .zdebug_* DWARF sections compressed via zlib.Roland McGrath2011-02-231-1/+12
|
* Handle DW_OP_GNU_implicit_pointer.Roland McGrath2010-08-301-0/+4
|
* Finish .debug_types support in libdw and readelf.Roland McGrath2010-06-201-3/+4
|
* Fix up some holes in .debug_types support.Roland McGrath2010-06-201-1/+1
|
* Merge branch 'roland/debug_types'Roland McGrath2010-06-201-5/+38
|\ | | | | | | | | | | Conflicts: libdw/ChangeLog libdw/libdw.map
| * Handle reading .debug_types section.Roland McGrath2010-06-161-5/+38
| |
* | Record new line table fields, export APIs to fetch them.Roland McGrath2010-06-181-0/+6
|/
* Clean up IDX_debug_* list.Roland McGrath2010-06-141-4/+1
|
* Remove unused CIE_VERSION macro.Roland McGrath2010-06-011-4/+0
|
* Remove meaningless DWARF_VERSION macro.Roland McGrath2010-06-011-3/+0
|
* Fix DW_OP_call_ref operand handling.Roland McGrath2010-05-081-1/+2
|
* Translate DW_CFA_expression/DW_CFA_val_expression properly to imply pushing ↵Roland McGrath2010-04-261-2/+2
| | | | CFA before given expression.
* Add dwarf_aggregate_size helper function to libdw.Roland McGrath2010-01-051-1/+3
|
* DW_OP_implicit_value supportRoland McGrath2009-09-101-0/+10
|
* Rejigger calling conventions for dwarf_frame_{cfa,register}.Roland McGrath2009-07-221-1/+2
|
* CFI support: lookup by PC and translate into DWARF location per registerRoland McGrath2009-07-081-1/+15
|
* Reorder some libdwP.h struct members for optimal packing.Roland McGrath2009-07-081-2/+2
|
* Do some constification to avoid dubious casts.Roland McGrath2009-06-181-4/+4
|
* Squashed commit of the following:Ulrich Drepper2009-06-141-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 77abb31cb8d55980ef92260917a7ecdd228b1a44 Author: Petr Machata <[email protected]> Date: Mon Jun 8 15:46:16 2009 +0200 Fix a bug in offset checking commit b794eac4f8d3e08101b5d2924523b1259bbc1b17 Author: Petr Machata <[email protected]> Date: Wed Jun 3 16:00:01 2009 +0200 Cosmetic, get rid of defining several variables per line commit a23938fe35d515a3d75a51f6204771f3cf6c9ec4 Author: Petr Machata <[email protected]> Date: Wed Jun 3 15:50:03 2009 +0200 Restructure the code to decrease the binary size commit 7c301e3d4e8584dfb3174855fb6af3d5791dfeed Author: Petr Machata <[email protected]> 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 <[email protected]> Date: Fri May 22 08:49:07 2009 +0200 Merge branch 'master' of ssh://[email protected]/git/elfutils into pmachata/reader_hooks Conflicts: libdw/ChangeLog commit 83ac53db400945c074e77ec9904efe550903a0e2 Author: Petr Machata <[email protected]> Date: Fri May 22 08:40:25 2009 +0200 Call reloc hook with the original address, not incremented commit f1996388745566abc1ca1c1700b3b7eded208575 Author: Petr Machata <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Wed May 6 15:51:20 2009 +0200 Check for presence of data before loading the offset commit a2e7612b165d83dd241225f87075fa4f58d18781 Author: Petr Machata <[email protected]> Date: Wed May 6 15:04:16 2009 +0200 Cosmetic changes commit 8b1aad2c2f6c8dc02b3e704e4f386c1827e385cb Author: Petr Machata <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Tue May 5 14:32:39 2009 +0200 Rename __libdw_read_udata_addr to __libdw_formptr commit 8273a2adaf8cb2ee203926af2849e4f96f8a6eaf Author: Petr Machata <[email protected]> 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 <[email protected]> Date: Mon May 4 18:09:13 2009 +0200 ChangeLog entries for previous commit commit 90d7c39454468b91c0fd6514a4e8d821222d6adb Author: Petr Machata <[email protected]> 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 <[email protected]> Date: Mon May 4 12:22:21 2009 +0200 Merge branch 'master' of ssh://[email protected]/git/elfutils into pmachata/reader_hooks commit 6200ba62aa9ea3cb9318f73a27181907a528dbe4 Author: Petr Machata <[email protected]> Date: Wed Apr 29 15:31:28 2009 +0200 dwarf_getlocation_addr uses read hooks commit ecbb8cdd8b500e37dc34fc246b912f704fe31ca4 Author: Petr Machata <[email protected]> Date: Wed Apr 29 15:16:09 2009 +0200 dwarf_ranges and dwarf_formref use read hooks commit cb8f67b29a896c2660c10aa1028a9dbb377553e9 Author: Petr Machata <[email protected]> Date: Tue Apr 28 18:39:04 2009 +0200 Convert several new functions to use read hooks commit b130453eb16a8cf042915e312cc5f189b8b92c01 Author: Petr Machata <[email protected]> Date: Tue Apr 28 18:38:27 2009 +0200 Add length read hooks commit bd885ff694817b965231d99f1ab867947998e734 Author: Petr Machata <[email protected]> Date: Tue Apr 28 18:36:17 2009 +0200 Constify read hook arguments commit 66fe03f1e489a88b89a15c9e13f9bd33db2729b1 Author: Petr Machata <[email protected]> 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 <[email protected]> Date: Mon Apr 27 19:05:25 2009 +0200 Merge branch 'master' of ssh://[email protected]/git/elfutils into pmachata/reader_hooks commit 5b3534b62cbd45fe4f11dd1be3e492237938cce0 Author: Petr Machata <[email protected]> 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 <[email protected]> Date: Thu Apr 23 17:45:25 2009 +0200 Merge branch 'master' of ssh://[email protected]/git/elfutils into pmachata/reader_hooks commit 1783089b184ddea2081bbe5ac4e80420cb6b0803 Author: Petr Machata <[email protected]> Date: Thu Apr 23 17:44:48 2009 +0200 Use the new reader hooks in several places commit 11c3d97a5b40ea15edf324092b03da3050610d01 Author: Petr Machata <[email protected]> Date: Thu Apr 23 17:40:03 2009 +0200 Introduce reader hooks
* Fiddle internal type decls for C++ scoping.Roland McGrath2009-01-281-18/+19
|
* (struct Dwarf_Files_s): Replace dbg field with cu field.Roland McGrath2009-01-281-2/+2
|
* dwarf_haschildren: Return -1 for error case, not 0.Roland McGrath2008-12-311-4/+4
|
* Add missing copyright year updates. Fix ChangeLog.Ulrich Drepper2008-01-221-2/+2
|
* propagate from branch 'com.redhat.elfutils.nickc.pending' (head ↵Ulrich Drepper2008-01-181-1/+14
| | | | | | 28d6423325f0cc14a133eb6b92a8c3604e437ba6) to branch 'com.redhat.elfutils' (head 6ef48518ed8497626058574c787852bd939d46ee)
* 2007-10-23 Roland McGrath <[email protected]>Roland McGrath2007-10-231-1/+6
| | | | | | * linux-kernel-modules.c (report_kernel_archive): Reorder the kernel module to appear first.
* libdw/Roland McGrath2007-04-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-16 Roland McGrath <[email protected]> * libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section. libdwfl/ 2007-04-16 Roland McGrath <[email protected]> * derelocate.c (cache_sections): Apply bias to sh_addr. (compare_secrefs): Fix address comparison to avoid signed overflow. (find_section): New function, broken out of ... (dwfl_module_relocate_address): ... here, call it. (check_module): New function, broken out of ... (dwfl_module_relocate_address): ... here, call it. (dwfl_module_address_section): New function. * libdwfl.h: Declare it. tests/ 2007-04-16 Roland McGrath <[email protected]> * dwfl-addr-sect.c: New file. * Makefile.am (noinst_PROGRAMS): Add it. (dwfl_addr_sect_LDADD): New variable.
* Whitespace fixes.elfutils-0.124Ulrich Drepper2006-10-101-2/+2
|
* 2006-10-09 Roland McGrath <[email protected]>Roland McGrath2006-10-101-8/+5
| | | | | * ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
* Fix FSF address. No exception for libdwarf.Ulrich Drepper2006-04-041-1/+1
|
* propagate from branch 'com.redhat.elfutils.roland.pending' (head ↵Ulrich Drepper2006-04-041-9/+45
| | | | | | 4f8fc821345feef58624f0aa5b470d4827577d8c) to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
* NEWS updatesRoland McGrath2005-10-281-11/+10
|
* libdw/Roland McGrath2005-10-281-0/+2
| | | | | | | | | | | | Fixes to last changes. tests/ 2005-10-27 Roland McGrath <[email protected]> * run-find-prologues.sh: New file. * Makefile.am (TESTS, EXTRA_DIST): Add it.
* disapproval of revision c1decd790dc3a6ab55ecfc0ace23dd93f55c01ffRoland McGrath2005-09-111-1/+0
|
* 2005-09-09 Roland McGrath <[email protected]>Roland McGrath2005-09-111-0/+1
| | | | | | * elf_update.c (write_file): Stat the file and fchmod it after update if its mode had S_ISUID or S_ISGID bits set.
* libdw/Roland McGrath2005-08-271-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-27 Roland McGrath <[email protected]> * dwarf_getscopes.c (dwarf_getscopes): Rewritten using __libdw_visit_scopes. * dwarf_getscopes_die.c: New file. * Makefile.am (libdw_a_SOURCES): Add it. * libdw.h: Declare dwarf_getscopes_die. * libdw.map: Bump to 0.115 and add it. * libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct containing a DIE and its parent pointer, instead of just Dwarf_Die. Take two functions for both preorder and postorder visitors. * libdwP.h: Update decl. (struct Dwarf_Die_Chain): New type. * dwarf_func_inline.c: Update uses. * dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate. Add INTDEF. * libdwP.h: Add INTDECL. * dwarf_func_name.c (dwarf_func_name): Use dwarf_diename. src/ 2005-08-27 Roland McGrath <[email protected]> * addr2line.c (dwarf_diename_integrate): Function removed. (print_dwarf_function): Use plain dwarf_diename. tests/ 2005-08-27 Roland McGrath <[email protected]> * run-funcscopes.sh: New file. * testfile25.bz2: New data file. * Makefile.am (TESTS, EXTRA_DIST): Add them. 2005-08-26 Roland McGrath <[email protected]> * addrscopes.c (dwarf_diename_integrate): Removed. (print_vars, handle_address): Use plain dwarf_diename. 2005-08-25 Roland McGrath <[email protected]> * funcscopes.c: New file. * Makefile.am (noinst_PROGRAMS): Add it. (funcscopes_LDADD): New variable. * run-addrscopes.sh: Add another case. * testfile24.bz2: New data file. * Makefile.am (EXTRA_DIST): Add it. * addrscopes.c (handle_address): Take new argument IGNORE_INLINES, pass it to dwarf_getscopes. (main): Pass it, true when '=' follows an address.
* libdw/Roland McGrath2005-08-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | 2005-08-15 Roland McGrath <[email protected]> * dwarf_func_inline.c: New file. * Makefile.am (libdw_a_SOURCES): Add it. * libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances. * libdw.map: Add them. * dwarf_func_die.c: New file. * Makefile.am (libdw_a_SOURCES): Add it. * libdw.h: Declare dwarf_func_die. * libdw.map: Add it. Bump version to ELFUTILS_0.114. tests/ 2005-08-15 Roland McGrath <[email protected]> * dwflmodtest.c (print_instance, print_inline): New functions. (print_func): Call print_inline. (options, parse_opt): Grok -i/--inlines.
* libdw/Roland McGrath2005-08-091-0/+2
| | | | | | | | | | | | | | | | | | | | 2005-08-09 Roland McGrath <[email protected]> * dwarf_end.c: Add INTDEF. * dwarf_error.c (dwarf_errmsg): Likewise. * libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs. libdwfl/ 2005-08-09 Roland McGrath <[email protected]> * libdwflP.h: Include ../libdw/libdwP.h for its INTDECLs. * cu.c: Use INTUSE on dwarf_* calls. * dwfl_error.c: Likewise. * dwfl_module.c: Likewise. * dwfl_module_getdwarf.c: Likewise. * dwfl_module_getsrc_file.c: Likewise. * lines.c: Likewise.
* Adjust for monotone.Ulrich Drepper2005-07-261-0/+378