Commit Graph

  • 9b5fa6b594 libelf: Check for overflow in version_xlate elf_cvt_Verdef and elf_cvt_Verneed. Mark Wielaard 2014-11-18 09:56:01 +01:00
  • 3b3a19190e readelf: When the version chain ends, stop processing the entries. Mark Wielaard 2014-11-17 23:35:28 +01:00
  • 5c1a45c2d3 Check elf_strptr didn't fail getting section name. Mark Wielaard 2014-11-17 23:15:45 +01:00
  • 7df0da33f4 readelf: Warn if ptr_size is not 4 or 8 bytes. Mark Wielaard 2014-11-17 23:01:34 +01:00
  • babcdeff28 libelf: elf_getshdrstrndx cannot use SHN_XINDEX without section headers. Mark Wielaard 2014-11-17 00:42:53 +01:00
  • 436275edd0 libelf: Fix handling of (extended) phnum. Mark Wielaard 2014-11-17 00:33:36 +01:00
  • 2af7b4942a readelf: Robustify print_cfa_program. Mark Wielaard 2014-11-16 11:40:08 +01:00
  • 8ea90b7a5c gelf_getnote: Check padding overflow. Mark Wielaard 2014-11-16 11:30:51 +01:00
  • 502430c7b2 libelf: getdata check 64bit values correctly on 32bit arch. Mark Wielaard 2014-11-16 11:19:29 +01:00
  • d1b1163213 readelf: Sanity check CIE unit_length and augmentationlen in debug_frame. Mark Wielaard 2014-11-14 21:42:47 +01:00
  • df2fe50346 libelf: gelf_getnote check for offset overflow. Mark Wielaard 2014-11-14 17:05:08 +01:00
  • 2f8e4d3383 libdwelf: Check the d_buf actually exists in dwelf_elf_gnu_debuglink. Mark Wielaard 2014-11-14 16:58:36 +01:00
  • df5ad1681c libdwfl: dwfl_module_getdwarf.c don't use symtab with bogus sh_entsize. Mark Wielaard 2014-11-14 12:38:12 +01:00
  • ad87d27664 readelf: Check def == NULL before use in handle_versym. Mark Wielaard 2014-11-14 12:24:28 +01:00
  • 5691f86722 libdwfl: find_dynsym don't assume dynamic linker has adjusted DYNAMIC entries. Mark Wielaard 2014-11-10 14:49:20 +01:00
  • c50ddfca10 libelf: Fix unsigned overflow check in elf_getdata. Mark Wielaard 2014-11-13 15:43:02 +01:00
  • babd5b6d9e libelf: Use mempcpy not __mempcpy. Mark Wielaard 2014-11-08 16:18:34 +01:00
  • 09086238f3 libdw: Fix dwarf_getsrclines.c 32bit compile error. Mark Wielaard 2014-11-11 14:10:04 +01:00
  • 0a1e81b321 Test cases for .debug_macro support Petr Machata 2014-10-17 02:47:15 +02:00
  • fb90bf3f84 Support .debug_macro Petr Machata 2014-10-17 02:47:03 +02:00
  • d8b9682b1a readelf.c (handle_versym): Initialize vername and filename array elements. Mark Wielaard 2014-11-08 14:04:27 +01:00
  • 6b246e0620 readelf: Sanity check hash section contents before processing. Mark Wielaard 2014-11-07 12:54:02 +01:00
  • b635b8dcb0 libelf: Correct shdr size check for (raw) getdata. Mark Wielaard 2014-11-07 12:47:16 +01:00
  • 3a36e8a26c libdw: Add dwarf_peel_type. Use it in dwarf_aggregate_size. Mark Wielaard 2014-10-06 22:00:16 +02:00
  • 564cfbe20b Drop unused field struct Dwarf_Files_s.cu Petr Machata 2014-10-15 19:28:08 +02:00
  • 2e83c64987 dwarf.h: Add DW_AT_GNU_deleted. Mark Wielaard 2014-10-05 17:12:41 +02:00
  • 281ebd7d5a tests: run-deleted.sh unset VALGRIND_CMD before running deleted. Mark Wielaard 2014-10-02 22:53:44 +02:00
  • b50014f564 libdw: dwarf_aggregate_size return CU address_size for sizeless pointer/refs. Mark Wielaard 2014-10-02 14:00:47 +02:00
  • 6d48bbf406 Support note NT_FILE for locating files. Jan Kratochvil 2014-09-26 22:42:19 +02:00
  • ff61cf1d8f libdwfl: dwfl_segment_report_module use ei_class, ei_data and e_type. Mark Wielaard 2014-09-23 21:31:42 +02:00
  • fbf1a44f0f readelf: Fix typo in a check in handle_relocs_rela Petr Machata 2014-09-14 00:47:42 +02:00
  • 6097c00a53 Add is_executable to Dwfl_Module. Jan Kratochvil 2014-09-09 22:58:26 +02:00
  • 1498f54129 Rename read_ubyte_unaligned_inc to read_addr_unaligned_inc Petr Machata 2014-09-12 19:03:33 +02:00
  • 476feb1c7d Accept DW_AT_GNU_call_site_* as attributes that hold location expressions Petr Machata 2014-09-10 22:26:28 +02:00
  • 237188e4d7 elf_begin sets elf_errno for cases that the file is completely unreadable Petr Machata 2014-09-10 22:25:35 +02:00
  • 0375056af0 Fix resolving ELF symbols for live PIDs with deleted files Jan Kratochvil 2014-08-17 18:49:36 +02:00
  • f1ec744b57 Prevent premature @AR@ replacement in a sed expression. Josh Stone 2014-08-25 14:40:35 -07:00
  • 5efda26c21 Prepare 0.160 release. Mark Wielaard 2014-08-25 22:13:57 +02:00
  • f18f233615 libdw: Add new function dwarf_cu_die. Mark Wielaard 2014-08-15 16:03:21 +02:00
  • 209f149fdc libdw: Add new function dwarf_cu_getdwarf. Mark Wielaard 2014-08-15 13:08:24 +02:00
  • 9d29ed2989 libdwfl: Handle LZMA .ko.xz compressed kernel modules. Mark Wielaard 2014-08-14 22:07:44 +02:00
  • c1e0fcb931 aarch64: use <sys/user.h> defined register structures Kyle McMartin 2014-06-09 21:06:26 +02:00
  • 475849fdb2 Fix report_r_debug for prelinked libraries Jan Kratochvil 2014-07-24 20:47:17 +02:00
  • e7b2a92bbc m4: Handle cross-compile situations in biarch.m4 tests. Mark Wielaard 2014-07-14 14:34:15 +02:00
  • a95c4ad24c Add ppc64le ELFv2 abi support to backends and elflint. Mark Wielaard 2014-07-04 14:30:48 +02:00
  • 16e2d351bf Update elf.h from glibc. Mark Wielaard 2014-07-04 13:39:18 +02:00
  • 5e9668ccaf backends: aarch64_return_value_location should handle DW_ATE_boolean. Mark Wielaard 2014-07-04 13:26:12 +02:00
  • a7a385547b Make the attach code build again on non-Linux hosts. Kurt Roeckx 2014-06-24 22:08:36 +02:00
  • af1e6ed9b4 dwarf.h: Remove non-existing DW_TAG_mutable_type. Mark Wielaard 2014-06-18 10:57:58 +02:00
  • c1c1c06e30 libebl: Add ebl_func_addr_mask plus ARM backend implementation. Mark Wielaard 2014-06-14 17:15:37 +02:00
  • ba9e515620 backends (*_return_value_location): call dwarf_peeled_die_type Petr Machata 2014-06-20 22:59:43 +02:00
  • 41362da47b tests/backtrace.c (frame_callback): Error on seeing more than 16 frames. Mark Wielaard 2014-06-15 11:35:50 +02:00
  • 1986c175c1 tests: backtrace.c accept __libc_do_syscall as first frame symname. Mark Wielaard 2014-06-14 01:09:17 +02:00
  • cb5ac6eed9 tests: backtrace-subr.sh add check_native_unsupported. Mark Wielaard 2014-06-14 01:01:58 +02:00
  • fb86387b18 libdwfl: linux-core-attach.c handle possible unaligned data access. Mark Wielaard 2014-06-15 22:14:04 +02:00
  • 14beac3b6f libdwfl: Record dwfl_attach_state error and return it on failure. Mark Wielaard 2014-06-11 15:14:23 +02:00
  • 824f393411 libdwfl: dwfl_standard_argp should not fail when not able to attach Dwfl. Mark Wielaard 2014-06-10 15:09:23 +02:00
  • 903f334ef0 readelf: Skip section if name is NULL in print_debug. Mark Wielaard 2014-05-27 10:25:27 +02:00
  • eb4811dee1 readelf: Don't print 'for section' when rela section sh_info is zero. Mark Wielaard 2014-05-26 22:54:38 +02:00
  • bd1a0d1293 unstrip: Allow prelinked, but non-split .bss section. Mark Wielaard 2014-05-26 22:35:30 +02:00
  • 22497096e8 unstrip: Add --force to force combining files when ELF headers don't match. Mark Wielaard 2014-05-26 21:28:05 +02:00
  • 4cd77d68f3 Regenerate *.po files. Mark Wielaard 2014-05-20 10:44:28 +02:00
  • 028d0ab0cc backends: Add ebl_check_reloc_target_type. Mark Wielaard 2014-05-19 16:52:56 +02:00
  • 85482fc073 tests: Don't use static functions in testfile-backtrace-demangle. Mark Wielaard 2014-05-18 22:41:19 +02:00
  • f05dff9d39 Prepare 0.159 release. Mark Wielaard 2014-05-18 00:28:26 +02:00
  • 0f5b632a72 libdwfl: Don't leak fd on error in linux-proc-maps.c (grovel_auxv). Mark Wielaard 2014-05-15 16:03:59 +02:00
  • bb096d0412 Remove --enable-dwz. dwz alt debug is no longer experimental. Mark Wielaard 2014-05-03 00:23:06 +02:00
  • df85bf9902 libdwfl: Move dwz alt multi file searching to find_debuginfo callback. Mark Wielaard 2014-05-01 14:48:27 +02:00
  • d81d32d2a4 libdwelf: Add dwelf_elf_gnu_build_id. Mark Wielaard 2014-04-30 23:00:40 +02:00
  • 920f03dcd3 Move .gnu_debugaltlink handling from libdw to libdwfl Florian Weimer 2014-04-15 17:11:17 +02:00
  • 2248165d12 tests/allfcts.c: Install alternate debug information Florian Weimer 2014-04-15 16:58:39 +02:00
  • 4813dbbcb8 libdwelf: Add dwelf_dwarf_gnu_debugaltlink Florian Weimer 2014-04-24 14:06:43 +02:00
  • 35e2a765c0 libdw: Add dwarf_getalt, dwarf_setalt Florian Weimer 2014-04-15 14:31:55 +02:00
  • efa72a02de dwarf_elf_begin: Add .gnu_debugaltlink to the sectiondata array Florian Weimer 2014-04-15 14:04:19 +02:00
  • 9380297e13 libdwelf: New DWARF ELF Low-level Functions. Add dwelf_elf_gnu_debuglink. Mark Wielaard 2014-04-11 23:52:47 +02:00
  • 7c680a24bc readelf: handle_core_item make sure variable length array isn't zero size. Mark Wielaard 2014-04-22 23:26:34 +02:00
  • 740d1fe497 libdwfl: __libdwfl_frame_reg_[gs]et use uint64_t when checking bits. Mark Wielaard 2014-04-22 22:52:06 +02:00
  • 7c757b33fd readelf.c (print_gdb_index_section): Use unsigned int for 31 bits left shift. Mark Wielaard 2014-04-22 22:23:18 +02:00
  • eb4da48fa4 libdw (get_sleb128_step): Remove undefined behavior. Mark Wielaard 2014-04-22 16:43:11 +02:00
  • fe4b5fd34e tests: run-nm-self.sh use test = not == for string comparisons. Mark Wielaard 2014-04-23 09:54:30 +02:00
  • 02cefdaa64 Unwinding is only supported on Linux Kurt Roeckx 2014-04-22 21:46:22 +02:00
  • 3232479483 Remove mudflap build option. Mark Wielaard 2014-04-13 17:39:57 +02:00
  • f7cdc74ed3 readelf: Read the decompressed data when processing .zdebug DWARF sections. Mark Wielaard 2014-04-09 22:38:07 +02:00
  • 110c273d35 readelf: convert up to a target long in buf_read_ulong. Mark Wielaard 2014-04-10 15:02:53 +02:00
  • 66637fa210 backends: Add aarch64 native and core unwind support. Mark Wielaard 2014-04-09 11:48:23 +02:00
  • 7f1eec317d CVE-2014-0172 Check for overflow before calling malloc to uncompress data. Mark Wielaard 2014-04-09 11:33:23 +02:00
  • 077082fdef backends: add ARM compatible mode to AARCH64 Jean Pihet 2014-03-28 15:13:10 +01:00
  • 87955c4cb7 backends: AARCH64_ABS32 and AARCH64_ABS64 are also valid in ET_REL. Mark Wielaard 2014-03-19 14:41:00 +01:00
  • dd64d4a926 libdwfl: elf_from_remote_memory only trust shdrs of last file-only segment. Mark Wielaard 2014-03-03 15:07:31 +01:00
  • 51fff30ac9 libdwfl: test dwflsyms on ET_EXEC with minisymtab Josh Stone 2014-03-11 18:13:55 -07:00
  • 65cefbd079 libdwfl: dwfl_module_getdwarf.c (open_elf) only (re)set mod->e_type once. Josh Stone 2014-03-11 10:19:28 -07:00
  • 4b9e1433d2 libdwfl: dwfl_linux_proc_find_elf use elf_from_remote_memory for (deleted). Mark Wielaard 2014-03-04 11:27:15 +01:00
  • f15bcda413 libdwfl: elf_from_remote_memory should use pagesize, not p_align. Mark Wielaard 2014-03-03 11:43:43 +01:00
  • b920752655 readelf: Print DW_FORM_sdata values as signed numbers. Mark Wielaard 2014-03-05 16:17:54 +01:00
  • dff2a99d84 Fix abort() on missing section headers. Jan Kratochvil 2014-03-04 00:04:27 +01:00
  • 8f4402f7cd libdwfl: linux-proc-maps.c (proc_maps_report): Don't assert on bad input. Mark Wielaard 2014-02-26 17:00:39 +01:00
  • 48827ec6cb libdwfl: elf-from-memory.c (elf_from_remote_memory): Check against p64 p_type. Mark Wielaard 2014-02-26 17:17:07 +01:00
  • cb7b2d64b6 readelf: More sanity checks before trying to display interpreter string. Mark Wielaard 2014-02-24 17:44:42 +01:00
  • 43c9c2d0d8 readelf: Robustify print_phdr program interpreter printing. Mark Wielaard 2014-02-07 14:23:24 +01:00
  • 50d5b2cbfe libdw: Read DW_AT_decl_file/line/column as unsigned Josh Stone 2014-02-05 11:26:27 -08:00