valgrind的使用方法

valgrind每次使写在脚本里,下次使用都要去搜索半天命令,现在记在这里。

valgrind --leak-check=full --trace-children=yes --undef-value-errors=no --track-fds=yes --num-callers=50 --log-file=valgrind_log ./testmain -d
原文地址:https://www.cnblogs.com/bugutian/p/12908556.html