chore: new conf version

This commit is contained in:
张泊明518370910136 2025-01-27 22:38:29 -05:00
parent 58b5f6e803
commit 209ce9f57e
GPG Key ID: CA088E6D9284F870

124
conf.json
View File

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