You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go/ql/test/library-tests/semmle/go/frameworks/Twirp/RequestForgery.expected
+75Lines changed: 75 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,60 @@
1
1
#select
2
+
| server/main.go:30:38:30:48 | selection of Text | rpc/notes/service.twirp.go:455:23:455:30 | selection of Body | 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 | rpc/notes/service.twirp.go:455:23:455:30 | selection of Body | user-provided value |
2
3
| server/main.go:30:38:30:48 | selection of Text | rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | 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 | rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | user-provided value |
4
+
| server/main.go:30:38:30:48 | selection of Text | rpc/notes/service.twirp.go:635:23:635:30 | selection of Body | 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 | rpc/notes/service.twirp.go:635:23:635:30 | selection of Body | user-provided value |
5
+
| server/main.go:30:38:30:48 | selection of Text | rpc/notes/service.twirp.go:718:25:718:32 | selection of Body | 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 | rpc/notes/service.twirp.go:718:25:718:32 | selection of Body | user-provided value |
3
6
| 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 |
| rpc/notes/service.twirp.go:455:23:455:30 | selection of Body | rpc/notes/service.twirp.go:455:23:455:30 | selection of Body [Reverse] | provenance | Src:MaD:1 |
21
+
| rpc/notes/service.twirp.go:455:23:455:30 | selection of Body [Reverse] | rpc/notes/service.twirp.go:455:23:455:25 | implicit dereference [Reverse] [Body] | provenance | |
| rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | rpc/notes/service.twirp.go:538:2:538:33 | ... := ...[0] | provenance | MaD:3 |
11
35
| rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | rpc/notes/service.twirp.go:538:2:538:33 | ... := ...[0] | provenance | Src:MaD:1 MaD:3 |
36
+
| rpc/notes/service.twirp.go:538:25:538:32 | selection of Body | rpc/notes/service.twirp.go:538:25:538:32 | selection of Body [Reverse] | provenance | Src:MaD:1 |
37
+
| rpc/notes/service.twirp.go:538:25:538:32 | selection of Body [Reverse] | rpc/notes/service.twirp.go:538:25:538:27 | implicit dereference [Reverse] [Body] | provenance | |
| rpc/notes/service.twirp.go:635:23:635:30 | selection of Body | rpc/notes/service.twirp.go:635:23:635:30 | selection of Body [Reverse] | provenance | Src:MaD:1 |
52
+
| rpc/notes/service.twirp.go:635:23:635:30 | selection of Body [Reverse] | rpc/notes/service.twirp.go:635:23:635:25 | implicit dereference [Reverse] [Body] | provenance | |
| rpc/notes/service.twirp.go:718:25:718:32 | selection of Body | rpc/notes/service.twirp.go:718:25:718:32 | selection of Body [Reverse] | provenance | Src:MaD:1 |
57
+
| rpc/notes/service.twirp.go:718:25:718:32 | selection of Body [Reverse] | rpc/notes/service.twirp.go:718:25:718:27 | implicit dereference [Reverse] [Body] | provenance | |
18
58
| server/main.go:19:56:19:61 | definition of params | server/main.go:19:56:19:61 | definition of params [Reverse] | provenance | |
19
59
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | provenance | |
20
60
| server/main.go:19:56:19:61 | definition of params | server/main.go:30:38:30:48 | selection of Text | provenance | |
0 commit comments