This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libelf: Make sure conversion functions work on aligned data for type.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 09 Jun 2015 22:50:02 +0200
- Subject: Re: [PATCH] libelf: Make sure conversion functions work on aligned data for type.
On Wed, Jun 03, 2015 at 06:54:36PM +0200, Mark Wielaard wrote:
> The gelf_xlate conversion functions work on properly aligned ELF data
> types. If elf_get data needs to do conversion and ! ALLOW_UNALIGNED
> and the rawdata_base isn't aligned properly for the section type, then
> provide an aligned copy of the data.
>
> Found with --enable-sanitize-undefined in run-test-archive64.sh on x86_64.
Pushed to master.