This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libelf: elf_strptr should use datalist when data has been added to section.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 06 Feb 2015 22:33:42 +0100
- Subject: Re: [PATCH] libelf: elf_strptr should use datalist when data has been added to section.
On Thu, Jan 22, 2015 at 12:20:52AM +0100, Mark Wielaard wrote:
> This oneliner patch relies on the "libelf: Fix elf_newdata when raw ELF
> file/image data is available." fix.
>
> elf_strptr always used the rawdata when available. But when data has been
> added to the section it should find the correct buffer in the datalist.
>
> Adds a large testcase that checks various ways of adding and extracting
> strings from a section.
I pushed this to master.