Re: Using dwarf_getfuncs to get function from object stored in memory

2021-08-23 Thread Jeff Lin via Elfutils-devel
Hi Jeff, On Tue, Aug 17, 2021 at 03:40:08AM +0000, Jeff Lin via Elfutils-devel wrote: > I’ve written code to extract function from a shared object with > dwarf_begin api that finds the dwarf objects with the file > descriptor using dwarf_getfuncs. However, when I

Using dwarf_getfuncs to get function from object stored in memory

2021-08-16 Thread Jeff Lin via Elfutils-devel
Hi, I’ve written code to extract function from a shared object with dwarf_begin api that finds the dwarf objects with the file descriptor using dwarf_getfuncs. However, when I tried to parse the same object that is loaded into memory first, dwarf_getfuncs is not able to get the function. In the