Skip to content

Commit 916fe69

Browse files
committed
Accept data flow consistency test results
1 parent 7cd04e3 commit 916fe69

File tree

197 files changed

+1472442
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+1472442
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uniqueNodeLocation
2+
| file://:0:0:0:0 | function append | Node should have one location but has 0. |
3+
| file://:0:0:0:0 | function cap | Node should have one location but has 0. |
4+
| file://:0:0:0:0 | function clear | Node should have one location but has 0. |
5+
| file://:0:0:0:0 | function close | Node should have one location but has 0. |
6+
| file://:0:0:0:0 | function complex | Node should have one location but has 0. |
7+
| file://:0:0:0:0 | function copy | Node should have one location but has 0. |
8+
| file://:0:0:0:0 | function delete | Node should have one location but has 0. |
9+
| file://:0:0:0:0 | function imag | Node should have one location but has 0. |
10+
| file://:0:0:0:0 | function len | Node should have one location but has 0. |
11+
| file://:0:0:0:0 | function make | Node should have one location but has 0. |
12+
| file://:0:0:0:0 | function max | Node should have one location but has 0. |
13+
| file://:0:0:0:0 | function min | Node should have one location but has 0. |
14+
| file://:0:0:0:0 | function new | Node should have one location but has 0. |
15+
| file://:0:0:0:0 | function panic | Node should have one location but has 0. |
16+
| file://:0:0:0:0 | function print | Node should have one location but has 0. |
17+
| file://:0:0:0:0 | function println | Node should have one location but has 0. |
18+
| file://:0:0:0:0 | function real | Node should have one location but has 0. |
19+
| file://:0:0:0:0 | function recover | Node should have one location but has 0. |
20+
missingLocation
21+
| Nodes without location: 18 |

go/ql/test/example-tests/snippets/CONSISTENCY/DataFlowConsistency.expected

Lines changed: 13915 additions & 0 deletions
Large diffs are not rendered by default.

go/ql/test/experimental/CWE-090/CONSISTENCY/DataFlowConsistency.expected

Lines changed: 14033 additions & 0 deletions
Large diffs are not rendered by default.

go/ql/test/experimental/CWE-1004/CONSISTENCY/DataFlowConsistency.expected

Lines changed: 15488 additions & 0 deletions
Large diffs are not rendered by default.

go/ql/test/experimental/CWE-203/CONSISTENCY/DataFlowConsistency.expected

Lines changed: 13946 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
uniqueNodeLocation
2+
| file://:0:0:0:0 | [summary param] 0 in append | Node should have one location but has 0. |
3+
| file://:0:0:0:0 | [summary param] 0 in copy | Node should have one location but has 0. |
4+
| file://:0:0:0:0 | [summary param] 0 in max | Node should have one location but has 0. |
5+
| file://:0:0:0:0 | [summary param] 0 in min | Node should have one location but has 0. |
6+
| file://:0:0:0:0 | [summary param] 1 in append | Node should have one location but has 0. |
7+
| file://:0:0:0:0 | [summary param] 1 in copy | Node should have one location but has 0. |
8+
| file://:0:0:0:0 | [summary param] 1 in max | Node should have one location but has 0. |
9+
| file://:0:0:0:0 | [summary param] 1 in min | Node should have one location but has 0. |
10+
| file://:0:0:0:0 | [summary param] 2 in max | Node should have one location but has 0. |
11+
| file://:0:0:0:0 | [summary param] 2 in min | Node should have one location but has 0. |
12+
| file://:0:0:0:0 | [summary param] 3 in max | Node should have one location but has 0. |
13+
| file://:0:0:0:0 | [summary param] 3 in min | Node should have one location but has 0. |
14+
| file://:0:0:0:0 | [summary] read: Argument[0].ArrayElement in append | Node should have one location but has 0. |
15+
| file://:0:0:0:0 | [summary] read: Argument[1].ArrayElement in append | Node should have one location but has 0. |
16+
| file://:0:0:0:0 | [summary] read: Argument[1].ArrayElement in copy | Node should have one location but has 0. |
17+
| file://:0:0:0:0 | [summary] to write: Argument[0] in copy | Node should have one location but has 0. |
18+
| file://:0:0:0:0 | [summary] to write: Argument[0].ArrayElement in copy | Node should have one location but has 0. |
19+
| file://:0:0:0:0 | [summary] to write: ReturnValue in append | Node should have one location but has 0. |
20+
| file://:0:0:0:0 | [summary] to write: ReturnValue in max | Node should have one location but has 0. |
21+
| file://:0:0:0:0 | [summary] to write: ReturnValue in min | Node should have one location but has 0. |
22+
| file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append | Node should have one location but has 0. |
23+
| file://:0:0:0:0 | function AcctMgmt | Node should have one location but has 0. |
24+
| file://:0:0:0:0 | function Authenticate | Node should have one location but has 0. |
25+
| file://:0:0:0:0 | function ChangeAuthTok | Node should have one location but has 0. |
26+
| file://:0:0:0:0 | function CloseSession | Node should have one location but has 0. |
27+
| file://:0:0:0:0 | function Error | Node should have one location but has 0. |
28+
| file://:0:0:0:0 | function Error | Node should have one location but has 0. |
29+
| file://:0:0:0:0 | function GetEnv | Node should have one location but has 0. |
30+
| file://:0:0:0:0 | function GetEnvList | Node should have one location but has 0. |
31+
| file://:0:0:0:0 | function GetItem | Node should have one location but has 0. |
32+
| file://:0:0:0:0 | function OpenSession | Node should have one location but has 0. |
33+
| file://:0:0:0:0 | function PutEnv | Node should have one location but has 0. |
34+
| file://:0:0:0:0 | function SetCred | Node should have one location but has 0. |
35+
| file://:0:0:0:0 | function SetItem | Node should have one location but has 0. |
36+
| file://:0:0:0:0 | function StartFunc | Node should have one location but has 0. |
37+
| file://:0:0:0:0 | function append | Node should have one location but has 0. |
38+
| file://:0:0:0:0 | function cap | Node should have one location but has 0. |
39+
| file://:0:0:0:0 | function clear | Node should have one location but has 0. |
40+
| file://:0:0:0:0 | function close | Node should have one location but has 0. |
41+
| file://:0:0:0:0 | function complex | Node should have one location but has 0. |
42+
| file://:0:0:0:0 | function copy | Node should have one location but has 0. |
43+
| file://:0:0:0:0 | function delete | Node should have one location but has 0. |
44+
| file://:0:0:0:0 | function imag | Node should have one location but has 0. |
45+
| file://:0:0:0:0 | function len | Node should have one location but has 0. |
46+
| file://:0:0:0:0 | function make | Node should have one location but has 0. |
47+
| file://:0:0:0:0 | function max | Node should have one location but has 0. |
48+
| file://:0:0:0:0 | function min | Node should have one location but has 0. |
49+
| file://:0:0:0:0 | function new | Node should have one location but has 0. |
50+
| file://:0:0:0:0 | function panic | Node should have one location but has 0. |
51+
| file://:0:0:0:0 | function print | Node should have one location but has 0. |
52+
| file://:0:0:0:0 | function println | Node should have one location but has 0. |
53+
| file://:0:0:0:0 | function real | Node should have one location but has 0. |
54+
| file://:0:0:0:0 | function recover | Node should have one location but has 0. |
55+
missingLocation
56+
| Nodes without location: 53 |
57+
localFlowIsLocal
58+
| file://:0:0:0:0 | function AcctMgmt | main.go:25:9:25:18 | selection of AcctMgmt | Local flow step does not preserve enclosing callable. |
59+
| file://:0:0:0:0 | function Authenticate | main.go:13:9:13:22 | selection of Authenticate | Local flow step does not preserve enclosing callable. |
60+
| file://:0:0:0:0 | function Authenticate | main.go:21:8:21:21 | selection of Authenticate | Local flow step does not preserve enclosing callable. |
61+
| file://:0:0:0:0 | function StartFunc | main.go:10:10:10:22 | selection of StartFunc | Local flow step does not preserve enclosing callable. |
62+
| file://:0:0:0:0 | function StartFunc | main.go:18:12:18:24 | selection of StartFunc | Local flow step does not preserve enclosing callable. |
63+
argHasPostUpdate
64+
| main.go:10:24:10:25 | "" | ArgumentNode is missing PostUpdateNode. |
65+
| main.go:10:28:10:29 | "" | ArgumentNode is missing PostUpdateNode. |
66+
| main.go:13:24:13:24 | 0 | ArgumentNode is missing PostUpdateNode. |
67+
| main.go:18:26:18:27 | "" | ArgumentNode is missing PostUpdateNode. |
68+
| main.go:18:30:18:31 | "" | ArgumentNode is missing PostUpdateNode. |
69+
| main.go:21:23:21:23 | 0 | ArgumentNode is missing PostUpdateNode. |
70+
| main.go:25:20:25:20 | 0 | ArgumentNode is missing PostUpdateNode. |

0 commit comments

Comments
 (0)