public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* Working with ELF already loaded in memory
@ 2021-07-08  5:02 Sonal Santan
  2021-07-08 15:02 ` Mark Wielaard
  0 siblings, 1 reply; 4+ messages in thread
From: Sonal Santan @ 2021-07-08  5:02 UTC (permalink / raw)
  To: elfutils-devel

Hello,

We are exploring using libdw in XRT, https://github.com/Xilinx/XRT. In the use case we have, the ELF (a shared library) is already loaded in memory as data by an XRT application. In XRT we would like to walk through the DWARF/ELF information embedded in this shared library. 

Going through the libdw it appears that all APIs require either a file handle or a file name of the ELF object to create a session. Since we do not have access to the ELF file -- but rather the ELF file contents are already loaded in memory -- is there any other mechanism to create a session for extracting DWARF information using libdw? 

Thanks,
-Sonal 

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

end of thread, other threads:[~2021-07-09 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  5:02 Working with ELF already loaded in memory Sonal Santan
2021-07-08 15:02 ` Mark Wielaard
2021-07-09  5:34   ` Sonal Santan
2021-07-09 11:00     ` 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).