diff --git a/conf.json b/conf.json index 23463c3..be0649b 100644 --- a/conf.json +++ b/conf.json @@ -1,55 +1,65 @@ { - "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": [ + "stage": { + "stages": [ { - "keywords": ["doubleFree"], - "score": 5 - }, - { - "keywords": ["memleak"], - "score": 7 + "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" + ], + "score": 5 + }, + { + "keywords": [ + "memleak" + ], + "score": 7 + } + ] + } + } } - ] - } - } + ] } - ] -} +} \ No newline at end of file