You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rule_packages/c/Expressions.json
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@
7
7
"queries": [
8
8
{
9
9
"description": "Calling a function pointer with a type incompatible with the function it points to is undefined.",
10
+
"implementation_scope": {
11
+
"description": "This query raises a result for a function assigned to a function pointer of an incompatible type even if the function pointer is never eventually called."
12
+
},
10
13
"kind": "path-problem",
11
14
"name": "Do not call a function pointer which points to a function of an incompatible type",
12
15
"precision": "high",
@@ -29,6 +32,9 @@
29
32
},
30
33
{
31
34
"description": "A third argument should be passed to the POSIX function open() when and only when creating a new file.",
35
+
"implementation_scope": {
36
+
"description": "The analysis of invalid parameter count passed to POSIX open calls only applies when the value of the flags argument is computed locally."
37
+
},
32
38
"kind": "problem",
33
39
"name": "Pass the correct number of arguments to the POSIX open function.",
34
40
"precision": "high",
@@ -40,10 +46,7 @@
40
46
]
41
47
}
42
48
],
43
-
"title": "Call functions with the correct number and type of arguments",
44
-
"implementation_scope": {
45
-
"description": "The rule raises a result for a function assigned to a function pointer of an incompatible type even if the function pointer is never eventually called. The analysis of invalid parameter count passed to POSIX open calls only applies when the value of the flags argument is computed locally."
46
-
}
49
+
"title": "Call functions with the correct number and type of arguments"
47
50
},
48
51
"EXP46-C": {
49
52
"properties": {
@@ -63,10 +66,7 @@
63
66
]
64
67
}
65
68
],
66
-
"title": "Do not use a bitwise operator with a Boolean-like operand",
67
-
"implementation_scope": {
68
-
"description": "None."
69
-
}
69
+
"title": "Do not use a bitwise operator with a Boolean-like operand"
0 commit comments