Commit Graph

  • 9b29c2a136 libelf: Sync elf.h from glibc Andreas Schwab 2018-04-19 17:47:47 +02:00
  • 61eaf1f011 tests: Test readelf --debug-dump=[decoded]line with min_inst_len > 1. Mark Wielaard 2018-04-16 11:40:22 +02:00
  • 40b1f188a3 readelf: Fix advance_pc to use op_addr_advance, not just op_advance. Mark Wielaard 2018-04-16 10:25:35 +02:00
  • eaccd78708 readelf: Only lookup files and show errors in attr_callback when not silent. Mark Wielaard 2018-04-13 14:56:48 +02:00
  • f881459ffc aarch64: Add default cfi rule to restore SP from CFA address. Mark Wielaard 2018-04-11 10:37:45 +02:00
  • 1cc2e2265d libdwfl: Handle unwind frame when the return address register isn't set. Mark Wielaard 2018-04-10 16:13:34 +02:00
  • a46d8d5f87 libdw: Restructure address range reading for .debug_loc and .debug_ranges. Mark Wielaard 2018-04-02 23:08:40 +02:00
  • 7f3934c919 libdw: Make sure to initialize Dwarf_CU addr_base and str_off_base. Mark Wielaard 2018-04-04 16:43:38 +02:00
  • 9535e6bdba libdw: Add support for reading DW_FORM_strx[1234] in .debug_str_offsets. Mark Wielaard 2018-03-14 22:45:56 +01:00
  • 4a97eb02bb libdw: Add support for reading DW_FORM_addrx[1234] in .debug_addr. Mark Wielaard 2017-11-24 11:18:39 +01:00
  • 402b7f76c5 libdw: Extend documentation to explain relative file paths and comp_dir. Mark Wielaard 2018-03-29 14:09:12 +02:00
  • 560145d2b4 readelf: Break sysv[64] symbol hash bucket chain loops. Mark Wielaard 2018-03-28 21:27:48 +02:00
  • afffdff292 libdwfl: Use process_vm_readv when available. Mark Wielaard 2018-03-18 00:24:08 +01:00
  • f0d7b3e147 readelf: Print dwarf_dieoffset as %PRIx64, not %zx. Mark Wielaard 2018-03-27 16:22:16 +02:00
  • cda00f3bf5 readelf: Report error when decl_file or call_file attribute is invalid. Mark Wielaard 2018-03-20 13:29:25 +01:00
  • 92581d7eb4 libebl: Handle SYMTAB_SHNDX in ebl_dynamic_tag_name. Mark Wielaard 2018-03-16 19:42:17 +01:00
  • 86fbef9bca libdw: Add new DWARF5 Dwarf expression operations. Mark Wielaard 2017-11-15 12:13:38 +01:00
  • 06263dda99 libdwfl: Use realpath (name, NULL) instead of canonicalize_file_name (name). Mark Wielaard 2018-03-05 14:23:14 +01:00
  • fd0cee63fb readelf: Add some support for locviews. Mark Wielaard 2018-03-01 00:14:52 +01:00
  • 22e2820710 elflint: Make sure we can read a whole element when iterating over group. Mark Wielaard 2018-02-26 22:53:10 +01:00
  • ebc1768e44 libebl: Allow SHT_NOTE as relocation target type. Mark Wielaard 2018-02-21 16:31:44 +01:00
  • 8e5e78927e libdw: Add support for DWARF5 DW_FORM_data16. Mark Wielaard 2017-12-28 17:44:06 +01:00
  • 8961f33e2a libdw: Handle DWARF5 DW_FORM_implicit_const. Add dwarf_getabbrevattr_data. Mark Wielaard 2017-11-26 17:51:11 +01:00
  • eb11b0f15c libdw: Recognize new DWARF5 attribute forms. Mark Wielaard 2017-11-26 17:40:56 +01:00
  • 79f0e623dc libdw: Add new dwarf_get_units function to iterate over all units. Mark Wielaard 2018-01-30 12:05:57 +01:00
  • 532ab1edd8 libdw: Parse new DWARF5 units and CU DIEs. Mark Wielaard 2018-01-29 15:59:05 +01:00
  • 88f3d2daa1 libelf: Sync elf.h from glibc. Mark Wielaard 2018-02-17 00:23:19 +01:00
  • 61e33d7278 tests: Accept any core if no core with the "correct" pid can be found. Mark Wielaard 2018-02-16 20:34:25 +01:00
  • 4482d0009a Include sys/ptrace.h as early as possible. Mark Wielaard 2018-02-15 14:44:18 +01:00
  • 212b4e3d43 libdw: Add dwarf_die_addr_die function. Mark Wielaard 2018-01-25 01:13:10 +01:00
  • 555e15ebe8 Use fallthrough attribute. Joshua Watt 2018-02-09 10:27:18 -06:00
  • 240a068fcf libdw: Resolve alt file on first use. Mark Wielaard 2018-01-19 23:59:21 +01:00
  • 4407903a74 tests: Check symtabshdr instead of symtabndx in elfstrmerge.c. Mark Wielaard 2018-01-25 14:37:17 +01:00
  • e98f032d29 readelf: Fix crash on reading loc data or range data with bad/no CUs. Mark Wielaard 2018-01-25 13:24:19 +01:00
  • 1e2c886bb2 libdw: dwarf_formsdata should return a signed value Petr Machata 2018-01-14 03:22:05 +01:00
  • c09d611f82 libdw: Reduce size of struct Dwarf_Abbrev. Mark Wielaard 2017-12-26 16:49:46 +01:00
  • bfb2117387 libdw: New get_uleb128_unchecked to use with already checked Dwarf_Abbrev. Mark Wielaard 2017-12-26 11:52:06 +01:00
  • 68cd423edb readelf: Use dwarf_form_name for printing (unknown) forms. Mark Wielaard 2018-01-01 22:39:24 +01:00
  • 699a741b48 tests: Try to use coredumpctl to extract core files. Mark Wielaard 2017-12-23 23:16:24 +01:00
  • c3bb9051c1 readelf: Format offset as DIE index (hex). Mark Wielaard 2017-12-29 00:46:19 +01:00
  • 4af2f2ed92 libdw: Check there is .debug_info/types section data in __libdw_offdie. Mark Wielaard 2017-12-29 00:34:14 +01:00
  • 0d100f63db Don't overflow in __libdw_in_section and __libdw_offset_in_section. Ulf Hermann 2017-05-09 18:28:33 +02:00
  • 51a7292b7e libdw: Add explicit section index to struct Dwarf_CU. Mark Wielaard 2017-12-20 16:50:57 +01:00
  • 8887f30e55 readelf: Try to continue after encountering bogus ELF Note data. Mark Wielaard 2017-12-18 12:39:13 +01:00
  • c25dc62e59 libdw: dwarf_aggregate_size should not peel the given DIE. Mark Wielaard 2017-12-11 23:58:34 +01:00
  • a2246aaad9 libdw: dwarf_aggregate_size() works with multi-dimensional arrays Dima Kogan 2017-12-08 01:45:10 -08:00
  • 57b7f381e1 readelf: Handle DW_OP_call2 and DW_OP_call4 correctly. Mark Wielaard 2017-12-07 16:31:54 +01:00
  • b0654221fc readelf: Hook up -g, --section-groups to display the section groups. Mark Wielaard 2017-11-30 00:10:58 +01:00
  • fbb6c932e3 readelf: Print CU, base address and unresolved .debug_loc entries. Mark Wielaard 2017-11-29 16:37:50 +01:00
  • 36eabdb739 readelf: Print CU, base address and unresolved .debug_range entries. Mark Wielaard 2017-11-29 16:27:33 +01:00
  • d5b99ee3b4 readelf: Print actual file for decl_file and call_file attributes. Mark Wielaard 2017-11-29 16:06:36 +01:00
  • e6f1990baf readelf: Print abbrev code for DIE with --debug-dump=info. Mark Wielaard 2017-11-29 15:58:40 +01:00
  • 704f5fc477 readelf: Adjust print_ops formatting. Mark Wielaard 2017-11-29 15:43:26 +01:00
  • 268a27211b libdwfl: Don't dereference possibly unaligned auxv entry pointer from core. Mark Wielaard 2017-11-20 14:11:02 +01:00
  • 080e3f5b39 readelf: Print attribute name and form in error message. Mark Wielaard 2017-11-21 11:13:00 +01:00
  • 4d36d125fa readelf: Print DIE offset in attribute reading error messages. Mark Wielaard 2017-10-03 16:55:25 +02:00
  • 1af6c2b9e4 tests: Fix cfi_debug => cfi_debug_bias typo in varlocs assert. Mark Wielaard 2017-11-16 13:20:11 +01:00
  • c0482a7f1f tests: Add varlocs-self and exprlocs-self tests. Mark Wielaard 2017-11-08 11:25:33 +01:00
  • afda91cb2e libdw: Handle DW_OP_GNU_variable_value. Mark Wielaard 2017-11-02 16:24:41 +01:00
  • 7286e5c5de libdw: Update acceptable forms and attributes for dwarf_getlocation. Mark Wielaard 2017-11-02 16:24:17 +01:00
  • e23c71330c readelf: Handle DW_OP_GNU_variable_value. Mark Wielaard 2017-11-02 16:23:24 +01:00
  • cc1d7e7612 config: files under /usr/lib/sysctl.d (_sysctldir) aren't %config. Mark Wielaard 2017-11-02 16:53:10 +01:00
  • ab6b37ac32 backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c. Mark Wielaard 2017-10-24 14:23:30 +02:00
  • a5c72418f5 lib: Remove md5 and sha1 implementations. Mark Wielaard 2017-10-16 16:16:12 +02:00
  • 557c000db9 libdwfl: When the kernel is found, but not the modules warn, don't fail. Mark Wielaard 2017-10-16 13:25:33 +02:00
  • 4f977868ea libelf: Don't error out when sanity checking e_shoff if scncnt is zero. Mark Wielaard 2017-10-04 20:52:53 +02:00
  • fef9e11b30 libelf: Add ELF_E_INVALID_ELF error value. Mark Wielaard 2017-10-04 16:51:15 +02:00
  • 734118467b libdw: Define LIBDW_CIE_ID and use it in dwarf_cfi_cie_p. Mark Wielaard 2017-10-03 23:08:01 +02:00
  • 17d7194d29 Make sure packed structs follow the gcc memory layout Ulf Hermann 2017-08-18 14:05:10 +02:00
  • b10d7eb740 ar: Check whether ar header values fit. Mark Wielaard 2017-09-11 00:12:31 +02:00
  • 04ecad6acd README: Add basic build instructions. Mark Wielaard 2017-09-19 16:05:49 +02:00
  • 2a9dc514e5 Internationalized messages should not contain the '\v' escape sequence. Mark Wielaard 2017-09-01 12:42:45 +02:00
  • 760925bc7b Cast pid_t to long long when printing Ulf Hermann 2017-08-18 17:20:02 +02:00
  • e3d869ece3 On non-linux systems, don't use native signal numbers Ulf Hermann 2017-08-18 17:03:50 +02:00
  • 4a3330a918 Detect if symbol versioning is supported Ulf Hermann 2017-08-18 15:50:42 +02:00
  • a5ea080ce5 Drop -rdynamic from deleted-lib.so link step Ulf Hermann 2017-08-18 15:17:38 +02:00
  • 1127470a3e Check if gcc complains about __attribute__ (visibility(..)) Ulf Hermann 2017-08-18 13:06:36 +02:00
  • 07737584e7 Check for -z,defs, -z,relro, -fPIC, -fPIE before using them Ulf Hermann 2017-08-18 12:41:11 +02:00
  • 6d2e7e7100 libelf: Sync elf.h from glibc. Mark Wielaard 2017-08-15 22:43:01 +02:00
  • 8f0140ace4 tests: robustify run-strip-nothing.sh against unstripped libc_nonshared.a Dmitry V. Levin 2017-08-08 19:06:16 +03:00
  • 54ba4ce297 Prepare for 0.170. Mark Wielaard 2017-08-02 18:30:07 +02:00
  • 31bae8177b backends: sparc GOTDATA_OP[_HIX22|LOX10] can be used in ET_REL files. Mark Wielaard 2017-07-27 23:07:00 +02:00
  • f9d791a92b libdw: Add DW_MACRO constants and DW_MACRO_GNU compatibility defines. Mark Wielaard 2017-07-26 23:02:18 +02:00
  • 274f28ce24 libdw: Handle DWARF5 immutable, packed and shared in dwarf_peel_type. Mark Wielaard 2017-07-26 22:54:59 +02:00
  • 02e3093731 Handle DWARF5 defaulted member function encodings. Mark Wielaard 2017-07-26 18:32:27 +02:00
  • 75834f33d6 libdw: DWARF5 Add DW_CC_pass_by_reference and DW_CC_pass_by_reference. Mark Wielaard 2017-07-26 18:15:20 +02:00
  • 2eb1e34856 libdw: Add dwarf_default_lower_bound. Mark Wielaard 2017-07-26 18:06:21 +02:00
  • d14fd3bc70 libdw: DWARF5 Add new DW_LANG codes and default lower array bound. Mark Wielaard 2017-07-26 17:44:29 +02:00
  • 2d906d8d77 libdw: Add new DWARF5 character encodings. Mark Wielaard 2017-07-26 17:38:22 +02:00
  • 9619d34d20 libdw: Add new DWARF5 tag constants. Mark Wielaard 2017-07-26 17:06:07 +02:00
  • 8e9c76b680 libdw: Add DWARF5 attributes. Mark Wielaard 2017-07-25 15:29:10 +02:00
  • 33220d549d libdwfl: Move nested functions in parse_opt to file scope. Yunlian Jiang 2017-07-26 16:25:43 -07:00
  • c24b900cc9 libdw: Add dwarf_line_file. Mark Wielaard 2017-07-21 21:23:07 +02:00
  • 55a471f5fe ppc64: Add HTM SPRs support to readelf Gustavo Romero 2017-07-20 17:49:02 -04:00
  • 55cb7dfa7e strip: Deal with ARM data marker symbols pointing to debug sections. Mark Wielaard 2017-07-20 22:34:29 +02:00
  • 1609679b1e backends: Don't depend on linux/bpf.h to compile bpf disassembler. Mark Wielaard 2017-07-18 14:12:36 +02:00
  • c8e16c1266 Write to /dev/null rather than /dev/zero Ulf Hermann 2017-05-04 17:27:47 +02:00
  • 8abf0b5b58 Unify linking of libasm, libelf, libdw, backends Ulf Hermann 2017-02-17 16:11:28 +01:00
  • 1dd301b7c3 backends: Swap sys/ptrace.h and asm/ptrace.h include order on s390. Mark Wielaard 2017-07-17 17:26:25 +02:00
  • d03be4f70c strip: Add --keep-section=SECTION and --remove-section=SECTION. Mark Wielaard 2017-07-14 17:09:40 +02:00