main
debuginfod: populate _r_seekable on scan
debuginfod: PR28204 - RPM IMA per-file signature verification
PR32218: debuginfod-client: support very long source file names
readelf: Cap stack allocation for bit-array core notes
tests: Optionally dump all units in dwarf-getmacros
tests: Generate core-ioperm-huge little endian core file on big endian
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.
tests: Add a bit less and slightly smaller sections for addsections
libdw: dwarf_aggregate_size return CU address_size for sizeless pointer/refs.
tests: Avoid leaking file descriptors
libdw: Resolve alt file on first use.
elf_getarhdr.c: Return correct header for archive within an archive
tests: Add ar header only test to ar-getarsym-mem
elf_getarhdr: Replace per-archive Elf_Arhdr storage with per-member storage
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.
testsuite backtrace-child.c: Fix thread/spawn/coredump race condition.
tests: Add break to avoid implicit-fallthrough warning
tests: Don't printf a known NULL symname in backtrace-dwarf.c.
tests/backtrace-subr.sh: Avoid valgrind track-fds in check_native_core
backends: Add aarch64 native and core unwind support.
drop executable bits from **/*.bz2
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
libdw: Parse DWARF package file index sections
dwarf_ranges: do not request base address attributes if not necessary
PR29472: debuginfod: add metadata query webapi, C api, client
debuginfod 2/2: server side
libdw: Handle split DWARF in dwarf_decl_file
Fix resolving ELF symbols for live PIDs with deleted files
tests: fix spelling typos in error diagnostics and comments
tests: Fix some memory leaks in testcases.
libdw: Update DW_LANG codes
libdw: Add dwarf_language and dwarf_language_lower_bound functions.
Come up with startswith function.
tests: Add dlopen override to dwfl-proc-attach for old glibc/valgrind.
libdwfl: Make dwfl_report_offline_memory work with ELF_C_READ_MMAP
libdwfl: remove broken coalescing logic in dwfl_report_segment
Consistently define _(Str) using dgettext ("elfutils", Str)
tests: Make elf-from-memory testcase work on big endian setups
libelf: Rewrite elf_scnshndx, extended index table handling
Remove redundant casts of memory allocating functions returning void *
libelf: Treat elf_memory image as writable
libelf: Mark shdr_flags dirty if offset or size changes during update.
Write to /dev/null rather than /dev/zero
tests: fix build against upcoming `gcc-14` (`-Werror=calloc-transposed-args`)
Switch from numerical to defined constants for permissions.
Add tests/run-eu-search-cfi.sh
Add tests/run-eu-search-die.sh
Add tests/run-eu-search-lines.sh
Add tests/run-eu-search-macros.sh
backends: Handle DW_TAG_unspecified_type in dwarf_peeled_die_type
backends: Support returning lvalue and rvalue references
Support AArch64 architecture
tests: Fix specifying constant of double type
libdw: dwarf_getsrcfiles should not imply dwarf_getsrclines
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
Add support for Hexagon
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
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.
elf_newdata: Make sure to set d_type to ELF_T_BYTE and d_align to one
libelf: elf_compress doesn't handle multiple elf_newdata chunks correctly
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.
aarch64: Create definitions for AARCH64_RA_SIGN_STATE register
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: Apply DWARF package file section offsets where appropriate
readelf: Don't consider padding DT_NULL as dynamic section entry
Handle DW_AT_decl_file 0
tests: Use separate files for strip outputs
ar: Correct -N COUNT off-by-one
tests/run-ar.sh: disable PIC/PIE/PLT for ar-extract-ar binaries
Enable automake parallel-tests for make check.
Check for prefixed ar, readelf, and nm
tests: Enable valgrind for stack trace testcases
libdwelf: Add dwelf_elf_gnu_build_id.
elfcompress: Handle existing output files (symlinks)
tests: Disable valgrind for run-large-elf-file and run-compress-test
readelf: Add 'Key to Flags' to eu-readelf --section-headers output
tests: Really split run-copymany-sections.sh into separate tests
libdwelf: Add dwelf_dwarf_gnu_debugaltlink
PR30377: fix debuginfod -r -X combination
debuginfod: fix skipping <built-in> source file
Use grep -E instead of egrep, use grep -F instead of fgrep.
tests: Don't set DEBUGINFOD_TIMEOUT
debuginfod-find: Restore DEBUGINFOD_PROGRESS behaviour
config/profile.fish.in: Prevent bracketed variables and unmatched wildcard errors
PR34309: debuginfod: support relative source paths for reproducible builds
tests: Make sure all debuginfod tests use a clean database and cache.
tests/run-debuginfod-fd-prefetch-caches.sh: disable fdcache limit check
PR29022: 000-permissions files cause problems for backups
debuginfod: in --cors mode, add CORS response headers and OPTIONS method
tests: Limit the number of concurrent requests in debuginfod-federation
tests: Set DEBUGINFOD_CACHE_PATH for run-debuginfod-{file,query-retry}.sh
debuginfod: add metadata query by buildid
PR33635: Introduce debuginfod --home-redirect and --home-html
debuginfod: Fracture tests/run-debuginfod-find.sh into specific tests
tests: Add initial scan wait_ready in run-debuginfod-percent-escape.sh
Fix static build when zstd is enabled for libelf
tests: Make sure to wait for initial scan and groom cycle
tests: Restructure run-debuginfod-response-headers.sh
debuginfod: populate _r_seekable on request
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.
libdw: Fix out-of-bounds write parsing .debug_macro opcode table
libdw: Handle .debug_rnglists in dwarf_ranges.
libdw: Allow .debug_frame only Dwarf.
libdwelf: Add dwelf_scn_gnu_compressed_size.
libdwfl: Correctly handle corefile non-contiguous segments
libdwfl: test dwflsyms on ET_EXEC with minisymtab
tests: Add various files to tempfiles so they are always cleaned up.
tests: Skip tests on non-ELF bitcode object files
elfclassify: Add --has-debug-sections classification option
libelf: Add elf32_getchdr, elf64_getchdr and gelf_getchdr.
libelf: Treat elf_memory as if using ELF_C_READ_MMAP
elflint: Support checking ELF files with compressed sections.
elflint: Recognize debug dwo 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.
riscv: Partial implementation of flatten_aggregate
libdw: Fix crashing on illegal/zero Dwarf_Die.
tests: Add testcase for elf_getphdrnum with more than 65535 entries.
tests/run-getsrc-die.sh: Skip tests if objcopy fails
tests: run-lfs-symbols.sh needs gawk
libdw: handle DW_FORM_indirect when reading attributes
tests: Run run-low_high_pc.sh testcase on split dwarf files.
tests: Don't redirect output to /dev/null in run-native-test.sh
libdw: Recognize zero terminator to end frame table in dwarf_next_cfi.
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: print .debug_cu_index and .debug_tu_index sections
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
readelf: Fix printing of .gdb_index symbol table offset.
libdw: Fix memory corruption in libdw_find_split_unit.
readelf: Add support for printing DW_AT_language_name DW_LNAMEs
readelf: Print split DWARF CU version, unit type and id
readelf: Fix printing of DW_FORM_strx and DW_MACRO parsing
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
tests: Use -N for run-readelf-self.sh.
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.
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
srcfiles: Fix compile with --disable-libdebuginfod
libelf: Fix unaligned d_off offsets for input sections with large alignments
libelf: elf_getdata should not adjust alignment for SHT_NOBITS sections.
tests: Split up run-strip-reloc.sh test in three subtests
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.
tests: improve reliability of run-sysroot.sh
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.
tests: Split self_test_files into an exe, lib and obj list.
libdwfl: Don't report and abort on non-file mappings in maps.
unstrip: Call adjust_relocs no more than once per section.
unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.
tests: unstrip: Add test for mismatched .strtab sections
configure: Add --enable-sanitize-memory
libdw: set address size, offset size and version on fake CUs
libelf: If xlate can only convert the ELF note header, just do that.
Add helper function for basename
Remove usage of "unlocked" variant of stdio print functions
readelf: Deal with combined normal and split dwarf DebugFission .debug_loc.
libelf, readelf, elflint: Add RELR support
libelf: Add ELF compression types and defines to libelf.h for older glibc.
tests: Add test for duplicate entries in archive
Use DT_DEBUG library search first.
libelf: elf_update should make sure section zero exists
libdw: Handle dwz multi files correctly in dwarf_getfuncs.
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
libdw: Handle overflowed DW_SECT_INFO offsets in DWARF package file indexes
libdw: Handle FORM_GNU_strp_alt for files with string data only in dwz file.
Recognize and parse GNU Property notes.
Change calling convention of dwarf_getmacros to allow opcode 0xff
libdw: Handle GNU DebugFission split ranges.
Handle SHF_GNU_RETAIN in eu-readelf and eu-elflint.
tests: add test for eu-stack --sysroot
tests: Add testfile-x32-core.bz2 to run-readelf-mixed-corenote.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.
Reject requests for abbreviation with code 0
Handle repeated requests for invalid abbreviation
strip: Handle SHT_GROUP sections better.
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
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.
libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.
stack: Add -d, --debugname. Lookup DWARF debuginfo name for frame address.
readelf: print_attributes (-A) robustify and handle non-gnu attributes.
sparc: fix the printing of hw capabilities object attributes.
tests/thread-safety-subr.sh: Change if [[ ]] to if [ ]
libdw: Add new dwarf_cu_info function.
zstrptr: Pull print_string() into file scope