Re: [PATCH v2 1/1] libdw: check that DWARF strings are null-terminated

2023-02-16 Thread Mark Wielaard
Hi Aleksei, On Tue, Feb 14, 2023 at 08:30:02PM +, Aleksei Vetrov via Elfutils-devel wrote: > It is expected from libdw to return strings that are null-terminated to > avoid overflowing ELF data. > > * Add calculation of a safe prefix inside string sections, where any > string will be null-

☺ Buildbot (Sourceware): elfutils - build successful (master)

2023-02-16 Thread builder--- via Elfutils-devel
A restored build has been detected on builder elfutils-gentoo-sparc while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/225/builds/29 Build state: build successful Revision: 73e212b0a778c6dbe84f79b7eb2647dea50ea16f Worker: gentoo-sparc Bu

Re: [PATCH] configure: Error when demangler is enabled, but libstdc++ support isn't

2023-02-16 Thread Mark Wielaard
Hi Florian, On Thu, Feb 16, 2023 at 06:02:49PM +0100, Florian Weimer via Elfutils-devel wrote: > * Mark Wielaard: > > Which I find slightly odd, but I don't fully grok autoconf quotes. > > > > Does the following do what you expect? > > Yes, but even though I patched dozens of m4 files lately, I

Re: A scenario where Perf cannot unwind the user stack by dwarf with libdw.so

2023-02-16 Thread Mark Wielaard
Hi, On Mon, Feb 13, 2023 at 01:44:39AM +, liuxu (AJ) via Elfutils-devel wrote: > I am failing to unwind the user stack with libdw on Ubuntu 18.04 > arm64 environment, the toolchain used is clang 12.0.1. form the > unwinding process, I found that the pc value passing to handle_cfi > is 0x760,

Re: [PATCH] configure: Error when demangler is enabled, but libstdc++ support isn't

2023-02-16 Thread Florian Weimer via Elfutils-devel
* Mark Wielaard: > Hi Florian, > > On Thu, 2023-02-16 at 11:48 +0100, Florian Weimer via Elfutils-devel > wrote: >> * Mark Wielaard: >> >> > + [AC_MSG_ERROR([__cxa_demangle not found in libstdc++ use >> > --disable-demangler to disable demangler support.])]), >> >> Missing punctuation afte

Re: [PATCH] PR28873 - Implement eu-readelf -D

2023-02-16 Thread Mark Wielaard
Hi, On Sat, 2023-02-11 at 00:17 +0800, Di Chen via Elfutils-devel wrote: > From bdc19de94bff8f8812611b9ba8c0116a650d0fb5 Mon Sep 17 00:00:00 2001 > From: Di Chen > Date: Fri, 13 Jan 2023 20:12:43 +0800 > Subject: [PATCH] readelf: display dynamic symtab without section headers > > This commit add

Re: Issue 55999 in oss-fuzz: elfutils: Fuzzing build failure

2023-02-16 Thread Evgeny Vereshchagin via Elfutils-devel
Hi Mark, > Why can't you simply use the configure support? I can't interfere with CFLAGS/CXXFLAGS passed by OSS-Fuzz. For example if I used `--enable-sanitize-undefined` I would overwrite all the `-fsanitize=...` and `-fno-sanitize-recover=...` flags used by OSS-Fuzz. I also embed elfutils into t

Re: Issue 55999 in oss-fuzz: elfutils: Fuzzing build failure

2023-02-16 Thread Mark Wielaard
Hi Evgeny, On Wed, 2023-02-15 at 20:07 +0300, Evgeny Vereshchagin via Elfutils- devel wrote: > I fixed the build failure in > https://github.com/google/oss-fuzz/pull/9718. Once it's merged > and reaches ClusterFuzz OSS-Fuzz should close the issue. Thanks. That seems to have worked. > > Note that

Re: [PATCH] configure: Error when demangler is enabled, but libstdc++ support isn't

2023-02-16 Thread Mark Wielaard
Hi Florian, On Thu, 2023-02-16 at 11:48 +0100, Florian Weimer via Elfutils-devel wrote: > * Mark Wielaard: > > > + [AC_MSG_ERROR([__cxa_demangle not found in libstdc++ use > > --disable-demangler to disable demangler support.])]), > > Missing punctuation after libstdc++? You probably mean

elfutils code names

2023-02-16 Thread Mark Wielaard
Hi, On irc (#elfutils on libera.chat) we had a discussion about the elfutils code names. For some reason those are only in the irc channel topic. Which seems to mean not many people know about them. I could recover the following: 0.170 "DWARF4 1/2" 0.171 "DWARF5 split!" 0.172 "DWARF5 bugs split!"

Re: [PATCH] configure: Error when demangler is enabled, but libstdc++ support isn't

2023-02-16 Thread Florian Weimer via Elfutils-devel
* Mark Wielaard: > + [AC_MSG_ERROR([__cxa_demangle not found in libstdc++ use > --disable-demangler to disable demangler support.])]), Missing punctuation after libstdc++? Thanks, Florian