linux内存泄漏检测valgrind和asan

索引链接:https://blog.csdn.net/knowledgebao/article/details/84973055


内存泄漏检测工具valgrind
valgrind --tool=memcheck --leak-check=full ./test
valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --track-origins=yes -v ./DemolibCodec rtsp://10.1.32.21/2 9
 

asan占坑

 

 

 

 

 

 

 

 

 

参考资料:

  1. https://blog.csdn.net/hanlizhong85/article/details/78076668

有任何问题,请联系:[email protected]

你可能感兴趣的:(工具类)