Posts

Showing posts from March, 2019

Valgrind

Taken from here: http://cs.ecs.baylor.edu/~donahoo/tools/valgrind/ gcc -o test -g test.c This creates an executable named test. To check for memory leaks during the execution of test, try valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./test