Skip to content

Commit 83a3af2

Browse files
committed
Go: Summarized Callable
Corresponds to github#9270
1 parent 10ed4ad commit 83a3af2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ predicate localFlowStep(Node nodeFrom, Node nodeTo) {
108108
or
109109
// Simple flow through library code is included in the exposed local
110110
// step relation, even though flow is technically inter-procedural
111-
FlowSummaryImpl::Private::Steps::summaryThroughStepValue(nodeFrom, nodeTo)
111+
FlowSummaryImpl::Private::Steps::summaryThroughStepValue(nodeFrom, nodeTo, _)
112112
}
113113

114114
/**

go/ql/lib/semmle/go/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ predicate localTaintStep(DataFlow::Node src, DataFlow::Node sink) {
2727
localAdditionalTaintStep(src, sink) or
2828
// Simple flow through library code is included in the exposed local
2929
// step relation, even though flow is technically inter-procedural
30-
FlowSummaryImpl::Private::Steps::summaryThroughStepTaint(src, sink)
30+
FlowSummaryImpl::Private::Steps::summaryThroughStepTaint(src, sink, _)
3131
}
3232

3333
private Type getElementType(Type containerType) {

go/ql/test/library-tests/semmle/go/dataflow/ExternalFlow/steps.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ class SummaryModelTest extends SummaryModelCsv {
2222
}
2323

2424
from DataFlow::Node node1, DataFlow::Node node2
25-
where FlowSummaryImpl::Private::Steps::summaryThroughStepTaint(node1, node2)
25+
where FlowSummaryImpl::Private::Steps::summaryThroughStepTaint(node1, node2, _)
2626
select node1, node2

0 commit comments

Comments
 (0)