public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* readelf --string-dump analog for objdump
@ 2024-01-22 10:43 Maxim Dementyev
  2024-01-22 10:58 ` Jan Beulich
  2024-01-22 17:42 ` Nick Clifton
  0 siblings, 2 replies; 8+ messages in thread
From: Maxim Dementyev @ 2024-01-22 10:43 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

Hi,

The readelf utility has a very useful option - "--string-dump=<number or
name>" which displays the contents of the indicated section as is (as
printable strings).
As far as I can understand, to do the same with the objdump you need to do
"objdump --section=<number or name> --full-contents ...".
But the output is in the "hexdump" format, the contents is splitted by 0x10
size blocks (so, not possible to grep on this contents).

Is there any plans to implement a printable strings format for this case
for the objdump utility?
Or is there a solution without parsing the hexdump format and restoring
these printable strings?

Thank you in advance!

Best regards,
Max

-- 


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-01-23  7:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 10:43 readelf --string-dump analog for objdump Maxim Dementyev
2024-01-22 10:58 ` Jan Beulich
2024-01-22 12:11   ` Maxim Dementyev
2024-01-22 12:19     ` Jan Beulich
2024-01-22 17:19       ` Maxim Dementyev
2024-01-23  7:41         ` Jan Beulich
2024-01-22 17:42 ` Nick Clifton
2024-01-22 18:03   ` Maxim Dementyev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).