History log of /external/elfutils/libdw/dwarf_getcfi_elf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_getcfi_elf.c
b4b2de9f1f1fb694b77371a61f808a1641bbafea 07-Jan-2015 Mark Wielaard <mjw@redhat.com> libdw: Robustify eh_frame_hdr and encoded-values reading.

Sanity check and keep track of binary_search_table data buffer length.
Add bounds check to encoded value reading. Also fix a bug when reading
the eh_frame header data from an other endian ELF image. Add a testcase
that would fail the new sanity checks because of the endian bug.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getcfi_elf.c
9ceebe690f94f24186280e1b38ed5770bf436686 03-Jan-2015 Mark Wielaard <mjw@redhat.com> libdw: Add missing size check to parse_eh_frame_hdr.

afl-fuzz showed that when parse_eh_frame_hdr was called from
getcfi_scn_eh_frame invalid data could be read because of a missing size
check. That check was there when parse_eh_frame_hdr was called from
getcfi_gnu_eh_frame. Move the size check into parse_eh_frame. And add
an extra check to make sure d_buf is not NULL.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getcfi_elf.c
12ab700282dd66d5d2144e13611011426091f260 27-Nov-2014 Mark Wielaard <mjw@redhat.com> libdw: Initialize variables in getcfi_gnu_eh_frame.

Some older GCCs are not clever enough to realize that when search_table
is NULL not only are search_table_entries and search_table_encoding not
initialized, they are also not used. Giving "may be used uninitialized"
errors.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getcfi_elf.c
5704c8c4fa717b6e9c2d2e4304dfbc810ad42e4b 02-Jul-2013 Mark Wielaard <mjw@redhat.com> getcfi_scn_eh_frame: Don't crash and burn when .eh_frame bits aren't there.

Trying to read non-existing bits sometimes works and normally a sanity
check will fail. But it could also lead to an unexpected crash much later
when trying to use the non-existing data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getcfi_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_getcfi_elf.c
f95760aff004850544f83626404c134d6a07c630 08-Jan-2010 Roland McGrath <roland@redhat.com> Use elf_getphdrnum in libdw and libdwfl.
/external/elfutils/libdw/dwarf_getcfi_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_getcfi_elf.c