Skip to content

Commit b6eff54

Browse files
committed
Update unit test results
1 parent 71e30fb commit b6eff54

1 file changed

Lines changed: 31 additions & 31 deletions

File tree

cpp/misra/test/rules/RULE-8-7-1/PointerArithmeticFormsAnInvalidPointer.expected

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -189,29 +189,29 @@ edges
189189
| test.cpp:529:7:529:38 | single_dimensional_array_realloc | test.cpp:92:57:92:61 | array | provenance | |
190190
| test.cpp:530:43:530:74 | single_dimensional_array_realloc | test.cpp:106:51:106:55 | array | provenance | |
191191
| test.cpp:533:7:533:35 | *definition of stack_multi_dimensional_array | test.cpp:533:47:533:47 | 1 | provenance | |
192-
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:539:50:539:78 | stack_multi_dimensional_array | provenance | |
193-
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:541:7:541:35 | stack_multi_dimensional_array | provenance | |
194-
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:543:7:543:35 | stack_multi_dimensional_array | provenance | |
192+
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:538:50:538:78 | stack_multi_dimensional_array | provenance | |
193+
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:540:7:540:35 | stack_multi_dimensional_array | provenance | |
194+
| test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:542:7:542:35 | stack_multi_dimensional_array | provenance | |
195195
| test.cpp:533:47:533:47 | 1 | test.cpp:533:50:533:50 | 2 | provenance | |
196196
| test.cpp:533:50:533:50 | 2 | test.cpp:533:53:533:53 | {...} | provenance | |
197197
| test.cpp:533:53:533:53 | {...} | test.cpp:533:58:533:58 | 4 | provenance | |
198198
| test.cpp:533:58:533:58 | 4 | test.cpp:533:61:533:61 | 5 | provenance | |
199199
| test.cpp:533:61:533:61 | 5 | test.cpp:533:64:533:64 | {...} | provenance | |
200-
| test.cpp:533:64:533:64 | {...} | test.cpp:539:50:539:78 | *stack_multi_dimensional_array | provenance | |
201-
| test.cpp:533:64:533:64 | {...} | test.cpp:541:7:541:35 | *stack_multi_dimensional_array | provenance | |
202-
| test.cpp:533:64:533:64 | {...} | test.cpp:543:7:543:35 | *stack_multi_dimensional_array | provenance | |
203-
| test.cpp:539:50:539:78 | *stack_multi_dimensional_array | test.cpp:122:57:122:61 | *array | provenance | |
204-
| test.cpp:539:50:539:78 | *stack_multi_dimensional_array | test.cpp:539:50:539:78 | stack_allocated_multi_dimensional_array_access output argument | provenance | |
205-
| test.cpp:539:50:539:78 | stack_allocated_multi_dimensional_array_access output argument | test.cpp:541:7:541:35 | *stack_multi_dimensional_array | provenance | |
206-
| test.cpp:539:50:539:78 | stack_allocated_multi_dimensional_array_access output argument | test.cpp:543:7:543:35 | *stack_multi_dimensional_array | provenance | |
207-
| test.cpp:539:50:539:78 | stack_multi_dimensional_array | test.cpp:122:57:122:61 | array | provenance | |
208-
| test.cpp:541:7:541:35 | *stack_multi_dimensional_array | test.cpp:161:63:161:67 | *array | provenance | |
209-
| test.cpp:541:7:541:35 | *stack_multi_dimensional_array | test.cpp:541:7:541:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | provenance | |
210-
| test.cpp:541:7:541:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | test.cpp:543:7:543:35 | *stack_multi_dimensional_array | provenance | |
211-
| test.cpp:541:7:541:35 | stack_multi_dimensional_array | test.cpp:161:63:161:67 | array | provenance | |
212-
| test.cpp:543:7:543:35 | *stack_multi_dimensional_array | test.cpp:156:58:156:62 | *array | provenance | |
213-
| test.cpp:543:7:543:35 | stack_multi_dimensional_array | test.cpp:156:58:156:62 | array | provenance | |
214-
| test.cpp:546:24:546:38 | & ... | test.cpp:208:32:208:34 | ptr | provenance | |
200+
| test.cpp:533:64:533:64 | {...} | test.cpp:538:50:538:78 | *stack_multi_dimensional_array | provenance | |
201+
| test.cpp:533:64:533:64 | {...} | test.cpp:540:7:540:35 | *stack_multi_dimensional_array | provenance | |
202+
| test.cpp:533:64:533:64 | {...} | test.cpp:542:7:542:35 | *stack_multi_dimensional_array | provenance | |
203+
| test.cpp:538:50:538:78 | *stack_multi_dimensional_array | test.cpp:122:57:122:61 | *array | provenance | |
204+
| test.cpp:538:50:538:78 | *stack_multi_dimensional_array | test.cpp:538:50:538:78 | stack_allocated_multi_dimensional_array_access output argument | provenance | |
205+
| test.cpp:538:50:538:78 | stack_allocated_multi_dimensional_array_access output argument | test.cpp:540:7:540:35 | *stack_multi_dimensional_array | provenance | |
206+
| test.cpp:538:50:538:78 | stack_allocated_multi_dimensional_array_access output argument | test.cpp:542:7:542:35 | *stack_multi_dimensional_array | provenance | |
207+
| test.cpp:538:50:538:78 | stack_multi_dimensional_array | test.cpp:122:57:122:61 | array | provenance | |
208+
| test.cpp:540:7:540:35 | *stack_multi_dimensional_array | test.cpp:161:63:161:67 | *array | provenance | |
209+
| test.cpp:540:7:540:35 | *stack_multi_dimensional_array | test.cpp:540:7:540:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | provenance | |
210+
| test.cpp:540:7:540:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | test.cpp:542:7:542:35 | *stack_multi_dimensional_array | provenance | |
211+
| test.cpp:540:7:540:35 | stack_multi_dimensional_array | test.cpp:161:63:161:67 | array | provenance | |
212+
| test.cpp:542:7:542:35 | *stack_multi_dimensional_array | test.cpp:156:58:156:62 | *array | provenance | |
213+
| test.cpp:542:7:542:35 | stack_multi_dimensional_array | test.cpp:156:58:156:62 | array | provenance | |
214+
| test.cpp:545:24:545:38 | & ... | test.cpp:208:32:208:34 | ptr | provenance | |
215215
nodes
216216
| test.cpp:6:65:6:69 | array | semmle.label | array |
217217
| test.cpp:9:17:9:21 | array | semmle.label | array |
@@ -416,19 +416,19 @@ nodes
416416
| test.cpp:533:58:533:58 | 4 | semmle.label | 4 |
417417
| test.cpp:533:61:533:61 | 5 | semmle.label | 5 |
418418
| test.cpp:533:64:533:64 | {...} | semmle.label | {...} |
419-
| test.cpp:539:50:539:78 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
420-
| test.cpp:539:50:539:78 | stack_allocated_multi_dimensional_array_access output argument | semmle.label | stack_allocated_multi_dimensional_array_access output argument |
421-
| test.cpp:539:50:539:78 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
422-
| test.cpp:541:7:541:35 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
423-
| test.cpp:541:7:541:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | semmle.label | stack_allocated_multi_dimensional_pointer_arithmetic output argument |
424-
| test.cpp:541:7:541:35 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
425-
| test.cpp:543:7:543:35 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
426-
| test.cpp:543:7:543:35 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
427-
| test.cpp:546:24:546:38 | & ... | semmle.label | & ... |
419+
| test.cpp:538:50:538:78 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
420+
| test.cpp:538:50:538:78 | stack_allocated_multi_dimensional_array_access output argument | semmle.label | stack_allocated_multi_dimensional_array_access output argument |
421+
| test.cpp:538:50:538:78 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
422+
| test.cpp:540:7:540:35 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
423+
| test.cpp:540:7:540:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument | semmle.label | stack_allocated_multi_dimensional_pointer_arithmetic output argument |
424+
| test.cpp:540:7:540:35 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
425+
| test.cpp:542:7:542:35 | *stack_multi_dimensional_array | semmle.label | *stack_multi_dimensional_array |
426+
| test.cpp:542:7:542:35 | stack_multi_dimensional_array | semmle.label | stack_multi_dimensional_array |
427+
| test.cpp:545:24:545:38 | & ... | semmle.label | & ... |
428428
subpaths
429429
| test.cpp:157:14:157:21 | *access to array | test.cpp:146:21:146:23 | *row | test.cpp:146:21:146:23 | *row | test.cpp:157:14:157:21 | row_reader output argument |
430-
| test.cpp:539:50:539:78 | *stack_multi_dimensional_array | test.cpp:122:57:122:61 | *array | test.cpp:122:57:122:61 | *array | test.cpp:539:50:539:78 | stack_allocated_multi_dimensional_array_access output argument |
431-
| test.cpp:541:7:541:35 | *stack_multi_dimensional_array | test.cpp:161:63:161:67 | *array | test.cpp:161:63:161:67 | *array | test.cpp:541:7:541:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument |
430+
| test.cpp:538:50:538:78 | *stack_multi_dimensional_array | test.cpp:122:57:122:61 | *array | test.cpp:122:57:122:61 | *array | test.cpp:538:50:538:78 | stack_allocated_multi_dimensional_array_access output argument |
431+
| test.cpp:540:7:540:35 | *stack_multi_dimensional_array | test.cpp:161:63:161:67 | *array | test.cpp:161:63:161:67 | *array | test.cpp:540:7:540:35 | stack_allocated_multi_dimensional_pointer_arithmetic output argument |
432432
#select
433433
| test.cpp:14:7:15:7 | ... + ... | test.cpp:492:7:492:36 | definition of stack_single_dimensional_array | test.cpp:14:7:14:11 | array | This pointer accesses element at index 4 while the underlying object has length 3. |
434434
| test.cpp:16:19:16:27 | ... - ... | test.cpp:492:7:492:36 | definition of stack_single_dimensional_array | test.cpp:16:19:16:23 | array | This pointer accesses element at index -1 while the underlying object has length 3. |
@@ -495,5 +495,5 @@ subpaths
495495
| test.cpp:204:11:204:19 | ... + ... | test.cpp:533:7:533:35 | *definition of stack_multi_dimensional_array | test.cpp:204:11:204:15 | array | This pointer accesses element at index 3 while the underlying object has length 2. |
496496
| test.cpp:204:11:204:19 | ... + ... | test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:204:11:204:15 | *array | This pointer accesses element at index 3 while the underlying object has length 2. |
497497
| test.cpp:204:11:204:19 | ... + ... | test.cpp:533:7:533:35 | definition of stack_multi_dimensional_array | test.cpp:204:11:204:15 | array | This pointer accesses element at index 3 while the underlying object has length 2. |
498-
| test.cpp:218:19:218:24 | access to array | test.cpp:546:24:546:38 | & ... | test.cpp:218:19:218:21 | ptr | This pointer accesses element at index 2 while the underlying object has length 1. |
499-
| test.cpp:220:20:220:26 | ... + ... | test.cpp:546:24:546:38 | & ... | test.cpp:220:20:220:22 | ptr | This pointer accesses element at index 2 while the underlying object has length 1. |
498+
| test.cpp:218:19:218:24 | access to array | test.cpp:545:24:545:38 | & ... | test.cpp:218:19:218:21 | ptr | This pointer accesses element at index 2 while the underlying object has length 1. |
499+
| test.cpp:220:20:220:26 | ... + ... | test.cpp:545:24:545:38 | & ... | test.cpp:220:20:220:22 | ptr | This pointer accesses element at index 2 while the underlying object has length 1. |

0 commit comments

Comments
 (0)