unzip cppcheck-2.6.zip cd cppcheck-2.6 make
cppcheck --enable=all [files or paths] 主要关注 error 和 warning