Re: Working with ELF already loaded in memory

2021-07-09 Thread Mark Wielaard
Hi Sonal, On Fri, 2021-07-09 at 05:34 +, Sonal Santan wrote: > > Thanks for the pointer. I was looking for APIs inside > /usr/include/elfutils directory and > did not realize elfutils also places header files under /usr/include > directory. I am working > with this API now. Ah, yes, the lib

RE: Working with ELF already loaded in memory

2021-07-08 Thread Sonal Santan via Elfutils-devel
Hello Mark, > -Original Message- > From: Mark Wielaard > Sent: Thursday, July 8, 2021 8:02 AM > To: Sonal Santan ; elfutils-devel@sourceware.org > Subject: Re: Working with ELF already loaded in memory > > Hi Sinal, > > On Thu, 2021-07-08 at 05:02 +, Sona

Re: Working with ELF already loaded in memory

2021-07-08 Thread Mark Wielaard
Hi Sinal, On Thu, 2021-07-08 at 05:02 +, Sonal Santan via Elfutils-devel wrote: > 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 con