master
debuginfod server: support .deb/.ddeb archives
Rename 'hello{2,3}.spec.' -> 'hello{2,3}.specfile'
debuginfod arch-linux test binaries
backends: Support returning lvalue and rvalue references
libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation
Fix static build when zstd is enabled for libelf
libdw: dwarf_frame_register takes an array of at least 3 Dwarf_Ops
Consolidate error.h inclusion in system.h
libdw: Support DW_OP_addrx/constx and split DWARF addrx/constx support.
libelf: Fix some 32bit offset/size issues that break updating 4G+ files.
libdw: dwarf_aggregate_size return CU address_size for sizeless pointer/refs.
libdw: Handle GNU DebugFission split ranges.
readelf: Don't consider padding DT_NULL as dynamic section entry
libdw: Resolve alt file on first use.
Switch from numerical to defined constants for permissions.
Trust AC_SYS_LARGEFILE to provide large file support
Update name, license and contributor policy.
Only typedef Ebl once.
libdw: Search skeleton DIE for split compile unit DIE attributes.
tests: Remove assert (errno == 0) from tests.
tests: Add break to avoid implicit-fallthrough warning
tests: Don't printf a known NULL symname in backtrace-dwarf.c.
Use grep -E instead of egrep, use grep -F instead of fgrep.
backends: Add aarch64 native and core unwind support.
Add frame pointer unwinding for aarch64 and relax backtrace testcases.
tests: skip '(null)' symname frames in backtrace tests
Tests for unwinder of x86*.
Add i386 frame pointer unwinder.
tests: Add core backtracegen check and regen ppc32 backtrace testfiles.
ppc64: Add minimal fallback unwinder.
unwinder: s390 and s390x
backends: sparc: support for core backtraces
tests: Add run-backtrace-core-x32.sh
Add frame pointer unwinding as fallback on x86_64
tests: Simplify backtrace-dwarf (gcc cleanup-13.c) testcase.
tests: Use #/usr/bin/env bash in scripts that use bash
dwarf_ranges: do not request base address attributes if not necessary
debuginfod 2/2: server side
Fix resolving ELF symbols for live PIDs with deleted files
tests: fix spelling typos in error diagnostics and comments
libdw: Add DW_MACRO constants and DW_MACRO_GNU compatibility defines.
tests: Fix some memory leaks in testcases.
libdw: Add dwarf_default_lower_bound.
Come up with startswith function.
tests: Add dlopen override to dwfl-proc-attach for old glibc/valgrind.
libdwfl: add check for elf_memory return value
libdwfl: remove broken coalescing logic in dwfl_report_segment
Consistently define _(Str) using dgettext ("elfutils", Str)
Remove redundant casts of memory allocating functions returning void *
libelf: Add elf_compress and elf_compress_gnu.
libelf: Mark shdr_flags dirty if offset or size changes during update.
Write to /dev/null rather than /dev/zero
Fix typos from codespell
backends: Handle DW_TAG_unspecified_type in dwarf_peeled_die_type
Support AArch64 architecture
libdw: Add dwarf_line_file.
libdw: Check validity of dwarf_getabbrev arguments.
libdw: dwarf_get_units find split units from .dwo.
tests: Fix getphdrnum and run-lfs-symbols.sh testcase.
Add support for Synopsys ARCv2 processors
Add backend support for C-SKY
strip: Add --reloc-debug-sections option.
Add m68k tests
tests: Update hello_riscv64.ko test file with debuginfo.
Add hello_s390.ko testcase to run-strip-reloc.sh.
libdw: check memory access in get_(u|s)leb128
libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.
Support note NT_FILE for locating files.
tests: run-low_high_pc.sh: drop redundant 'lx' suffix
libelf: Add ELF_E_INVALID_ELF error value.
libdw: Add dwarf_next_lines to read .debug_line tables without CUs.
tests: Handle compressed sections in next_cfi testcase.
libdw, readelf: Read inlining info in NVIDIA extended line map
Add missing peel_type.c test for commit f339da.
tests: Add read_unaligned testcase
tests: Check ELFUTILS_DISABLE_DEMANGLE in run-addr2line-C-test.sh
tests: Add a testcase for dwfl debuginfo-path with separate bin/debug dirs.
tests: Always print reason when skipping test.
tests: Test addr2line -i with lexical blocks present
addr2line: Do not test demangling in run-addr2line-i-test.sh
addr2line: Add --pretty-print option to show all information on one line.
addr2line: Always parse addresses as hex numbers.
libdwfl: dwfl_module_getsrc should never match end_sequence line.
libdw: dwarf_formsdata should return a signed value
libdw: Handle .debug_rnglists in dwarf_ranges.
libdw: Skip imported compiler_units in libdw_visit_scopes walking DIE tree
backends: Remove tilegx backend.
tests: Use separate files for strip outputs
ar: Correct -N COUNT off-by-one
Enable automake parallel-tests for make check.
Check for prefixed ar, readelf, and nm
libdwelf: Add dwelf_elf_gnu_build_id.
support ZSTD compression algorithm
libelf: Fix some issues with ELF_C_RDWR_MMAP.
libelf: Fix shnum and section zero handling.
libdwelf: Add dwelf_dwarf_gnu_debugaltlink
tests: Don't set DEBUGINFOD_TIMEOUT
tests: Make sure all debuginfod tests use a clean database and cache.
PR29022: 000-permissions files cause problems for backups
tests: Don't try to corrupt sqlite database during test.
tests: Set DEBUGINFOD_CACHE_PATH for run-debuginfod-{file,query-retry}.sh
debuginfod: Fracture tests/run-debuginfod-find.sh into specific tests
tests: Add initial scan wait_ready in run-debuginfod-percent-escape.sh
tests: Make sure to wait for initial scan and groom cycle
run-debuginfod-section.sh: Avoid zstd-compressed rpms
PR28284: add tweaks on previous debuginfod x-debuginfod* header forwarding work
libdwelf: New DWARF ELF Low-level Functions. Add dwelf_elf_gnu_debuglink.
Add support for BPF
Implement RISC-V disassembler
tests: use ${CC} instead of 'gcc' in tests
libdw: Handle split Dwarf Dies in dwarf_die_addr_die.
Change calling convention of dwarf_getmacros to allow opcode 0xff
libdw: Allow .debug_frame only Dwarf.
libdwelf: Add dwelf_scn_gnu_compressed_size.
libdwfl: add dwfl_report_offline_memory
libdwfl: test dwflsyms on ET_EXEC with minisymtab
tests: Add various files to tempfiles so they are always cleaned up.
elfclassify: New tool to analyze ELF objects.
tests: Run elfcompress under testrun in run-elfclassify.sh
libelf: Add elf32_getchdr, elf64_getchdr and gelf_getchdr.
elflint: Support checking ELF files with compressed sections.
libelf: Make elf_strptr index correctly into compressed section data.
tests: elfstrmerge warn about STT_SECTION symbol for shstrhndx.
tests: Add varlocs-self and exprlocs-self tests.
libdw: Handle DW_OP_GNU_variable_value.
libdw: Handle split dwarf debuglines.
libdw: dwarf_getsrclines don't set end_sequence when there are no lines.
libdw: Fix crashing on illegal/zero Dwarf_Die.
tests: Split self_test_files into an exe, lib and obj list.
tests: Add testcase for elf_getphdrnum with more than 65535 entries.
libdw: Search for the last matching address with dwarf_getsrc_die.
tests: Check addsections test binary is 64bit for run-large-elf-file.sh
libdw: handle DW_FORM_indirect when reading attributes
tests: Run run-low_high_pc.sh testcase on split dwarf files.
tests: Tests that override EXIT (0) trap need to cleanup themselves.
libdw: Recognize zero terminator to end frame table in dwarf_next_cfi.
tests: run-nm-self.sh use test = not == for string comparisons.
nm: Explicitly print weak 'V' or 'T' and common 'C' symbols.
libdw: dwarf_aggregate_size() works with multi-dimensional arrays
readelf, elflint: Handle PT_GNU_PROPERTY.
backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
readelf: Support --dynamic with --use-dynamic
readelf handle .debug_addr section.
Arm Ehdr flag printing
libdwfl: Add ZSTD support.
Skip run-readelf-compressed.sh test if built without bzip2
readelf: Handle signedness of DW_FORM_implicit_const and DW_AT_const_value.
readelf: Decode DW_AT_discr_list block attributes.
readelf: Print actual file for decl_file and call_file attributes.
libdw: dwarf_elf_begin should use either plain, dwo or lto DWARF sections.
libdw,readelf: Recognize DW_CFA_AARCH64_negate_ra_state
libdw: Fix memory corruption in libdw_find_split_unit.
readelf: Turn format_print_dwarf into print_dwarf_addr.
readelf: Handle multiple .debug_macro sections and decode header flag.
RISC-V: Improve riscv64 core file support.
readelf: Handle line tables without line number statements correctly
libebl: Handle aarch64 bti, pac bits in gnu property note
readelf: print warning for -sW
configure: Add --enable-sanitize-memory
readelf: Handle .debug_str_offsets.
readelf: Actually dump hex or strings when -p or -x get section number.
readelf: Fix regression with multiple files and implicit debug_info reading.
readelf: Type DIE offset is from start of CU.
readelf: Handle DW_OP_call2 and DW_OP_call4 correctly.
readelf: Add -z,--decompress option.
libelf: Explicitly update section data after (de)compression.
readelf: Handle compressed sections and extend -z to cover -x and -p.
backends,bpf: add proper relocation support
Handle SHF_GNU_RETAIN in eu-readelf and eu-elflint.
tests: Use valgrind --leak-check=full.
libelf: Fix unaligned d_off offsets for input sections with large alignments
libelf: elf_getdata should not adjust alignment for SHT_NOBITS sections.
strip: Add --keep-section=SECTION and --remove-section=SECTION.
Handle merged strtab/shstrtab string tables in strip and unstrip.
tests: Add run-strip-test10.sh
tests: Add core and strip tests for RISC-V
src/ 2007-05-18 Roland McGrath <roland@redhat.com>
Move .mt-attrs file to top level.
missed testdata files
src/ * strip.c (handle_elf): Don't keep sections that kept symbol tables refer to. Instead, just be sure to preserve the original symbol table in the debug file so those symbols go with their sections and can be elided from the stripped version of the symbol table.
tests: Add run-strip-test9.sh
libelf: Get alignment correct when calling conversion functions.
libelf: elf_strptr should fetch the shdr for the section if not yet known.
nm: Handle/Skip /SYM64/ index entries.
libdw: dwarf_begin_elf should use elf_getshdrstrndx to get section names.
tests: Add testfile-debug-types test case.
libdwfl: Don't report and abort on non-file mappings in maps.
unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.
tests: unstrip: Add test for mismatched .strtab sections
libdw: set address size, offset size and version on fake CUs
readelf: Deal with combined normal and split dwarf DebugFission .debug_loc.
libelf: If xlate can only convert the ELF note header, just do that.
tests: Handle dwarf_attr_string returning NULL in show-die-info.c
libelf: Add ELF compression types and defines to libelf.h for older glibc.
Use DT_DEBUG library search first.
libdw: Handle dwz multi files correctly in dwarf_getfuncs.
tests: Run run-varlocs-self.sh for object files with --exprlocs.
tests: Remove bashism from test-wrapper.sh /bin/sh script.
Test case for handling archives with 64-bit symbol table
Add ppc testcase for elf32_xlatetom.c fix.
Add new run-unstrip-n.sh test for RHBZ#805447 fixed in commit 210c2f.
unstrip: Also check sh_size in compare_unalloc_sections.
strip, unstrip: Handle SHT_GROUP correctly.
unstrip: Handle SHT_GROUP sections in ET_REL files.
tests: Don't use static functions in testfile-backtrace-demangle.
libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE
readelf: Read the decompressed data when processing .zdebug DWARF sections.
libdw: Handle DWARF5 line tables in dwarf_getsrclines.
Fix dwfl_report_elf BASE alignment
libdw: Handle FORM_GNU_strp_alt for files with string data only in dwz file.
Recognize and parse GNU Property notes.
libdw: Search for abstract origin in the correct CU
addr2line: Support -i, --inlines output option.
libdw: Use correct CU to resolve file names in dwarf_decl_file.
Add low-level support for .debug_macro.
tests: Test readelf --debug-dump=[decoded]line with min_inst_len > 1.
elflint: Fix sh_entsize check when comparing SHT_HASH and SHT_GNU_HASH.
tests: Add testfile-x32-core.bz2 to run-readelf-mixed-corenote.sh
tests: Add testfile-x32 to run-addrcfi.sh
Adjust for monotone.
Implement ranlib. This required one little extension to libelf.
libdw/ 2005-08-18 Roland McGrath <roland@redhat.com>
2005-08-23 Roland McGrath <roland@redhat.com>
libdw/ 2005-08-27 Roland McGrath <roland@redhat.com>
2006-01-11 Roland McGrath <roland@redhat.com>
Test case for problem in libelf with writing out existing ELF file with different location of the section headers.
libelf/ 2006-04-04 Roland McGrath <roland@redhat.com>
backends/ 2006-08-03 Roland McGrath <roland@redhat.com>
propagate from branch 'com.redhat.elfutils.roland.pending' (head c44dcfac5b545aecb173fede31f34cb003be0173) to branch 'com.redhat.elfutils' (head 4196d4e01486bdeb0c0632291881d1c6d7163fab)
2007-08-09 Roland McGrath <roland@redhat.com>
2007-09-27 Roland McGrath <roland@redhat.com>
merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec' and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
2007-10-23 Roland McGrath <roland@redhat.com>
Add Intel SSE4 support to disassembler.
Finish elflint .gnu.attributes checking
Fix up bogon and missing log entries from .pmachata.threads branch.
Fix derelocate crash for non-ET_REL file with some sh_addr at 0.
Add a test for dwarf_getmacros
Expand testfile52 for 32/64-bit and stripped headers
Expand testfile53 for 32/64-bit
Add data-only prelink tests
run-prelink-addr-test.sh: Add a .dynbss+.bss prelink split
Reject requests for abbreviation with code 0
Handle repeated requests for invalid abbreviation
strip: Handle SHT_GROUP sections better.
Fix bug using dwarf_next_unit to iterate over .debug_types
Add allregs test for ARM back end
Test elfutils output of VMCOREINFO note.
Test elfutils output of a mixed core note.
libdwfl/ * dwfl_module_addrsym.c (dwfl_module_addrsym): New function binding_value. Use it for both zero and non-zero size symbols comparisons.
libdwfl/ dwfl_segment_report_module.c (dwfl_segment_report_module): Initialize mod->MAIN_BIAS.
libdwfl: Introduce dwfl_module_getsym_info and dwfl_module_addrinfo.
backends/ * Makefile.am (s390_SRCS): Add s390_corenote.c and s390x_corenote.c. * linux-core-note.c (ALIGN_PR_REG): New definitions. (struct EBLHOOK(prstatus)): Change field pr_reg to anonymous struct with ALIGN_PR_REG. (EXTRA_ITEMS): New macro. * s390_corenote.c: New file. * s390_init.c (s390x_core_note): New declaration. (s390_init): Install s390x_core_note and s390_core_note. * s390x_corenote.c: New file.
libdwfl/ 2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
libdwfl/ * argp-std.c: Update Copyright year. (offline_find_elf): New function. (offline_callbacks): Use it for find_elf. (struct parse_opt): New. (parse_opt): New key ARGP_KEY_INIT. In other make hook struct parse_opt pointer from former Dwfl pointer. Delay 'e and OPT_COREFILE processing till ARGP_KEY_SUCCESS. Initialize state->input already from ARGP_KEY_SUCCESS. Modify the cleanup in ARGP_KEY_ERROR. Make the final state->input initialization optional. * dwfl_end.c: Update Copyright year. (dwfl_end): Free executable_for_core. * libdwflP.h: Update Copyright year. (struct Dwfl): New field executable_for_core.
Show contents NT_SIGINFO core note in readelf
libdw: Make dwarf_getfuncs find all (defining) DW_TAG_subprogram DIEs.
tests: Add new varlocs test for dwarf_getlocation* functions.
libebl: Fix reading GNU_PROPERTY_STACK_SIZE reading from 32bit notes.
readelf: convert up to a target long in buf_read_ulong.
dwarf_highpc: Handle DW_AT_high_pc being a constant offset from DW_AT_low_pc.
backends: Add aarch64 abi_cfi.
backends: Hook abi_cfi for arm.
libdwfl: Support auxiliary symbol table only for getsym and addrsym.
tests: readelf --elf-section, dwfl_module_addrsym and dwfl_module_getsym.
tests: Fix broken dwflsyms tests, extend test and add prelink tests.
libdwfl: Fix and test aux_sym address_sync with relocated ELF
stack: Add -d, --debugname. Lookup DWARF debuginfo name for frame address.
readelf: Display raw .debug_aranges. Use libdw only for decodedaranges.
readelf: Add .gdb_index version 7 support.
Add readelf test for --debug-dump=loc --debug-dump=ranges, -N and -U.
readelf: Add .debug_macro parsing support.
tests: Add ppc32 and ppc64 addrcfi testcases.
readelf: print_attributes (-A) robustify and handle non-gnu attributes.
libdw: Restructure address range reading for .debug_loc and .debug_ranges.
tests: Add s390 and s390x addrcfi testcases.
sparc: fix the printing of hw capabilities object attributes.
elf32_offscn.c: Do not match SHT_NOBITS sections at OFFSET.
libdw: Add new dwarf_cu_info function.
zstrptr: Pull print_string() into file scope