[Bug debuginfod/28583] FAIL run-debuginfod-response-headers.sh (exit status: 1) with 0.186

2022-04-25 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28583 Martin Liska changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: RFC patch: generated AUTHORS

2022-04-25 Thread Mark Wielaard
Hi Frank, On Sun, Apr 24, 2022 at 07:42:05PM -0400, Frank Ch. Eigler via Elfutils-devel wrote: > The following patch adds a tool AUTHORS.sh to compute a complete > AUTHORS list to cover the entire git history. We do this in systemtap > and it's a nice way of showing off the large list of contrib

[Bug general/29089] New: riscv64 test failures

2022-04-25 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29089 Bug ID: 29089 Summary: riscv64 test failures Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: general

[Bug general/29089] riscv64 test failures

2022-04-25 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29089 Martin Liska changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug tools/29073] program header entry 2: unknown program header entry type 0x70000003

2022-04-25 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29073 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #2 f

[PATCH 0/4] Add AARCH64 pointer authentication support

2022-04-25 Thread German Gomez via Elfutils-devel
Hi, I've included a set of patches in order to demangle return addresses in aarch64 platforms with pointer authentication. Besides adding the implementation of the negate_ra_state opcode, there is a new function in the libdwfl.h header to feed the PAC masks to the library. Let me know if there a

[PATCH 1/4] aarch64: Create definitions for AARCH64_RA_SIGN_STATE register

2022-04-25 Thread German Gomez via Elfutils-devel
This register will be used to indicate whether a return address is mangled with a PAC or not, in accordance with the DWARF AARCH64 ABI [1]. [1] https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst#41dwarf-register-names Signed-off-by: German Gomez --- backends/aarch64_init.

[PATCH 2/4] libdw, aarch64: Implement DW_CFA_AARCH64_negate_ra_state CFI instruction

2022-04-25 Thread German Gomez via Elfutils-devel
Implement DW_CFA_AARCH64_negate_ra_state in accordance with the DWARF AARCH64 ABI [1]. Followup commits will use the value of this register to remove the PAC from return addresses. [1] https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst#44call-frame-instructions Signed-off-

[PATCH 3/4] libdwfl, aarch64: Demangle return addresses using a PAC mask

2022-04-25 Thread German Gomez via Elfutils-devel
Demangle mangled return addresses on AARCH64. The value of the masks is stored in the struct Dwfl_Thread. Signed-off-by: German Gomez --- libdwfl/dwfl_frame.c | 3 +++ libdwfl/frame_unwind.c | 14 +- libdwfl/libdwflP.h | 7 +++ 3 files changed, 23 insertions(+), 1 deletio

[PATCH 4/4] libdwfl, eu-stack, aarch64: Add API for setting AARCH64 PAC mask.

2022-04-25 Thread German Gomez via Elfutils-devel
Add user API for setting the PAC mask. The function is intended to be called in Dwfl_Thread_Callbacks.set_initial_registers. Testing notes: ... consider the following program.c | int a = 0; | void leaf(void) { | for (;;) | a += a; | } | void parent(void) { | leaf(); | } | int

Re: [PATCH] debuginfod, libdwfl: Initialize libcurl and dlopen debuginfod-client lazily

2022-04-25 Thread Mark Wielaard
On Fri, Apr 22, 2022 at 11:53:43PM +0200, Mark Wielaard wrote: > We used to go out of our way to initialize libcurl early before any other > thread/code was running. But this meant that we might pay startup cost, > which under FIPS is significant, even for code that never uses libdebuginfod > or TL

Re: [PATCH] debuginfod: Use the debuginfod-size response header

2022-04-25 Thread Aaron Merey via Elfutils-devel
On Sun, Apr 24, 2022 at 11:05 AM Mark Wielaard wrote: > Looks good. Pleas commit. Thanks, pushed as: commit 55fee962676fbff60c6b0469305bcb077910d64f Author: Aaron Merey Date: Tue Jan 11 22:07:55 2022 -0500 debuginfod: Use the debuginfod-size response header In some cases the content

[PATCH] debuginfod: ensure X-DEBUGINFOD-SIZE contains file size

2022-04-25 Thread Aaron Merey via Elfutils-devel
Hi Frank, On Fri, Apr 22, 2022 at 7:27 PM Frank Ch. Eigler wrote: > > - add_mhd_response_header (r, "X-DEBUGINFOD-SIZE", > > - to_string(fs.st_size).c_str()); > > > + rc = fstat (fd, &fs); > > + if (rc == 0) > > +add_mhd_res

[COMMITTED] Prepare for 0.187

2022-04-25 Thread Mark Wielaard
Set version to 0.187 Update NEWS and elfutils.spec.in Set copyright year in configure.ac and printversion. Regenerate po/*.po files. Signed-off-by: Mark Wielaard --- ChangeLog |5 + NEWS| 13 +- config/ChangeLog|4 + config/elfutils.spec.in |

elfutils 0.187 released

2022-04-25 Thread Mark Wielaard
ELFUTILS 0.187 - http://elfutils.org/ A new release of elfutils is available at: ftp://sourceware.org/pub/elfutils/0.187/ or https://sourceware.org/elfutils/ftp/0.187/ Visit us on the Libera.Chat irc channel #elfutils * NEWS * debuginfod: Support -C option for connection thread pooling. debugi