This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Add -p option to readelf so that sections can be dumped as strings
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Thu, 30 Aug 2007 08:05:17 -0400
- Subject: Re: Add -p option to readelf so that sections can be dumped as strings
- References: <m3d4x5cjyj.fsf@redhat.com>
On Thu, Aug 30, 2007 at 12:58:44PM +0100, Nick Clifton wrote:
> Hi Guys,
>
> I am going to check in the attached patch which adds a -p command
> line option to readelf. This option can be used to dump the
> contents of a named or numbered section section as a sequence of
> strings and it is modelled after the same ability in the readelf tool
> in the elfutils package.
>
> The patch includes an update to the documentation and a test case
> for the new ability. I have tested it with loads of different
> toolchains and found no problems or regressions.
Nothing in the NEWS or documentation entries tells me what the output
looks like; neither does the test since it uses wildcards. What sort
of strings are they? Raw byte dumps?
--
Daniel Jacobowitz
CodeSourcery