Hi Sasha,
On Tue, 2020-06-23 at 16:34 +, Sasha Da Rocha Pinheiro wrote:
> Since we are now using not only executables and .so, but ".o" files
> too, I'm trying to decide if I can use the same functions to all of
> them, like the code you pointed out to deal with ".o". Would that
> work for EXE
Wednesday, June 10, 2020 6:33 AM
To: Sasha Da Rocha Pinheiro ;
elfutils-devel@sourceware.org
Subject: Re: location list
Hi Sasha,
On Tue, 2020-06-09 at 16:38 +, Sasha Da Rocha Pinheiro via
Elfutils-devel wrote:
> I am now trying to design the changes needed to be done in Dyninst.
> So f
Hi Sasha,
On Tue, 2020-06-09 at 16:38 +, Sasha Da Rocha Pinheiro via
Elfutils-devel wrote:
> I am now trying to design the changes needed to be done in Dyninst.
> So far we have only used the functions dwarf_* under libdw.
> What I understood is that libdw is kinda divided in subsets of functi
: Sasha Da Rocha Pinheiro ;
elfutils-devel@sourceware.org
Subject: Re: location list
Hi Sasha,
On Sat, 2020-06-06 at 00:30 +, Sasha Da Rocha Pinheiro wrote:
> As you can see the following variables have distinct locations:
> [ 81] variable abbrev: 5
>
(data1) sasha.c (1)
>decl_line(data1) 12
>type (ref4) [cd]
>location (sec_offset) location list
> [ 0]
> [9f]variable abbrev: 5
>
type (ref4) [cd]
location (sec_offset) location list [ 0]
[9f]variable abbrev: 5
name (string) "g"
decl_file(data1) sasha.c (1)
decl_line
in .debug_loc. Where
clearly for this variable, the location list (sec_offset) is at [4a] of
that section.
Maybe I am using the offset or the basep wrongly?
Sasha
From: Mark Wielaard
Sent: Tuesday, June 2, 2020 12:19 PM
To: Sasha Da Rocha Pinheiro ;
elfutils-devel@sourceware.org
Su
Hi,
On Tue, 2020-06-02 at 14:18 +, Sasha Da Rocha Pinheiro wrote:
> I am trying to parse a location list given as an sec_offset.
> How do I get this offset value that points to .debug_loc so I can
> call dwarf_getlocations()?
> Should I pass this offset as the second parameter
Hi all,
I am trying to parse a location list given as an sec_offset.
How do I get this offset value that points to .debug_loc so I can call
dwarf_getlocations()?
Should I pass this offset as the second parameter of this call?
Sasha