public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* dwfl_attach_state alternative taking Ebl?
@ 2017-03-29 14:50 Milian Wolff
  2017-03-29 19:48 ` Mark Wielaard
  0 siblings, 1 reply; 11+ messages in thread
From: Milian Wolff @ 2017-03-29 14:50 UTC (permalink / raw)
  To: elfutils-devel

Hey all,

would you be willing to accept a patch that adds an alternative to 
dwfl_attach_state taking an Ebl pointer instead of the Elf* to guess the 
architecture from?

This would simplify the code for cases where we know the architecture, but 
don't necessarily have a corresponding Elf* at hand (yet). If there'd be a 
version that takes the Ebl pointer directly, one could use e.g. 
ebl_openbackend_emulation or _machine to find the backend handle for the known 
target architecture directly.

If this would be acceptable, I will write a patch up for this. I would need 
suggestions for a fitting name though, in C++ I'd simply use an overload but 
here with plain C... ;-)

Thanks
-- 
Milian Wolff
mail@milianw.de
http://milianw.de

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

end of thread, other threads:[~2017-04-19 19:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 14:50 dwfl_attach_state alternative taking Ebl? Milian Wolff
2017-03-29 19:48 ` Mark Wielaard
2017-03-29 21:57   ` Milian Wolff
2017-03-30 10:57     ` Mark Wielaard
2017-03-30 11:14       ` Milian Wolff
2017-04-05 12:46         ` Mark Wielaard
2017-04-05 12:53           ` Ulf Hermann
2017-04-05 13:04           ` Milian Wolff
2017-04-11 12:10             ` Mark Wielaard
2017-04-11 12:28               ` Ulf Hermann
2017-04-19 19:50                 ` Mark Wielaard

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