Skip to content

Commit f2ef4ad

Browse files
committed
C++: Update for the provenance changes.
1 parent 57beb73 commit f2ef4ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ module SourceSinkInterpretationInput implements
118118
* Holds if an external source specification exists for `e` with output specification
119119
* `output`, kind `kind`, and provenance `provenance`.
120120
*/
121-
predicate sourceElement(SourceOrSinkElement e, string output, string kind) {
121+
predicate sourceElement(SourceOrSinkElement e, string output, string kind, Public::Provenance provenance) {
122122
exists(
123123
string namespace, string type, boolean subtypes, string name, string signature, string ext
124124
|
125-
sourceModel(namespace, type, subtypes, name, signature, ext, output, kind, _) and
125+
sourceModel(namespace, type, subtypes, name, signature, ext, output, kind, provenance) and
126126
e = interpretElement(namespace, type, subtypes, name, signature, ext)
127127
)
128128
}
@@ -131,11 +131,11 @@ module SourceSinkInterpretationInput implements
131131
* Holds if an external sink specification exists for `e` with input specification
132132
* `input`, kind `kind` and provenance `provenance`.
133133
*/
134-
predicate sinkElement(SourceOrSinkElement e, string input, string kind) {
134+
predicate sinkElement(SourceOrSinkElement e, string input, string kind, Public::Provenance provenance) {
135135
exists(
136136
string package, string type, boolean subtypes, string name, string signature, string ext
137137
|
138-
sinkModel(package, type, subtypes, name, signature, ext, input, kind, _) and
138+
sinkModel(package, type, subtypes, name, signature, ext, input, kind, provenance) and
139139
e = interpretElement(package, type, subtypes, name, signature, ext)
140140
)
141141
}

0 commit comments

Comments
 (0)