355b408bb9aa49703544fa4086e1ae463737fcf6 |
|
01-Dec-2015 |
Mark Wielaard <mjw@redhat.com> |
libdwfl: Don't leak core Elf and core file descriptor from argp-std. Our argp helper would leak the core Elf and core file descriptor when given by the user. Store both in the Dwfl as a new Dwfl_User_Core so they get cleaned up by dwfl_end. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
3425454a10d307fae891fb667cf7969e945cde79 |
|
09-Oct-2015 |
Josh Stone <jistone@redhat.com> |
Trust AC_SYS_LARGEFILE to provide large file support AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS in config.h if needed for LFS, and this automatically maps things like open to open64. But quite a few places used explicit 64-bit names, which won't work on platforms like FreeBSD where off_t is always 64-bit and there are no foo64 names. It's better to just trust that AC_SYS_LARGEFILE is doing it correctly. But we can verify this too, as some file could easily forget to include config.h. The new tests/run-lfs-symbols.sh checks all build targets against lfs-symbols (taken from lintian) to make sure everything was implicitly mapped to 64-bit variants when _FILE_OFFSET_BITS is set. Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
8aaf4fc46f5b0b1ed2b567734d06875a39047dd9 |
|
01-Jun-2015 |
Mark Wielaard <mjw@redhat.com> |
libdwfl: Fix memory leak in __libdwfl_open_by_build_id. commit c57829 introduced a memory leak by passing the path string to strsep. strsep will change the given pointer and set it to NULL eventually. Causing the original pointer to leak. Fix by passing a copy of the pointer to strsep. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
c57829bb118bc30d874f7440b421abbebc74a733 |
|
22-May-2015 |
Mark Wielaard <mjw@redhat.com> |
libdwfl: Reject very short or really large build-ids. We cannot handle build-ids less than at least 3 or more than 64 bytes. Very big build-ids, or very large debug search paths might have blown up the stack. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
6097c00a539873e9baa22e10f9387b9c36c4fa25 |
|
09-Sep-2014 |
Jan Kratochvil <jan.kratochvil@redhat.com> |
Add is_executable to Dwfl_Module. Next patch will find module names from NT_FILE note so that main executable will no longer necessarily have the name "[exe]" or "[pie]". -e|--executable still should be able to override such module. libdwfl/ 2014-09-18 Jan Kratochvil <jan.kratochvil@redhat.com> * dwfl_build_id_find_elf.c (dwfl_build_id_find_elf): Use IS_EXECUTABLE. * dwfl_segment_report_module.c (dwfl_segment_report_module): Set IS_EXECUTABLE. * libdwflP.h (struct Dwfl_Module): New field is_executable. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
df85bf99021119fcbb2ced66dd69f1cceafb180c |
|
01-May-2014 |
Mark Wielaard <mjw@redhat.com> |
libdwfl: Move dwz alt multi file searching to find_debuginfo callback. Don't hard code the Dwarf dwz alt multi file search but allow the user to override it through the standard Dwfl_Callbacks. Also move ownership completely to the user of dwarf_setalt by removing free_alt from Dwarf and adding alt, fd and elf fields to Dwfl_Module. Add a relative .dwz file test case. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
c53094634516313fb598d67e709f51f20d6acbba |
|
18-Dec-2013 |
Jan Kratochvil <jan.kratochvil@redhat.com> |
Use executable_for_core in dwfl_build_id_find_elf. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdwfl/dwfl_build_id_find_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/libdwfl/dwfl_build_id_find_elf.c
|
ed431ddb74331f24add8c6d932ebed129c4385d8 |
|
06-May-2010 |
Roland McGrath <roland@redhat.com> |
libdwfl: Refuse to fall back to an ELF file opened by name when that mismatches the module build ID.
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
bca43152aa0bcb31b9442c407bf2b86379761c50 |
|
06-Jan-2009 |
Roland McGrath <roland@redhat.com> |
libdwfl automagic decompression support
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
1d8bb25cac06b5af57f8733e5ea7a068a79edfe0 |
|
07-Aug-2008 |
Roland McGrath <roland@redhat.com> |
src/ (find_symbol): Likewise. Convert plain number, or handle strings like "(section)+offset" or "symbol+offset".
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
059c83e5db89955913a39fe6705acca571c32c3f |
|
21-Feb-2008 |
Roland McGrath <roland@redhat.com> |
Finish elflint .gnu.attributes checking
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|
59ea7f33f781e6e3f8c9d81d457e5d99eee8f1ce |
|
04-Oct-2007 |
Roland McGrath <roland@redhat.com> |
src/ 2007-10-04 Roland McGrath <roland@redhat.com> * readelf.c (print_archive_index): New variable. (options, parse_opt): Accept -c/--archive-index to set it. (dump_archive_index): New function. (process_file): Take new arg WILL_PRINT_ARCHIVE_INDEX. Call dump_archive_index on archives if set. (main): Update caller. (any_control_option): Give it file scope, moved out of ... (parse_opt): ... here. tests/ 2007-10-04 Roland McGrath <roland@redhat.com> * run-readelf-test4.sh: New file. * Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/libdwfl/dwfl_build_id_find_elf.c
|