Re: [Valgrind-users] See the address of leaked memory

2022-01-27 Thread Philippe Waroquiers
You can do that by using the interactive leak search available via valgrind + 
gdb + vgdb.

See e.g. 
https://valgrind.org/docs/manual/mc-manual.html#mc-manual.monitor-commands
in particular the "monitor block_list" command.


Philippe


On Thu, 2022-01-27 at 15:06 -0600, Corey Minyard wrote:
> Is there any way in valgrind where you can see the address of leaked
> memory in the leak report, the address the program would have seen?
> That would make a leak much easier for me to debug.
> 
> Thanks,
> 
> -corey
> 
> 
> ___
> Valgrind-users mailing list
> Valgrind-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/valgrind-users




___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


[Valgrind-users] See the address of leaked memory

2022-01-27 Thread Corey Minyard
Is there any way in valgrind where you can see the address of leaked
memory in the leak report, the address the program would have seen?
That would make a leak much easier for me to debug.

Thanks,

-corey


___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users