mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
Fix naming for source nodes
This commit is contained in:
@@ -49,10 +49,10 @@ string asOutput(DataFlow::Node node) {
|
||||
}
|
||||
|
||||
string captureSource(Callable api) {
|
||||
exists(DataFlow::Node src, DataFlow::Node sink, FromSourceConfiguration config, string kind |
|
||||
config.hasFlow(src, sink) and
|
||||
sourceNode(sink, kind) and
|
||||
api = src.getEnclosingCallable() and
|
||||
exists(DataFlow::Node source, DataFlow::Node sink, FromSourceConfiguration config, string kind |
|
||||
config.hasFlow(source, sink) and
|
||||
sourceNode(source, kind) and
|
||||
api = source.getEnclosingCallable() and
|
||||
result = asSourceModel(api, asOutput(sink), kind)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user