public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [RFC][PATCH v2 0/2] objdump, libiberty: Implement short name search
@ 2024-03-08 18:04 Mikołaj Piróg
  2024-03-08 18:08 ` [RFC][PATCH v2 1/2] libiberty: implement option to drop templates during demangling Mikołaj Piróg
  2024-03-08 18:13 ` [RFC][PATCH v2 2/2] objdump: Implement short name search Mikołaj Piróg
  0 siblings, 2 replies; 4+ messages in thread
From: Mikołaj Piróg @ 2024-03-08 18:04 UTC (permalink / raw)
  To: binutils

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

This patch refines my previous attempt of implementing short name search (
https://sourceware.org/pipermail/binutils/2024-February/132713.html). The
idea is to enable such usage:

objdump --disassemble=ns::foo -C file

The objdump will then output all symbols matching the name "ns::foo".
I introduced new demangling option to remove template qualification, so for
example, "--dissassemble=std::vector::push_back" will match all instances
of push_back in the file.

The motivation behind this usage is to ease a process of a quick
disassembly of a binary in search for a particular function. Providing a
function signature isn't comfortable.

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

end of thread, other threads:[~2024-04-12 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08 18:04 [RFC][PATCH v2 0/2] objdump, libiberty: Implement short name search Mikołaj Piróg
2024-03-08 18:08 ` [RFC][PATCH v2 1/2] libiberty: implement option to drop templates during demangling Mikołaj Piróg
2024-04-12 10:22   ` Nick Clifton
2024-03-08 18:13 ` [RFC][PATCH v2 2/2] objdump: Implement short name search Mikołaj Piróg

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).