This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Don't report and abort on non-file mappings in maps.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 22 Oct 2013 13:04:58 +0200
- Subject: Re: [PATCH] libdwfl: Don't report and abort on non-file mappings in maps.
On Wed, 2013-10-16 at 12:31 +0200, Mark Wielaard wrote:
> proc_maps_report, used for -p or -M, could report modules with names
> that were not absolute file names (and not the special vdso marker).
> dwfl_linux_proc_find_elf would abort on such names. This isn't a very
> nice thing to do in a library. Make sure only real (absolute) file
> mappings are reported and don't abort when unexpected file names are
> found, just report failure.
> Test case with some examples as found in Linux /proc/PID/maps added.
After some more testing I have pushed this to master now.