2 "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json",
11 "mimeType": "text/plain",
17 "columnKind": "unicodeCodePoints",
26 "importance": "essential",
45 "importance": "essential",
87 "ruleId": "debug.TaintTest",
97 "importance": "essential",
100 "text": "Calling 'g'"
102 "physicalLocation": {
103 "artifactLocation": {
116 "importance": "essential",
119 "text": "'fp' declared without an initial value"
121 "physicalLocation": {
122 "artifactLocation": {
135 "importance": "essential",
138 "text": "Called function pointer is an uninitialized pointer value"
140 "physicalLocation": {
141 "artifactLocation": {
161 "physicalLocation": {
162 "artifactLocation": {
175 "text": "Called function pointer is an uninitialized pointer value"
177 "ruleId": "core.CallAndMessage",
187 "importance": "important",
190 "text": "Assuming 'i' is equal to 0"
192 "physicalLocation": {
193 "artifactLocation": {
206 "importance": "unimportant",
209 "text": "Taking true branch"
211 "physicalLocation": {
212 "artifactLocation": {
224 "importance": "essential",
227 "text": "Division by zero"
229 "physicalLocation": {
230 "artifactLocation": {
249 "physicalLocation": {
250 "artifactLocation": {
262 "text": "Division by zero"
264 "ruleId": "core.DivideZero",
274 "importance": "essential",
277 "text": "Memory is allocated"
279 "physicalLocation": {
280 "artifactLocation": {
293 "importance": "important",
296 "text": "Assuming 'i' is < 4"
298 "physicalLocation": {
299 "artifactLocation": {
312 "importance": "unimportant",
315 "text": "Taking true branch"
317 "physicalLocation": {
318 "artifactLocation": {
330 "importance": "essential",
333 "text": "Potential leak of memory pointed to by 'mem'"
335 "physicalLocation": {
336 "artifactLocation": {
355 "physicalLocation": {
356 "artifactLocation": {
368 "text": "Potential leak of memory pointed to by 'mem'"
370 "ruleId": "unix.Malloc",
380 "importance": "essential",
383 "text": "'løçål' initialized to 0"
385 "physicalLocation": {
386 "artifactLocation": {
399 "importance": "essential",
402 "text": "Division by zero"
404 "physicalLocation": {
405 "artifactLocation": {
424 "physicalLocation": {
425 "artifactLocation": {
437 "text": "Division by zero"
439 "ruleId": "core.DivideZero",
445 "fullName": "clang static analyzer",
446 "informationUri": "https://clang.llvm.org/docs/UsersManual.html",
451 "defaultConfiguration": {
457 "text": "Mark tainted symbols as such."
459 "id": "debug.TaintTest",
460 "name": "debug.TaintTest"
463 "defaultConfiguration": {
469 "text": "Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers)"
471 "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-callandmessage",
472 "id": "core.CallAndMessage",
473 "name": "core.CallAndMessage"
476 "defaultConfiguration": {
482 "text": "Check for division by zero"
484 "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-dividezero",
485 "id": "core.DivideZero",
486 "name": "core.DivideZero"
489 "defaultConfiguration": {
495 "text": "Check for memory leaks, double free, and use-after-free problems. Traces memory managed by malloc()/free()."
497 "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc",
499 "name": "unix.Malloc"