Re: [valgrind]: mem leaks

Paul Floyd <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>

> On 24 Jan 2021, at 18:29, Kunal Chauhan <[email protected]> wrote:
> 
> Hi paul,
> 
> thanks for info,
> 1.Like  in trailing mail you said process under completion  what do you mean exactly, 
> 2. Also for running a process under valgrind my binary should be strip or unstrip.?
> 
> 3. Memcheck tool where it fits in context of valgrind .


(Replying to the list)

1. A command like ‘pwd’. You run the command, it prints the working directory and then it exits. In this example when the pwd process completes, Valgrind can detect leaks.
2. Unstripped binaries with debug information are the best.
3. Valgrind includes several tools, memcheck being the best known of them, for detecting memory errors. There are also tools for profiling and thread hazard detection.

A+
Paul

_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.