This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]