File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
codesectools/sasts/tools/Cppcheck Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1010from codesectools .sasts .core .sast .properties import SASTProperties
1111from codesectools .sasts .core .sast .requirements import (
1212 Binary ,
13+ BinaryVersion ,
1314 SASTRequirements ,
1415)
1516from codesectools .sasts .tools .Cppcheck .parser import CppcheckAnalysisResult
@@ -40,7 +41,11 @@ class CppcheckSAST(PrebuiltBuildlessSAST):
4041 properties = SASTProperties (free = True , offline = True )
4142 requirements = SASTRequirements (
4243 full_reqs = [
43- Binary ("cppcheck" , url = "https://cppcheck.sourceforge.io/" ),
44+ Binary (
45+ "cppcheck" ,
46+ url = "https://cppcheck.sourceforge.io/" ,
47+ version = BinaryVersion ("--version" , r"(\d+\.\d+\.\d+)" , "2.16.0" ),
48+ ),
4449 ],
4550 partial_reqs = [],
4651 )
You can’t perform that action at this time.
0 commit comments