Top "Valgrind" questions

Valgrind is a dynamic analysis tool for Linux, OS X, Android, and Solaris systems.

How do I use valgrind to find memory leaks?

How do I use valgrind to find the memory leaks in a program? Please someone help me and describe the …

c valgrind
Is there a good Valgrind substitute for Windows?

I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux …

c windows debugging memory-leaks valgrind
pinpointing "conditional jump or move depends on uninitialized value(s)" valgrind message

So I've been getting some mysterious uninitialized values message from valgrind and it's been quite the mystery as of where …

c++ valgrind
Proper way to initialize C++ structs

Our code involves a POD (Plain Old Datastructure) struct (it is a basic c++ struct that has other structs and …

c++ struct initialization valgrind calloc
C free(): invalid pointer

I am teaching myself C. My goal is to make a C function that just walks a query string and …

c pointers free valgrind
Still Reachable Leak detected by Valgrind

All the functions mentioned in this block are library functions. How can I rectify this memory leak? It is listed …

c pthreads valgrind
How to use the addr2line command in Linux?

I am trying to use addr2line command in Unix but everytime it is giving the same output as ??:0. I …

c linux valgrind addr2line
How to redirect Valgrind's output to a file?

While working with Valgrind tool, i need to log the details produced by valgrind tool. How can I accomplish that? …

redirect valgrind
Invalid read of size 8 - Valgrind + C

Valgrind reports error Invalid read of size 8 in the following code. I have an array declared like, struct symbol *st[…

c valgrind
Finding memory leaks in a C++ application with Visual Studio

In Linux, I have been using valgrind for checking if there are memory leaks in an application. What is the …

c++ visual-studio visual-studio-2010 memory-leaks valgrind