Valgrind: a toolkit of command check over Linux/Unix

Download

wget http://www.valgrind.org/downloads/valgrind-3.8.1.tar.bz2

Memory check: leak check

# File: ~/.bashrc
alias vgmem='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --log-file=output.log $@'


你可能感兴趣的:(Valgrind: a toolkit of command check over Linux/Unix)