Skip to content

Commit 3c48609

Browse files
committed
Accept test changes
1 parent ed56461 commit 3c48609

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

go/ql/test/example-tests/snippets/typeinfo.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
| file://:0:0:0:0 | parameter 1 of ReadResponse |
21
| file://:0:0:0:0 | parameter -1 of AddCookie |
32
| file://:0:0:0:0 | parameter -1 of Clone |
43
| file://:0:0:0:0 | parameter -1 of Write |

go/ql/test/query-tests/Security/CWE-312/CleartextLogging.expected

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ edges
1818
| passwords.go:112:33:112:40 | password | passwords.go:112:15:112:40 | ...+... |
1919
| passwords.go:116:28:116:36 | password1 | passwords.go:116:14:116:45 | ...+... |
2020
| passwords.go:116:28:116:36 | password1 | passwords.go:116:28:116:45 | call to String |
21-
| passwords.go:116:28:116:36 | password1 | util.go:71:7:71:7 | definition of s |
2221
| passwords.go:116:28:116:36 | password1 | util.go:71:21:71:26 | parameter -1 of String |
2322
| passwords.go:116:28:116:45 | call to String | passwords.go:116:14:116:45 | ...+... |
2423
| passwords.go:118:12:123:2 | struct literal [x] | passwords.go:126:14:126:19 | config [x] |
@@ -41,7 +40,6 @@ edges
4140
| protos/query/query.pb.go:119:10:119:10 | implicit dereference [Description] | protos/query/query.pb.go:119:10:119:22 | selection of Description |
4241
| protos/query/query.pb.go:119:10:119:10 | x [pointer, Description] | protos/query/query.pb.go:119:10:119:10 | implicit dereference [Description] |
4342
| util.go:16:9:16:18 | selection of password | passwords.go:28:14:28:28 | call to getPassword |
44-
| util.go:71:7:71:7 | definition of s | util.go:71:21:71:26 | [summary] to write: return (return[0]) in String |
4543
| util.go:71:21:71:26 | parameter -1 of String | util.go:71:21:71:26 | [summary] to write: return (return[0]) in String |
4644
nodes
4745
| file://:0:0:0:0 | [summary] to write: return (return[0]) in Get | semmle.label | [summary] to write: return (return[0]) in Get |
@@ -109,13 +107,10 @@ nodes
109107
| protos/query/query.pb.go:119:10:119:10 | x [pointer, Description] | semmle.label | x [pointer, Description] |
110108
| protos/query/query.pb.go:119:10:119:22 | selection of Description | semmle.label | selection of Description |
111109
| util.go:16:9:16:18 | selection of password | semmle.label | selection of password |
112-
| util.go:71:7:71:7 | definition of s | semmle.label | definition of s |
113-
| util.go:71:21:71:26 | [summary] to write: return (return[0]) in String | semmle.label | [summary] to write: return (return[0]) in String |
114110
| util.go:71:21:71:26 | [summary] to write: return (return[0]) in String | semmle.label | [summary] to write: return (return[0]) in String |
115111
| util.go:71:21:71:26 | parameter -1 of String | semmle.label | parameter -1 of String |
116112
subpaths
117113
| klog.go:28:13:28:20 | selection of Header | file://:0:0:0:0 | parameter -1 of Get | file://:0:0:0:0 | [summary] to write: return (return[0]) in Get | klog.go:28:13:28:41 | call to Get |
118-
| passwords.go:116:28:116:36 | password1 | util.go:71:7:71:7 | definition of s | util.go:71:21:71:26 | [summary] to write: return (return[0]) in String | passwords.go:116:28:116:45 | call to String |
119114
| passwords.go:116:28:116:36 | password1 | util.go:71:21:71:26 | parameter -1 of String | util.go:71:21:71:26 | [summary] to write: return (return[0]) in String | passwords.go:116:28:116:45 | call to String |
120115
| protobuf.go:14:14:14:18 | query [pointer, Description] | protos/query/query.pb.go:117:7:117:7 | definition of x [pointer, Description] | protos/query/query.pb.go:119:10:119:22 | selection of Description | protobuf.go:14:14:14:35 | call to GetDescription |
121116
#select

0 commit comments

Comments
 (0)