Skip to content

Commit 8213721

Browse files
move float safe/unsafe queries to kmdf folder and fix output strings
1 parent 1f54dbb commit 8213721

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

src/drivers/test/diff/FloatUnsafeExit.sarif

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,17 @@
11
{
22
"all": {
3-
"+": 1,
4-
"-": 3
3+
"+": 0,
4+
"-": 0
55
},
66
"error": {
77
"+": 0,
88
"-": 0,
99
"codes": []
1010
},
1111
"warning": {
12-
"+": 1,
13-
"-": 3,
14-
"codes": [
15-
[
16-
"cpp/drivers/kmdf/float-unsafe-exit Function annotated with _Kernel_float_saved_ but may not call/check return values of safe float access function for some path(s)",
17-
0,
18-
3
19-
],
20-
[
21-
"cpp/drivers/kmdf/float-unsafe-exit Function annotated with _Kernel_float_saved_ but does not call a safe float access function for some path(s)\nFunction annotated with _Kernel_float_saved_ but does not check a safe float access function return value for some path(s)",
22-
1,
23-
0
24-
],
25-
[
26-
"cpp/drivers/kmdf/float-unsafe-exit Function annotated with _Kernel_float_saved_ but does not call a safe float access function for some path(s)",
27-
1,
28-
0
29-
],
30-
[
31-
"cpp/drivers/kmdf/float-unsafe-exit Function annotated with _Kernel_float_saved_ but does not check a safe float access function return value for some path(s)",
32-
1,
33-
0
34-
]
35-
]
12+
"+": 0,
13+
"-": 0,
14+
"codes": []
3615
},
3716
"note": {
3817
"+": 0,

0 commit comments

Comments
 (0)