History log of /external/elfutils/libdw/dwarf_begin_elf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c495d754f33bd2ce3eeaaed936d8f045fbf53f30 30-Dec-2015 Mark Wielaard <mjw@redhat.com> libdw: Use elf_compress[_gnu] to uncompress debug section data.

libdw used its own code for decompressing GNU style .zdebug sections.
Using elf_compress and elf_compress_gnu instead makes it possible to
transparently use either GNU style or ELF style compressed data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
1ccdfb683ad6c7e59793136c3a657ddf131cafd1 22-Sep-2015 Mark Wielaard <mjw@redhat.com> Remove old-style function definitions.

We already require -std=gnu99 and old-style function definitions might
hide some compiler warnings.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
85cc9c6c72cb90ae06831b2b6618a2584dd0a827 18-Jun-2015 Mark Wielaard <mjw@redhat.com> libdw: Make sure the default page size is big enough to hold a Dwarf.

Just assert early that the page size isn't unreasonable small instead of
corrupting memory later.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
987e3d722d1d3879c51f4ed7ab1da03a75f5f38c 11-May-2015 Jonathan Lebon <jlebon@redhat.com> dwarf_begin_elf: new error for compression failure

In order to provide better feedback to users, a distinction is made
between finding no dwarf info (E_NO_DWARF) and finding dwarf info but
which is compressed and failed to decompress (E_COMPRESSED_ERROR). This
can occur for example if elfutils was built without zlib support, or if
the compressed section is invalid.

Signed-off-by: Jonathan Lebon <jlebon@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
90659075adc29213ec0f86fd08f39c7e571fb061 11-May-2015 Jonathan Lebon <jlebon@redhat.com> dwarf_begin_elf: decouple section searching from reading

To help legibility, we separate the section name matching from the
actual section reading. This also allows us to remove duplicate code in
cases of sections appearing twice or empty section data. There are no
changes in functionality. The indentation will be fixed in the next
commit, in the interest of keeping this commit easier to read.

Signed-off-by: Jonathan Lebon <jlebon@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
9202665816763fad8524dd78a664dbcaa157b8d4 12-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Make sure all attributes come with a (fake) CU for bound checks.

All attributes now have a reference to a (fake) CU that has startp and
endp set to the data section where the form data comes from. Use that
for bounds checking in __libdw_form_val_len and dwarf_formblock to make
sure data read doesn't overflow any data section. Remove libdwP.h cu_data
and use cu startp and endp directly where appropriate.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
920f03dcd3a6dd46b3d88c45be8dbfa0adc780dd 15-Apr-2014 Florian Weimer <fweimer@redhat.com> Move .gnu_debugaltlink handling from libdw to libdwfl

Also use dwelf_dwarf_gnu_debugaltlink to locate the alternate debugging
information.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
efa72a02de8a3bbbc43c8de659697df5d425ea7e 15-Apr-2014 Florian Weimer <fweimer@redhat.com> dwarf_elf_begin: Add .gnu_debugaltlink to the sectiondata array

And use it if DWZ mode is enabled.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
7f1eec317db79627b473c5b149a22a1b20d1f68f 09-Apr-2014 Mark Wielaard <mjw@redhat.com> CVE-2014-0172 Check for overflow before calling malloc to uncompress data.

https://bugzilla.redhat.com/show_bug.cgi?id=1085663

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
dff2a99d84a756792f65d31fa19becce792f2ca5 04-Mar-2014 Jan Kratochvil <jan.kratochvil@redhat.com> Fix abort() on missing section headers.

libdw/
2014-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>

Fix abort() on missing section headers.
* dwarf_begin_elf.c (check_section): Replace abort call by goto err.
New label err to return NULL.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
59254427e7c9eeb697de00069a9cb7dc1c908f86 18-Dec-2012 Mark Wielaard <mjw@redhat.com> Fix sig8_hash memory leak in libdw/dwarf_begin_elf.c on error.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
f5519fc244d95dc04b3e3de88644d149a36a76b6 24-Aug-2012 Mark Wielaard <mjw@redhat.com> Don't include dwz support by default.

By default the dwz multi file support is not included. This means any
DW_FORM_GNU_ref_alt or DW_FORM_GNU_strp_alt encountered in libdw will
just produce an error message. A new configure option --enable-dwz is
needed to include it for those we wish to test it. The dwz test is also
disabled by default.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
775375e3bd177cb19acb5020b6e0917551807276 22-Jun-2012 Mark Wielaard <mjw@redhat.com> libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.

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 <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
a0172d75311f36adb6db58000474d31f8a9cd553 25-Jun-2012 Mark Wielaard <mjw@redhat.com> Add low-level support for .debug_macro.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
de2ed97f33139af5c7a0811e4ec66fc896a13cf2 05-Jun-2012 Mark Wielaard <mjw@redhat.com> Update name, license and contributor policy.

* 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 <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_begin_elf.c
725aad5d2f8b78ed21a5e253fb38f9722c2c8b2d 24-Feb-2011 Roland McGrath <roland@redhat.com> Support reading .zdebug_* DWARF sections compressed via zlib.
/external/elfutils/libdw/dwarf_begin_elf.c
3e0f7d1d1b817040cef82f41879f471ab59b663e 16-Jun-2010 Roland McGrath <roland@redhat.com> Handle reading .debug_types section.
/external/elfutils/libdw/dwarf_begin_elf.c
827d4d176b989c5d765c7f349edff6f994f8ea78 02-Jun-2010 Roland McGrath <roland@redhat.com> Clean up IDX_debug_* list.
/external/elfutils/libdw/dwarf_begin_elf.c
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 25-Jun-2009 Roland McGrath <roland@redhat.com> CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/libdw/dwarf_begin_elf.c
b597dfad924980dede10d7c19d87900b6172e599 16-Oct-2007 Ulrich Drepper <drepper@redhat.com> merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec'
and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
/external/elfutils/libdw/dwarf_begin_elf.c
c07fbb3ff74a8c7b4916ff8155060a35f4b08aaa 30-Mar-2007 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head b584b7056d679db0fc272b47667047d07737ca55)
to branch 'com.redhat.elfutils' (head 5f150a0b2f07e8c60913d4e6ad833ef026ccd26e)
/external/elfutils/libdw/dwarf_begin_elf.c
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/libdw/dwarf_begin_elf.c
361df7da6dfecd817b27e62b91752ac316d7cdd4 04-Apr-2006 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
/external/elfutils/libdw/dwarf_begin_elf.c
b08d5a8fb42f4586d756068065186b5af7e48dad 26-Jul-2005 Ulrich Drepper <drepper@redhat.com> Adjust for monotone.
/external/elfutils/libdw/dwarf_begin_elf.c