This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: New test for elf_flag{data,ehdr,elf,phdr}
- From: Marek Polacek <mpolacek at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 19 May 2011 12:05:13 +0200
- Subject: Re: New test for elf_flag{data,ehdr,elf,phdr}
On 05/19/2011 11:53 AM, Mark Wielaard wrote:
> I created a patch:
> https://bugzilla.redhat.com/show_bug.cgi?id=706040
Thanks for the patch & report.
> With the above patch you can get also src/ coverage. That suggests some
> tests that could be added. For example from inspecting the strip.c
> coverage it is clear that things like the remove comments, ar
> processing, preserve date, Alpha and S390 64-bit SHT_HASH entries and
> extended SHN_XINDEX stuff is never tested. I think higher level tests
> that exercise the tools are most useful. It shouldn't even be too hard.
> Just generate an elf file containing any of the above and just have a
> test run it through the various tools.
Sounds good, will do that! Thanks,
Marek