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 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


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