chore: new conf version

This commit is contained in:
张泊明518370910136 2025-01-27 21:57:45 -05:00
parent 05bc4648c4
commit 58b5f6e803
GPG Key ID: CA088E6D9284F870

110
conf.json
View File

@ -1,55 +1,65 @@
{ {
"stages": [ "stage": {
{ "stages": [
"name": "cppcheck",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"cppcheck",
"--template={\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}",
"--force",
"--enable=all",
"--quiet",
"."
],
"env": ["PATH=/usr/bin:/bin:/usr/local/bin"],
"cpuLimit": 10000000000,
"memoryLimit": 419430400,
"procLimit": 50,
"copyInDir": ".",
"copyOut": ["stdout"],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 65536
},
"stderr": {
"name": "stderr",
"max": 65536
}
}
}
},
"parser": {
"name": "cppcheck",
"with": {
"score": 100,
"matches": [
{ {
"keywords": ["doubleFree"], "name": "cppcheck",
"score": 5 "executor": {
}, "name": "sandbox",
{ "with": {
"keywords": ["memleak"], "default": {
"score": 7 "args": [
"cppcheck",
"--template={\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"}",
"--force",
"--enable=all",
"--quiet",
"."
],
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 419430400,
"procLimit": 50,
"copyInDir": ".",
"copyOut": [
"stdout"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 65536
},
"stderr": {
"name": "stderr",
"max": 65536
}
}
}
},
"parser": {
"name": "cppcheck",
"with": {
"score": 100,
"matches": [
{
"keywords": [
"doubleFree"
],
"score": 5
},
{
"keywords": [
"memleak"
],
"score": 7
}
]
}
}
} }
] ]
}
}
} }
]
} }