mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Local flow tests: do not list summary models
This is so that when we don't change the test results every time we add a summary model for a built-in function.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
| file://:0:0:0:0 | [summary param] 1 in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
|
||||
| file://:0:0:0:0 | [summary] read: Argument[0].ArrayElement in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
|
||||
| file://:0:0:0:0 | function Encode | url.go:51:14:51:21 | selection of Encode |
|
||||
| file://:0:0:0:0 | function EscapedPath | url.go:28:14:28:26 | selection of EscapedPath |
|
||||
| file://:0:0:0:0 | function Get | url.go:52:14:52:18 | selection of Get |
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import go
|
||||
|
||||
from DataFlow::Node nd, DataFlow::Node succ
|
||||
where DataFlow::localFlowStep(nd, succ)
|
||||
where
|
||||
DataFlow::localFlowStep(nd, succ) and
|
||||
(exists(nd.getFile()) or exists(succ.getFile()))
|
||||
select nd, succ
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
| file://:0:0:0:0 | [summary param] 1 in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
|
||||
| file://:0:0:0:0 | [summary] read: Argument[0].ArrayElement in append | file://:0:0:0:0 | [summary] to write: ReturnValue.ArrayElement in append |
|
||||
| main.go:3:6:3:11 | function source | main.go:23:31:23:36 | source |
|
||||
| main.go:3:6:3:11 | function source | main.go:31:31:31:36 | source |
|
||||
| main.go:3:6:3:11 | function source | main.go:40:30:40:35 | source |
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import go
|
||||
|
||||
from DataFlow::Node nd, DataFlow::Node succ
|
||||
where DataFlow::localFlowStep(nd, succ)
|
||||
where
|
||||
DataFlow::localFlowStep(nd, succ) and
|
||||
(exists(nd.getFile()) or exists(succ.getFile()))
|
||||
select nd, succ
|
||||
|
||||
Reference in New Issue
Block a user