Commit Graph

  • 1ae83ee854 libdw: Fix overflow in read_encoded_value for the DW_EH_PE_indirect case. Mark Wielaard 2015-05-27 14:05:15 +02:00
  • e115bda377 libdwfl: Check mod is not NULL in check_module. Mark Wielaard 2015-05-24 00:07:33 +02:00
  • 712f3c8930 config: Add -Wstack-usage=262144 (256K) warning check. Mark Wielaard 2015-05-23 17:50:09 +02:00
  • e69f59c671 libdw: Limit stack usage of temporary dir, file and line lists. Mark Wielaard 2015-05-22 23:33:56 +02:00
  • f592035ea1 libdwfl: Don't allocate phdrs and dyn on stack in link_map. Mark Wielaard 2015-05-22 18:31:58 +02:00
  • f96ec4a9bb libdwfl: Don't allocate phdrs and dyn on stack in dwfl_segment_report_module. Mark Wielaard 2015-05-22 18:01:34 +02:00
  • c4f133a956 libdwfl: find_debuginfo_in_patch don't alloca/strdupa strings of unknown size. Mark Wielaard 2015-05-22 16:01:02 +02:00
  • c57829bb11 libdwfl: Reject very short or really large build-ids. Mark Wielaard 2015-05-22 14:18:11 +02:00
  • 9202fe132c libdwfl: Don't allocate all phdrs on the stack in elf_from_remote_memory. Mark Wielaard 2015-05-19 13:39:39 +02:00
  • 08e5ae6fc8 libdwfl: Don't stack allocate alternate_name in dwfl_linux_kernel_find_elf. Mark Wielaard 2015-05-19 12:58:49 +02:00
  • 251f1459aa libdwfl: Minimize stack usage in dwfl_linux_kernel_report_offline. Mark Wielaard 2015-05-19 12:40:30 +02:00
  • 720f83a563 libdw: Fix possibly unbounded stack usage in __libdw_intern_expression. Mark Wielaard 2015-05-19 11:52:58 +02:00
  • 903924f054 libdwfl: Fix unbounded stack usage in find_prelink_address_sync. Mark Wielaard 2015-05-18 21:26:24 +02:00
  • be17786f9d libdwfl: Fix possible unbounded stack usage in cache_sections. Mark Wielaard 2015-05-18 16:23:06 +02:00
  • 390dd3d21c libebl: Don't blow up stack when processing large NT_GNU_ABI_TAG. Mark Wielaard 2015-05-17 20:07:56 +02:00
  • df1708a2d6 libebl: Use static number for array stack allocation in openbackend. Mark Wielaard 2015-05-17 18:49:10 +02:00
  • e6261005ea libelf: Fix possible unbounded stack usage in updatefile. Mark Wielaard 2015-05-17 10:30:57 +02:00
  • 2e5df0c350 libelf: Fix possible unbounded stack usage in updatemmap. Mark Wielaard 2015-05-16 22:41:36 +02:00
  • bfb9a752c3 libelf: Fix possible unbounded stack usage in elf_getarsym. Mark Wielaard 2015-05-16 21:30:41 +02:00
  • 6f2e64a03b addr2line: Set scopes to NULL after free in handle_address. Mark Wielaard 2015-05-21 16:05:18 +02:00
  • b23a5b2dda addr2line: Add --pretty-print option to show all information on one line. Mark Wielaard 2015-05-20 14:09:46 +02:00
  • cd2da6c37b addr2line: Add demangler support. Mark Wielaard 2015-05-20 11:52:27 +02:00
  • 70a504d1e1 addr2line: Add -a, --address. Print address before for each entry. Mark Wielaard 2015-05-19 16:21:27 +02:00
  • d76d73f490 addr2line: Always parse addresses as hex numbers. Mark Wielaard 2015-05-19 23:08:00 +02:00
  • 472890f580 addr2line: Split options in input and output format groups. Mark Wielaard 2015-05-20 12:10:47 +02:00
  • 77482c4bf6 libelf: Use posix_fallocate instead of ftruncate to extend ELF file. Mark Wielaard 2015-05-14 12:34:26 +02:00
  • 2b250b7597 configure: Add --enable-sanitize-undefined. Mark Wielaard 2015-05-21 23:36:51 +02:00
  • c2297eab17 libelf: If e_phnum is zero then set e_phoff also to zero. Mark Wielaard 2015-05-13 15:21:57 +02:00
  • 6d93c8c46d strip: Harden against bogus input files. Don't leak tmp debug file on error. Mark Wielaard 2015-05-12 15:59:04 +02:00
  • c0748eff84 libelf: More checking of valid sh_addralign values. Mark Wielaard 2015-05-12 15:28:06 +02:00
  • 458027d294 libelf: Make sure shdrs are valid before storing extended phnum in newphdr. Mark Wielaard 2015-05-12 15:16:35 +02:00
  • 987e3d722d dwarf_begin_elf: new error for compression failure Jonathan Lebon 2015-05-11 15:38:14 -04:00
  • 90659075ad dwarf_begin_elf: decouple section searching from reading Jonathan Lebon 2015-05-11 15:38:13 -04:00
  • a2b964c7db Always call gelf_fsize with EV_CURRENT as argument. Mark Wielaard 2015-05-08 17:56:32 +02:00
  • f085540301 libdwfl: Only intern CU when not EOF marker and cuoff points to a DIE. Mark Wielaard 2015-05-07 18:35:48 +02:00
  • 281bb49c71 elflint: Check gnu_hash has enough data and bitmask_words is not zero. Mark Wielaard 2015-05-06 18:02:10 +02:00
  • 5e80a1e8f5 elflint: Add sanity checks to check_attributes. Mark Wielaard 2015-05-06 17:38:18 +02:00
  • 9d09265386 elflint: Use Use Elf64_Word for shdr->sh_info cnt. Mark Wielaard 2015-05-06 16:01:55 +02:00
  • 16e2ac3447 elflint: Stop checking section when 2nd hash function shift too big. Mark Wielaard 2015-05-06 13:09:23 +02:00
  • dedb5e7388 libdw: Detect line number overflow in dwarf_getsrclines on 32bit. Mark Wielaard 2015-05-06 12:55:21 +02:00
  • a3344c7a78 nm: Handle dwarf_linesrc returning NULL. Mark Wielaard 2015-05-06 12:45:49 +02:00
  • ae02916ba1 libdw: dwarf_getaranges check there is enough data before reading. Mark Wielaard 2015-05-05 10:16:42 +02:00
  • 3c1d164278 libdwfl: Bounds check Dwarf_Fileinfo file number in dwfl_lineinfo. Mark Wielaard 2015-05-05 10:05:01 +02:00
  • d26aea9da7 libdwfl: Make dwfl_error.c C99-kosher. Roland McGrath 2015-05-06 13:49:47 -07:00
  • 59c1f12303 libelf: Make sure version xlate dest buffer is fully defined. Mark Wielaard 2015-01-03 23:02:17 +01:00
  • c801acf1cb Replace assert_perror with assert Max Filippov 2015-05-04 20:17:52 +03:00
  • 8c4aa0ef99 Replace futimes with futimens. Max Filippov 2015-05-04 20:17:51 +03:00
  • b88bece422 Drop mtrace calls. Max Filippov 2015-05-04 02:25:40 +03:00
  • 1ab3c2befe Link against standalone argp library Anthony G. Basile 2015-05-04 02:25:39 +03:00
  • 1ce4a45932 configure: fix enable_demangler setting Max Filippov 2015-05-03 21:14:09 +03:00
  • e6e80dae42 tests: Split run-stack tests to support missing demangler. Mark Wielaard 2015-05-01 10:31:36 +02:00
  • 7702a3c106 configure: print feature settings overview Mark Wielaard 2015-05-01 09:23:57 +02:00
  • bcefec514e Update elf.h from glibc. Mark Wielaard 2015-04-28 14:41:12 +02:00
  • 32d5b6f61a readelf: Fix cie_offset calculation comparison on 32bit. Mark Wielaard 2015-04-22 12:47:46 +02:00
  • 65a211f902 libdw: Undefined behavior in get_sleb128_step. Mark Wielaard 2015-04-22 12:28:30 +02:00
  • f333a1c240 readelf: Check all offsets used in print_gdb_index_section against d_size. Mark Wielaard 2015-04-22 11:44:32 +02:00
  • 9b5f795117 readelf: Always try to print some debug section information. Mark Wielaard 2015-04-17 22:24:41 +02:00
  • 86de792187 readelf: Add overflow checking to print_gdb_index_section dataend checks. Mark Wielaard 2015-04-17 20:03:44 +02:00
  • bafacacaf7 Allow disabling symbol versioning at configure time Max Filippov 2015-04-23 20:46:59 +02:00
  • f98b99db09 libdw: Don't overflow stack with user defined macro attributes array. Mark Wielaard 2015-04-21 15:46:01 +02:00
  • 587c4b3e94 src: Remove __DATE__ from internal error messages. Mark Wielaard 2015-04-14 11:59:36 +02:00
  • aba6d762ed configure: Add explicit checks for all GNU99 extensions used. Mark Wielaard 2015-04-14 10:18:37 +02:00
  • 7d3879e858 libdwfl: Correct off-by-one check in segment.c insert. Mark Wielaard 2015-04-02 13:39:03 +02:00
  • fe7dbcaa11 libdwfl: Special case core_file_read_eagerly for small ELF images. Mark Wielaard 2015-03-31 11:33:53 +02:00
  • 71de1d2a8a Do not reject type units in dwarf_getsrcfiles and dwarf_getsrclines Petr Machata 2015-04-01 21:44:32 +02:00
  • 224e2e61b2 tests: Add run-strip-test10.sh H.J. Lu 2015-03-25 09:19:08 -07:00
  • f1bde8d625 tests: Add run-strip-test9.sh H.J. Lu 2015-03-25 08:16:56 -07:00
  • 6de7276172 tests: Add run-backtrace-core-x32.sh H.J. Lu 2015-03-25 07:22:43 -07:00
  • aa19e593d3 tests: Add testfile-x32 to run-addrcfi.sh H.J. Lu 2015-03-25 06:44:09 -07:00
  • 8c78ff0d1f tests: Add testfile-x32-core to run-allregs.sh H.J. Lu 2015-03-25 05:57:09 -07:00
  • 5bbf039bb8 tests: Add testfile-x32-core.bz2 to run-readelf-mixed-corenote.sh H.J. Lu 2015-03-25 05:44:57 -07:00
  • 28ce4e89d3 backends: Add x32_corenote.c H.J. Lu 2015-03-12 14:51:42 -07:00
  • 7f61734779 Publish known-dwarf.h Petr Machata 2015-03-18 19:42:02 +01:00
  • 5370bb0a64 libelf: Don't extend ELF file size with SHT_NOBITS sh_offset. Mark Wielaard 2015-03-23 22:19:12 +01:00
  • d4852fab1c backends: aarch64 can have _GLOBAL_OFFSET_TABLE_ point anywhere in .got. Mark Wielaard 2015-03-23 15:08:27 +01:00
  • 06457daeff Add forgotten files to EXTRA_DIST Petr Machata 2015-03-18 19:35:16 +01:00
  • 0a35e3ac65 Fix -Wimplicit warnings. Mark Wielaard 2015-03-13 23:51:40 +01:00
  • be7ea70f3f tests: Use PTRACE_GETREGS/PTRACE_SETREGS to update rip H.J. Lu 2015-03-12 12:14:43 -07:00
  • cbf25bb674 backends: COPY relocations can also happen in ET_DYN. Mark Wielaard 2015-03-09 22:43:08 +01:00
  • ae9aa3e4b2 elflint: Correct gnu_symbias usage in compare_hash_gnu_hash. Mark Wielaard 2015-03-09 16:41:48 +01:00
  • 0ff3e49f33 Drop two useless variables from known-dwarf.awk Petr Machata 2015-02-20 20:05:29 +01:00
  • 939e4807cc Support STT_ARM_TFUNC symbol type in ebl_symbol_type_name hook Petr Machata 2015-02-24 01:08:25 +01:00
  • 6c9f1ec5c5 libelf: Make __libelf_set_data_list_rdlock an internal_function. Mark Wielaard 2015-02-18 20:51:40 +01:00
  • 2e09635f3e tests: Use PRId64 for printing loff_t. Mark Wielaard 2015-02-19 00:43:59 +01:00
  • d3c816d2d8 libdw: Add DWARF5/GCC5 DW_LANG_Fortran03 and DW_LANG_Fortran08 support. Mark Wielaard 2015-02-09 16:47:08 +01:00
  • 7fb8031aed libdw: Add support for DWARF5/GCC5 DW_TAG_atomic_type. Mark Wielaard 2015-02-09 16:24:04 +01:00
  • 3d11410c48 tests: ensure backtrace.c exec_dump sets jmp Josh Stone 2015-02-11 14:25:37 -08:00
  • 031db7ce5f libdw: ensure read_encoded_value's value is set Josh Stone 2015-02-11 13:53:14 -08:00
  • b4da85ded5 dwarf_ranges: do not request base address attributes if not necessary Petr Machata 2015-02-11 22:11:46 +01:00
  • 6f5934c1af libelf: Consider sh_addralign 0 as 1 Jan Kratochvil 2015-02-07 15:08:20 +01:00
  • 96f7667a2e libdwfl: Clear symtab result on error before using find_dynsym fallback. Mark Wielaard 2015-01-26 16:34:57 +01:00
  • 9d481b29e7 libelf: Make sure string returned by elf_strptr is NUL terminated. Mark Wielaard 2015-01-22 12:49:29 +01:00
  • 710ca87893 libelf: elf_strptr should use datalist when data has been added to section. Mark Wielaard 2015-01-21 23:56:43 +01:00
  • b543cdd95a libelf: Fix elf_newdata when raw ELF file/image data is available. Mark Wielaard 2015-01-20 21:55:55 +01:00
  • 058ae7b4d5 libelf: elf_strptr should fetch the shdr for the section if not yet known. Mark Wielaard 2015-01-20 14:52:41 +01:00
  • c806736dc8 s/Really, not guarantee/Really, no guarantee/g Mark Wielaard 2015-01-27 15:55:41 +01:00
  • 858dc6536d libebl.h: Add comment from README that this is completely UNSUPPORTED. Mark Wielaard 2015-01-27 13:07:17 +01:00
  • cc74c21c0d tests: Make deleted and vdsosyms testcases work with "restricted ptrace". Mark Wielaard 2015-01-15 13:39:06 +01:00
  • ddbf23a459 libdw: Search for the last matching address with dwarf_getsrc_die. Mark Wielaard 2014-12-24 13:17:23 +01:00
  • f8198f2322 libdwfl: dwfl_module_getsrc should never match end_sequence line. Mark Wielaard 2014-12-27 16:16:29 +01:00