-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathMemory2.json
More file actions
26 lines (26 loc) · 877 Bytes
/
Memory2.json
File metadata and controls
26 lines (26 loc) · 877 Bytes
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
{
"MISRA-C++-2023": {
"RULE-8-7-2": {
"properties": {
"enforcement": "undecidable",
"obligation": "required"
},
"queries": [
{
"description": "Pointer difference should be taken from pointers that belong to a same array.",
"kind": "path-problem",
"name": "Subtraction between pointers shall only be applied to ones that address elements of the same array",
"precision": "high",
"severity": "error",
"short_name": "PointerDifferenceTakenBetweenDifferentArrays",
"shared_implementation_short_name": "DoNotSubtractPointersAddressingDifferentArrays",
"tags": [
"scope/system",
"correctness"
]
}
],
"title": "Pointer difference should be taken from pointers that belong to a same array."
}
}
}