Skip to content

Commit 8564c90

Browse files
author
Benjamin Muskalla
committed
Fix naming for source nodes
1 parent 9500c9c commit 8564c90

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

java/ql/src/utils/model-generator/CaptureSourceModels.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ string asOutput(DataFlow::Node node) {
4949
}
5050

5151
string captureSource(Callable api) {
52-
exists(DataFlow::Node src, DataFlow::Node sink, FromSourceConfiguration config, string kind |
53-
config.hasFlow(src, sink) and
54-
sourceNode(sink, kind) and
55-
api = src.getEnclosingCallable() and
52+
exists(DataFlow::Node source, DataFlow::Node sink, FromSourceConfiguration config, string kind |
53+
config.hasFlow(source, sink) and
54+
sourceNode(source, kind) and
55+
api = source.getEnclosingCallable() and
5656
result = asSourceModel(api, asOutput(sink), kind)
5757
)
5858
}

0 commit comments

Comments
 (0)