dwarf_line_srcfileno

2017-03-30 Thread SASHA NICOLAS DA ROCHA PINHEIRO
Hey all, what is the equivalent function to dwarf_line_srcfileno in lbdw?? Sasha

[Bug tools/21332] elflint doesn't handle compressed sections

2017-03-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 --- Comment #5 from Mark Wielaard --- I was wondering why I hadn't seen this before. Turns out that fedora binutils is explicitly configure with --enable-compressed-debug-sections=none. -- You are receiving this mail because: You are on the

[Bug tools/21332] elflint doesn't handle compressed sections

2017-03-30 Thread rguenther at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 --- Comment #4 from rguenther at suse dot de --- On Thu, 30 Mar 2017, mark at klomp dot org wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=21332 > > --- Comment #3 from Mark Wielaard --- > (In reply to rguenther from comment #2) >

[Bug tools/21332] elflint doesn't handle compressed sections

2017-03-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 --- Comment #3 from Mark Wielaard --- (In reply to rguenther from comment #2) > On Thu, 30 Mar 2017, mark at klomp dot org wrote: > > The question is how did a compressed ELF section end up in the elfstrmerge.o > > file in the first place? Esp

[Bug tools/21332] elflint doesn't handle compressed sections

2017-03-30 Thread rguenther at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 --- Comment #2 from rguenther at suse dot de --- On Thu, 30 Mar 2017, mark at klomp dot org wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=21332 > > Mark Wielaard changed: > >What|Removed |Added

[Bug tools/21332] elflint doesn't handle compressed sections

2017-03-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

Re: dwfl_attach_state alternative taking Ebl?

2017-03-30 Thread Milian Wolff
On Thursday, March 30, 2017 12:57:33 PM CEST Mark Wielaard wrote: > On Wed, 2017-03-29 at 23:57 +0200, Milian Wolff wrote: > > On Mittwoch, 29. März 2017 21:48:08 CEST Mark Wielaard wrote: > > > Would it help your use case if there was a dwfl_init_state (Dwfl *dwfl, > > > int e_machine, unsigned ch

Re: dwfl_attach_state alternative taking Ebl?

2017-03-30 Thread Mark Wielaard
On Wed, 2017-03-29 at 23:57 +0200, Milian Wolff wrote: > On Mittwoch, 29. März 2017 21:48:08 CEST Mark Wielaard wrote: > > Would it help your use case if there was a dwfl_init_state (Dwfl *dwfl, > > int e_machine, unsigned char ei_class, unsigned char ei_data, ...)? > > What magic values do I pass

[Bug libdw/21330] dwarf_peel_type() loops infinitely for typedef const struct ...

2017-03-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21330 --- Comment #2 from Mark Wielaard --- Posted a patch: https://sourceware.org/ml/elfutils-devel/2017-q1/msg00149.html -- You are receiving this mail because: You are on the CC list for the bug.

[PATCH] libdw: Fix dwarf_peel_type infinite loop.

2017-03-30 Thread Mark Wielaard
We were calling dwarf_attr_integrate () in the die in the loop instead of on the result. Which would cause an infinite loop when die != result. Add a testcase that explicitly checks this case. https://sourceware.org/bugzilla/show_bug.cgi?id=21330 Signed-off-by: Mark Wielaard --- libdw/ChangeLog

[Bug libdw/21330] dwarf_peel_type() loops infinitely for typedef const struct ...

2017-03-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21330 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug tools/21332] New: elflint doesn't handle compressed sections

2017-03-30 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21332 Bug ID: 21332 Summary: elflint doesn't handle compressed sections Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: