-
Notifications
You must be signed in to change notification settings - Fork 355
/
Copy pathfingerprinting2.input.sarif
76 lines (76 loc) · 3.14 KB
/
fingerprinting2.input.sarif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"runs": [
{
"artifacts": [
{
"location": {
"index": 0,
"uri": "src/ex_cmds.h",
"uriBaseId": "%SRCROOT%"
}
}
],
"columnKind": "utf16CodeUnits",
"properties": {
"semmle.formatSpecifier": "sarif-latest"
},
"results": [
{
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"index": 0,
"uri": "no_header_guard.h",
"uriBaseId": "%SRCROOT%"
}
}
}
],
"message": {
"text": "This header file should contain a header guard to prevent multiple inclusion."
},
"partialFingerprints": {
},
"ruleId": "cpp/missing-header-guard",
"ruleIndex": 0
}
],
"tool": {
"driver": {
"name": "CodeQL command-line toolchain",
"organization": "GitHub",
"rules": [
{
"defaultConfiguration": {},
"fullDescription": {
"text": "Header files should contain header guards (#defines to prevent the file from being included twice). This prevents errors and inefficiencies caused by repeated inclusion."
},
"id": "cpp/missing-header-guard",
"name": "cpp/missing-header-guard",
"properties": {
"description": "Header files should contain header guards (#defines to prevent\n the file from being included twice). This prevents errors and\n inefficiencies caused by repeated inclusion.",
"id": "cpp/missing-header-guard",
"kind": "problem",
"name": "Missing header guard",
"precision": "high",
"problem.severity": "warning",
"tags": [
"efficiency",
"maintainability",
"modularity",
"external/jsf"
]
},
"shortDescription": {
"text": "Missing header guard"
}
}
],
"semanticVersion": "2.0.0+202002031536"
}
}
}
],
"version": "2.1.0"
}