Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-05 Thread David Blaikie via Dwarf-Discuss
On Fri, Mar 5, 2021 at 8:28 PM Archana Deshmukh via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > Hello, > > I need to read the address of local variable, global variable, function > name and function arguments from the process. > > For global variables , I read the address "55b51afea

[Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-05 Thread Archana Deshmukh via Dwarf-Discuss
Hello, I need to read the address of local variable, global variable, function name and function arguments from the process. For global variables , I read the address "55b51afea000" from /proc//maps file. I use DW_OP_addr parameter to retrieve the address. 55b51afea000 + DW_OP_addr gives me the a