How to run Valgrind on my program in C? -


how use valgrind utility simple c program in linux?

suppose executable a.out. how check leaks in program valgrind.

i want know how use valgrind.

it simple as:

$ valgrind ./a.out 

if a.out in current working directory.

in case have got valgrind installed can learn usage running:

$ valgrind --help.  

unfortunately, there no entry manual entry valgrind when running man valgrind.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -