This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [patch 1/3] Extend __libdw_open_file and elf_begin as *_at_offset
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 25 Feb 2014 23:12:04 +0100
- Subject: Re: [patch 1/3] Extend __libdw_open_file and elf_begin as *_at_offset
On Sat, 2014-02-22 at 22:08 +0100, Jan Kratochvil wrote:
> > 2014-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > Extend __libdw_open_file and elf_begin as *_at_offset.
> > * NEWS (libelf): New, with elf_begin_at_offset.
I rather not extend the libelf interface if possible. The various libelf
implementations are already a little diverged. Lets not unnecessarily
make the divergence even bigger. If possible, could you mmap the file at
the offset directly and use elf_memory() instead?
Thanks,
Mark