elfutils 0.169 released

2017-05-05 Thread Mark Wielaard
ELFUTILS 0.169 - http://elfutils.org/ A new release of elfutils is available at: ftp://sourceware.org/pub/elfutils/0.169/ or https://sourceware.org/elfutils/ftp/0.169/ * NEWS * backends: Add support for EM_PPC64 GNU_ATTRIBUTES. Frame pointer unwinding fallback support for i386, x86_64,

Re: pending patches

2017-05-05 Thread Mark Wielaard
Hi Ulf, On Wed, 2017-05-03 at 13:26 +0200, Ulf Hermann wrote: > My problem right now is that I have about 50 more patches pending > locally and I will be gone from May 12th to sometime in August. So, I > probably won't manage to post and fix all of them here before autumn. > Yet, I still need them

Re: [PATCH] Drop __BEGIN_DECLS and __END_DECLS from elf.h

2017-05-05 Thread Mark Wielaard
On Wed, 2017-05-03 at 18:03 +0200, Ulf Hermann wrote: > We don't use those anywhere else and they are not guaranteed to be > defined. Also, put the 'extern "C"' after the included headers. Note that elf.h is somewhat special. We import it as-is from glibc and like to not have divergence if at all

Re: [RFC] libdw: prepend current directory in read_srclines

2017-05-05 Thread Mark Wielaard
Hi Torsten, On Wed, 2017-05-03 at 22:34 +0200, Torsten Polle wrote: > I compile the simple program relative.c: > > int main() > { > return 0; > } > > with the command "gcc -g ../2017-05-03-elfutils/relative.c -o relative“. > > When I run systemtap with the command > /opt/tooling/adit/systemta

Re: dwfl_module_addrdie fails for binaries built with clang++

2017-05-05 Thread Mark Wielaard
Hi Milian, On Thu, 2017-05-04 at 18:05 +0200, Milian Wolff wrote: > I noticed that elfutils fails to handle clang binaries when we want to find a > DIE for a certain address. I.e. dwfl_module_addrdie returns nullptr, and eu- > addr2line fails to resolve inlined frames. > > To reproduce this: >[

[Bug tools/21247] addr2line doesn't properly resolve filename/lineno

2017-05-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21247 --- Comment #4 from Mark Wielaard --- Looking at the debug_info we do have: [39ca09]subprogram low_pc (addr) +0x002c08b0 <_Z20PlatformCrashHandleriP9siginfo_tPv> high_pc (addr)

Re: windows patches

2017-05-05 Thread Mark Wielaard
Hi Ulf, On Thu, 2017-05-04 at 18:56 +0200, Ulf Hermann wrote: > all patches I consider suitable for upstream right now have been > posted here now. With all of them applied you still don't get useful > elfutils on windows, as for example the date preservation in some of > the tools doesn't work. I

don't run elfutils as root in ABRT

2017-05-05 Thread Adam Šulc
Hello, I work on ABRT improvement in order to increase security related to core backtrace generating using elfutils library. Here is a short description of my problem: Goal is to not call base code in elfutils and gdb functions under root. If you are more interested you can read more there: https

Re: don't run elfutils as root in ABRT

2017-05-05 Thread Frank Ch. Eigler
Hi - On Fri, May 05, 2017 at 06:25:30PM +0200, Adam Šulc wrote: > [...] > Do you have any idea how to pass the open file descriptor into the > function? Or what is the best way how to achieve this? Via file name "/dev/fd/232" ? - FChE