ELFUTILS 0.192 "New rules, faster tools" - https://elfutils.org/ A new release of elfutils is available at: ftp://sourceware.org/pub/elfutils/0.192/ or https://sourceware.org/elfutils/ftp/0.192/ Visit us on the Libera.Chat irc channel #elfutils * NEWS * CONDUCT: A new code of conduct has been adopted. See the CONDUCT file for more information. debuginfod: Add per-file signature verification for integrity checking, using RPM IMA scheme from Fedora/RHEL. New API for metadata queries: file name -> buildid. Server-side extraction of files from kernel debuginfo packages is significantly faster. Now takes < 0.25 seconds, down from ~50 seconds. libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source and dwfl_unwound_source_str. stacktrace: Experimental new tool that can process a stream of stack samples from the Sysprof profiler and unwind them into call chains. Enable on x86 with --enable-stacktrace. See README.eu-stacktrace in the development branch for detailed usage instructions: https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace * GIT SHORTLOG * Aaron Merey (29): libdw: dwarf_getsrcfiles should not imply dwarf_getsrclines tests/.gitignore: Use correct spelling for get-files-define-file config/profile.fish.in: Prevent bracketed variables and unmatched wildcard errors Fix 'make coverage' when used with lcov version 2.0+ Makefile.am: Avoid code duplication debuginfod: PR28204 config/profile.fish.in config/Makefile.am: Modify profile.fish in all-local Update code of conduct Add man pages for some libelf functions elfutils.spec.in: Package elf32_* and elf64_* man pages tests/Makefile.am: Add run-sysroot.sh to EXTRA_DIST tests/run-sysroot.sh: Avoid testing output that depends on LZMA support tests/run-sysroot.sh: Delete file with tempfiles tests/run-sysroot.sh: Call exit_cleanup directly strip.c: Apply --permissive when writing the debug file Add man pages for some libelf functions configure.ac: Restore HAVE_LIBARCHIVE doc: Add elf32_checksum.3 and elf64_checksum.3 doc: Add elf32_fsize.3 and elf64_fsize.3 doc: Add elf32_getchdr.3 and elf64_getchdr.3 doc: Add elf32_getphdr.3 and elf64_getphdr.3 doc: Add elf32_getshdr.3 and elf64_getshdr.3 doc: Add elf32_newehdr.3 and elf64_newehdr.3 doc: Add elf32_newphdr.3 and elf64_newphdr.3 doc: Add elf{32,64}_xlatetof.3 and elf{32,64}_xlatetom.3 doc/Makefile.am: Add man pages doc: Add libelf man page Prepare for 0.192 config/elfutils.spec.in: Add missing wildcard Aleksei Vetrov (1): libdwfl: Make dwfl_report_offline_memory work with ELF_C_READ_MMAP Alfred Wingate (1): Avoid overriding libcxx system header Andreas Schwab (1): backends/riscv: Remove unused relocations Di Chen (1): PR31103: git authorship correction Frank Ch. Eigler (11): PR31103: debuginfod: periodically call malloc_trim(0) PR31637: debuginfod-find -v SIGSEGV Support nullglob in profile.sh.in PR29472: debuginfod: add metadata query webapi, C api, client debuginfod-client tweak for alma buildbot rework debuginfod configury PR31866: reenable --enable-libdebuginfod=dummy debuginfod: service metadata queries in separate, timed-out connections debuginfod: Make sure extra libs are also included in static link in src/ too tests/test-subr.sh: Put test_dir under /var/tmp. PR32218: debuginfod-client: support very long source file names Frederik “Freso” S. Olesen (1): config: Add profile script for fish shell German Gomez (3): aarch64: Create definitions for AARCH64_RA_SIGN_STATE register libdw, aarch64: Implement DW_CFA_AARCH64_negate_ra_state CFI instruction libdwfl, aarch64: Demangle return addresses using a PAC mask Heather McIntyre (7): libelf: Fix deadlock in __libelf_readall libelf: Fix deadlock in elf_cntl lib: Add eu_tsearch, eu_tfind, eu_tdelete and eu_tdestroy libdw: make dwarf_getalt and dwarf_setalt thread-safe libdwP.h: Add locking to __libdw_dieabbrev libdw: Make libdw_find_split_unit thread-safe libdw: Make libdw_findcu thread-safe Jose Quaresma (1): srcfiles: fix unused variable BUFFER_SIZE Khem Raj (2): debuginfod: Remove unused variable tests: Fix specifying constant of double type Kuan-Ying Lee (3): aarch64: Add NT_ARM_TAGGED_ADDR_CTRL regset aarch64: add some new core note types name aarch64: Add NT_ARM_PAC_* regset Luca Boccassi (1): readelf: add pretty printing for FDO Dlopen Metadata note Luke Diamand (2): libdwfl: specify optional sysroot to search for shared libraries and binaries eu-stack: add support for sysroot option Maks Mishin (2): readelf: Fix memory leak in print_hash_info() elflint: Fix memory leak in check_gnu_hash function Mark Wielaard (24): libdw: Don't use INTUSE in libdwP.h str_offsets_base_off riscv: Partial implementation of flatten_aggregate config: Add debuginfod.fish to elfutils.spec as config file. config: Make sure profile.sh succeeds with set -e and set -o pipefail tests: Use bash for run-debuginfod-client-profile.sh tests, config: Add more .gitignore files ar: Replace one alloca use by xmalloc readelf: Fix printing of DW_FORM_strx and DW_MACRO parsing libelf: Sync elf.h from glibc doc: Always distribute all man pages libdwfl: Make sure mapped is always set in unzip libelf: elf32_getshdr might leak section header when out of memory debuginfod-client: Don't leak id/version with duplicate os-release entries ar, ranlib: Don't double close file descriptors libelf: Sync elf.h from glibc debuginfod: Make sure crypto and jsonc are also included in static link tests: When BUILD_STATIC always link against libeu readelf: Fix printing of .gdb_index symbol table offset. srcfiles: Fix compile with --disable-libdebuginfod readelf: Allow .gdb_index const table to be empty elf*_xlatetof: do not check ELF_T_NHDR[8] has integer number of records libelf: Don't crash elf[32|64]_xlateto[fm] on bad arguments. libelf: elf_compress doesn't handle multiple elf_newdata chunks correctly libelf: Treat elf_memory image as writable Matheus Tavares Bernardino (2): Add support for Hexagon Hexagon: implement machine flag check Michael Pratt (4): lib: Add missing config.h include to next_prime.c libcpu: Include config.h before standard headers in lexer source libdw: Let clean targets be unconditional Remove usage of "unlocked" variant of stdio print functions Michal Sekletar (1): tests: add test for eu-stack --sysroot Norbert Lange (1): PR31620: debuginfod-client.c: Test for https support in libcurl Omar Sandoval (7): debuginfod: fix skipping source file tests/run-debuginfod-fd-prefetch-caches.sh: disable fdcache limit check debuginfod: factor out common code for responding from an archive debugifod: add new table and views for seekable archives debuginfod: optimize extraction from seekable xz archives debuginfod: populate _r_seekable on scan debuginfod: populate _r_seekable on request Ryan Goldberg (1): debuginfod: PR28204 - RPM IMA per-file signature verification Sergei Trofimovich (1): backends: allocate enough stace for null terminator Serhei Makarov (5): eu-stacktrace [1/5]: src: add eu-stacktrace tool eu-stacktrace [2/5]: configure.ac: initial version (x86/sysprof only) eu-stacktrace [3/5]: libdwfl: add unwind origin diagnostics eu-stacktrace [4/5]: src: add unwind origin diagnostics to eu-stack eu-stacktrace [5/5]: NEWS: add entry for new tool Steve Capper (2): libdwfl, aarch64: extend dwfl_thread_state_registers to handle PAC libdwfl, aarch64: Read PAC mask from core Ying Huang (3): Support Mips architecture stack: Fix stack unwind failure on mips backends: Add register_info, return_value_location, core_note on mips