Re: dwarf_aggregate_size doesn't work with arrays in partial CUs

2021-11-10 Thread Mark Wielaard
Hi KJ, On Sun, 2021-10-03 at 16:05 +1100, KJ Tsanaktsidis via Elfutils-devel wrote: > I guess we don't want to hide some really expensive traversal > operation inside a simple call to dwarf_aggregate_size, no... > > What if we instead provide a way for the user to specify what > language > a CU i

Re: dwarf_aggregate_size doesn't work with arrays in partial CUs

2021-10-02 Thread KJ Tsanaktsidis via Elfutils-devel
On Thu, Sep 30, 2021 at 12:27 AM Mark Wielaard wrote: > > Hi KJ, > > On Sat, 2021-09-25 at 17:21 +1000, KJ Tsanaktsidis via Elfutils-devel > wrote: > > I'm writing a program that uses ptrace to poke at internal OpenSSL > > data structures for another process. I'm using libdw to parse the > > DWARF

Re: dwarf_aggregate_size doesn't work with arrays in partial CUs

2021-09-29 Thread Mark Wielaard
Hi KJ, On Sat, 2021-09-25 at 17:21 +1000, KJ Tsanaktsidis via Elfutils-devel wrote: > I'm writing a program that uses ptrace to poke at internal OpenSSL > data structures for another process. I'm using libdw to parse the > DWARF data for the copy of OpenSSL actually linked in to the target > proce