[Bug general/22253] New: RFE elfutils add man pages documenting the API

2017-10-04 Thread woodard at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22253 Bug ID: 22253 Summary: RFE elfutils add man pages documenting the API Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Compone

Re: missing #include in libdw.h?

2017-10-04 Thread Mark Wielaard
On Tue, 2017-10-03 at 19:30 +, Bill Williams wrote: > libdw.h uses the DW_CIE_ID_64 define from dwarf.h in a macro > definition, but does not itself include dwarf.h. This makes the > libdw.h header not self-contained if and only if your code uses the > dwarf_cfi_cie_p macro. Is this behavior by

[PATCH 1/2] libelf: Add ELF_E_INVALID_ELF error value.

2017-10-04 Thread Mark Wielaard
Add ELF_E_INVALID_ELF which is set when the ELF file data is bad. This is different from ELF_E_INVALID_FILE which is set when the file could not be read. Signed-off-by: Mark Wielaard --- libelf/ChangeLog | 12 + libelf/elf_begin.c | 61 ++

[PATCH 2/2] libelf: Don't error out when sanity checking e_shoff if scncnt is zero.

2017-10-04 Thread Mark Wielaard
We won't use the e_shoff value in that case because we will set elf->state.elf[64|32].scns.cnt to zero to indicate not to read any section header data from the file. Signed-off-by: Mark Wielaard --- libelf/ChangeLog | 5 + libelf/elf_begin.c | 4 ++-- 2 files changed, 7 insertions(+), 2 de

Re: failed reading "Smallest x86 ELF Hello World"

2017-10-04 Thread Mark Wielaard
On Thu, 2017-09-28 at 12:06 -0700, Josh Stone wrote: > From http://timelessname.com/elfbin/ > > Elfutils completely fails to read the file: > > $ eu-readelf --version > eu-readelf (elfutils) 0.169 > Copyright [...] > $ eu-readelf -a hello > eu-readelf: failed reading 'hello': invalid file descrip

[Bug libdw/22252] New: Parallel parsing of CU's DIEs from libdw

2017-10-04 Thread woodard at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22252 Bug ID: 22252 Summary: Parallel parsing of CU's DIEs from libdw Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: li

[Bug tools/22250] New: readelf should support --dwarf-start and --dwarf-depth

2017-10-04 Thread tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22250 Bug ID: 22250 Summary: readelf should support --dwarf-start and --dwarf-depth Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2