#!/bin/bash cppcheck --enable=all --std=c++11 -I include src/ 2> cppcheck_report.txt echo "扫描完成!报告已保存到 cppcheck_report.txt"