8bbfc552a062e47e307a897e49f2a4a25ba6291e |
|
02-Dec-2015 |
Mark Wielaard <mjw@redhat.com> |
libdw: Don't leak duplicate FDEs. Although it isn't supposed to happen there could be FDEs that cover the same address range. Don't leak such FDEs and use an existing FDE for consistency. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/fde.c
|
e04da0e6bab6c6cca2d6e1657d18666f50d2ecfa |
|
02-Dec-2015 |
Mark Wielaard <mjw@redhat.com> |
libdw: Don't use a FDE if it doesn't actually cover a real code range. If the FDE end <= start then it doesn't actually cover a valid code range. Don't use and cache such FDEs (it will cause memory leaks if there is another FDE that has the same start address and a valid code range). Such FDEs have been seen in the backtrace.ppc.exec testfile. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/fde.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/fde.c
|
7a053473c7bedd22e3db39c444a4cd8f97eace25 |
|
14-Dec-2014 |
Mark Wielaard <mjw@redhat.com> |
libdw: Add get_uleb128 and get_sleb128 bounds checking. Both get_uleb128 and get_sleb128 now take an end pointer to prevent reading too much data. Adjust all callers to provide the end pointer. There are still two exceptions. "Raw" dwarf_getabbrevattr and read_encoded_valued don't have a end pointer associated yet. They will have to be provided in the future. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/fde.c
|
18b2c67fa2a422c744efba0d4c9a8cb9ef423823 |
|
12-Sep-2013 |
Mark Wielaard <mjw@redhat.com> |
Fix memory leak and set libdw errno when intern_fde cannot parse start/end. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/fde.c
|
07f3507442cb3f913000844025ca139925afe110 |
|
08-Oct-2012 |
Jan Kratochvil <jan.kratochvil@redhat.com> |
libdw/ fde.c (__libdw_find_fde): Change <fde != NULL> to likely. Return DWARF_E_NO_MATCH if .eh_frame_hdr points to FDE which is too short for searched PC. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdw/fde.c
|
6c45f4a1221ca4d50afb565ec331d085bc50d35f |
|
08-Oct-2012 |
Jan Kratochvil <jan.kratochvil@redhat.com> |
Code cleanup. fde.c (binary_search_fde): Remove always true <address >= start> conditional. Move L initialization upwards. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdw/fde.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/fde.c
|
3e4b5bbeca8987527c11a1ea048459a7ebd4ab5e |
|
16-Jun-2010 |
Roland McGrath <roland@redhat.com> |
Add new dwarf_cfi_validate_fde call.
/external/elfutils/libdw/fde.c
|
ee29a31c48e4b1ec606a311cba0a6328ce8ea448 |
|
02-Feb-2010 |
Mark Wielaard <mjw@redhat.com> |
libdw/fde.c (intern_fde): Fix length check for sized_augmentation_data.
/external/elfutils/libdw/fde.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/fde.c
|