Skip to content

Commit c517eb8

Browse files
author
Alvaro Muñoz
committed
add more sinks
1 parent 20dc30d commit c517eb8

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

go/ql/lib/go.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ import semmle.go.frameworks.SQL
5656
import semmle.go.frameworks.Stdlib
5757
import semmle.go.frameworks.SystemCommandExecutors
5858
import semmle.go.frameworks.Testing
59+
import semmle.go.frameworks.Twirp
5960
import semmle.go.frameworks.WebSocket
6061
import semmle.go.frameworks.XNetHtml
6162
import semmle.go.frameworks.XPath
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
edges
2+
| client/main.go:16:35:16:78 | &... | client/main.go:16:35:16:78 | &... |
3+
| client/main.go:16:35:16:78 | &... | server/main.go:19:56:19:61 | definition of params |
4+
| rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq | rpc/notes/service.twirp.go:477:44:477:51 | typedReq |
5+
| rpc/notes/service.twirp.go:477:44:477:51 | typedReq | server/main.go:19:56:19:61 | definition of params |
6+
| rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq | rpc/notes/service.twirp.go:558:44:558:51 | typedReq |
7+
| rpc/notes/service.twirp.go:558:44:558:51 | typedReq | server/main.go:19:56:19:61 | definition of params |
8+
| server/main.go:19:56:19:61 | definition of params | client/main.go:16:35:16:78 | &... |
9+
| server/main.go:19:56:19:61 | definition of params | rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq |
10+
| server/main.go:19:56:19:61 | definition of params | rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq |
11+
| server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params |
12+
| server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params |
13+
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text |
14+
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text |
15+
nodes
16+
| client/main.go:16:35:16:78 | &... | semmle.label | &... |
17+
| rpc/notes/service.twirp.go:473:6:473:13 | definition of typedReq | semmle.label | definition of typedReq |
18+
| rpc/notes/service.twirp.go:477:44:477:51 | typedReq | semmle.label | typedReq |
19+
| rpc/notes/service.twirp.go:554:6:554:13 | definition of typedReq | semmle.label | definition of typedReq |
20+
| rpc/notes/service.twirp.go:558:44:558:51 | typedReq | semmle.label | typedReq |
21+
| server/main.go:19:56:19:61 | definition of params | semmle.label | definition of params |
22+
| server/main.go:19:56:19:61 | definition of params | semmle.label | definition of params |
23+
| server/main.go:30:38:30:48 | selection of Text | semmle.label | selection of Text |
24+
subpaths
25+
#select
26+
| server/main.go:30:38:30:48 | selection of Text | server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | The $@ of this request depends on a $@. | server/main.go:30:38:30:48 | selection of Text | URL | server/main.go:19:56:19:61 | definition of params | user-provided value |

0 commit comments

Comments
 (0)