mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
go: make sure the source/sink have the same type as the edges relation
This commit is contained in:
@@ -66,4 +66,5 @@ query predicate edges(CallGraphNode pred, CallGraphNode succ) {
|
||||
|
||||
from LoopStmt loop, DatabaseAccess dbAccess
|
||||
where edges*(loop, dbAccess.asExpr())
|
||||
select dbAccess, loop, dbAccess, "This calls " + dbAccess.toString() + " in a $@.", loop, "loop"
|
||||
select dbAccess, loop, dbAccess.asExpr(), "This calls " + dbAccess.toString() + " in a $@.", loop,
|
||||
"loop"
|
||||
|
||||
Reference in New Issue
Block a user