C檢查內存泄漏以及Segment fault

Valgrind檢查內存泄漏,例如test是可執行程序 [[email protected] cmake-build-debug]# valgrind --leak-check=full --show-reachable=yes ./test   gdb檢查Segment fault 1、 [[email protected] ~]# ulimit -c unlimited 2、 [[emai
相關文章
相關標籤/搜索