= "windows-latest" ]]; then semgrep --config=p/owasp-top-ten else semgrep --config=p/owasp-top-ten --no-color fi # 针对C/C++的检查 if [[ "${{ matrix.os 使用Flawfinder检测格式字符串漏洞 flawfinder --minlevel=3 source_file.c # 使用Semgrep检测格式字符串漏洞 semgrep --config=p/owasp-top-ten