File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
go/ql/test/library-tests/semmle/go/dataflow Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- | file://:0:0:0:0 | [summary param] 1 in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
2- | file://:0:0:0:0 | [summary] read: Argument[0].ArrayElement in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
31| file://:0:0:0:0 | function Encode | url.go:51:14:51:21 | selection of Encode |
42| file://:0:0:0:0 | function EscapedPath | url.go:28:14:28:26 | selection of EscapedPath |
53| file://:0:0:0:0 | function Get | url.go:52:14:52:18 | selection of Get |
Original file line number Diff line number Diff line change 11import go
22
33from DataFlow:: Node nd , DataFlow:: Node succ
4- where DataFlow:: localFlowStep ( nd , succ )
4+ where
5+ DataFlow:: localFlowStep ( nd , succ ) and
6+ ( exists ( nd .getFile ( ) ) or exists ( succ .getFile ( ) ) )
57select nd , succ
Original file line number Diff line number Diff line change 1- | file://:0:0:0:0 | [summary param] 1 in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
2- | file://:0:0:0:0 | [summary] read: Argument[0].ArrayElement in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
31| main.go:3:6:3:11 | function source | main.go:23:31:23:36 | source |
42| main.go:3:6:3:11 | function source | main.go:31:31:31:36 | source |
53| main.go:3:6:3:11 | function source | main.go:40:30:40:35 | source |
Original file line number Diff line number Diff line change 11import go
22
33from DataFlow:: Node nd , DataFlow:: Node succ
4- where DataFlow:: localFlowStep ( nd , succ )
4+ where
5+ DataFlow:: localFlowStep ( nd , succ ) and
6+ ( exists ( nd .getFile ( ) ) or exists ( succ .getFile ( ) ) )
57select nd , succ
You can’t perform that action at this time.
0 commit comments