| { |
| "$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json", |
| "runs": [ |
| { |
| "artifacts": [ |
| { |
| "length": 434, |
| "location": { |
| }, |
| "mimeType": "text/plain", |
| "roles": [ |
| "resultFile" |
| ] |
| } |
| ], |
| "columnKind": "unicodeCodePoints", |
| "results": [ |
| { |
| "codeFlows": [ |
| { |
| "threadFlows": [ |
| { |
| "locations": [ |
| { |
| "importance": "essential", |
| "location": { |
| "message": { |
| "text": "Calling 'f'" |
| }, |
| "physicalLocation": { |
| "artifactLocation": { |
| "index": 0, |
| }, |
| "region": { |
| "endColumn": 6, |
| "endLine": 13, |
| "startColumn": 3, |
| "startLine": 13 |
| } |
| } |
| } |
| }, |
| { |
| "importance": "essential", |
| "location": { |
| "message": { |
| "text": "tainted" |
| }, |
| "physicalLocation": { |
| "artifactLocation": { |
| "index": 0, |
| }, |
| "region": { |
| "endColumn": 18, |
| "endLine": 9, |
| "startColumn": 11, |
| "startLine": 9 |
| } |
| } |
| } |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "locations": [ |
| { |
| "physicalLocation": { |
| "artifactLocation": { |
| "index": 0, |
| }, |
| "region": { |
| "endColumn": 18, |
| "endLine": 9, |
| "startColumn": 11, |
| "startLine": 9 |
| } |
| } |
| } |
| ], |
| "message": { |
| "text": "tainted" |
| }, |
| "ruleId": "debug.TaintTest", |
| "ruleIndex": 0 |
| } |
| ], |
| "tool": { |
| "driver": { |
| "fullName": "clang static analyzer", |
| "language": "en-US", |
| "name": "clang", |
| "rules": [ |
| { |
| "fullDescription": { |
| "text": "Mark tainted symbols as such." |
| }, |
| "id": "debug.TaintTest", |
| "name": "debug.TaintTest" |
| } |
| ], |
| } |
| } |
| } |
| ], |
| } |