Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-24 Thread Martin Rodriguez Reboredo
On 3/24/24 14:08, Mark Wielaard wrote: Hi Martin, On Sun, Mar 24, 2024 at 11:11:21AM -0300, Martin Rodriguez Reboredo wrote: [...] So this patch is kinda pointless, but at least I've managed to learn what I was missing. Anyways, thanks for the heads-up. :) I don't think it was pointless. Clea

Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-24 Thread Mark Wielaard
Hi Martin, On Sun, Mar 24, 2024 at 11:11:21AM -0300, Martin Rodriguez Reboredo wrote: > On 3/20/24 19:52, Mark Wielaard wrote: > >Could you show an example of when/where you need it and what address > >you set it to? > > For example, this test program reports the name and location pointed by > th

Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-24 Thread Martin Rodriguez Reboredo
On 3/20/24 19:52, Mark Wielaard wrote: Hi Martin, On Wed, Mar 06, 2024 at 04:22:49PM -0300, Martin Rodriguez Reboredo wrote: Added new functions dwfl_get_offline_next_address and dwfl_set_offline_next_address which will get plus set said field from the Dwfl struct. This is a requirement for lis

Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-20 Thread Mark Wielaard
Hi Martin, On Wed, Mar 06, 2024 at 04:22:49PM -0300, Martin Rodriguez Reboredo wrote: > Added new functions dwfl_get_offline_next_address and > dwfl_set_offline_next_address which will get plus set said field from > the Dwfl struct. This is a requirement for listing functions from their > addresse

Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-15 Thread Aaron Merey
Hi Martin, On Wed, Mar 6, 2024 at 2:23 PM Martin Rodriguez Reboredo wrote: > > diff --git a/tests/dwfl-offline-address.c b/tests/dwfl-offline-address.c > new file mode 100644 > index ..9a33b95a > --- /dev/null > +++ b/tests/dwfl-offline-address.c > @@ -0,0 +1,43 @@ > +#include > +#includ

[PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-06 Thread Martin Rodriguez Reboredo
Added new functions dwfl_get_offline_next_address and dwfl_set_offline_next_address which will get plus set said field from the Dwfl struct. This is a requirement for listing functions from their addresses when using libdwfl offline, otherwise wrong symbols are going to be returned. Signed-off-by: