This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] dwelf: Add string table functions from ebl.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 03 Aug 2016 18:45:44 +0200
- Subject: Re: [PATCH] dwelf: Add string table functions from ebl.
On Fri, 2016-07-08 at 14:45 +0200, Mark Wielaard wrote:
> Move the strtab functions from libebl to libdw. Programs often want to
> create ELF/DWARF string tables. We don't want (static) linking against
> ebl since those are internal functions that might change.
>
> This introduces dwelf_strtab_init, dwelf_strtab_add,
> dwelf_strtab_add_len, dwelf_strtab_finalize, dwelf_strent_off,
> dwelf_strent_str and dwelf_strtab_free. Documentation for each has
> been added to libdwelf.h. The add fucntion got a variant that takes
> the length explicitly and finalize was changed to return NULL on
> out of memory instead of aborting. All code and tests now uses the
> new functions.
I pushed this to master now.
Cheers,
Mark