We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d79ff commit a4ac039Copy full SHA for a4ac039
cpp/ql/src/Critical/OverflowDestination.ql
@@ -85,10 +85,8 @@ module OverflowDestinationConfig implements DataFlow::ConfigSig {
85
86
predicate observeDiffInformedIncrementalMode() { any() }
87
88
- Location getASelectedSourceLocation(DataFlow::Node source) { none() }
89
-
90
Location getASelectedSinkLocation(DataFlow::Node sink) {
91
- exists(FunctionCall fc | result = fc.getLocation() |
+ exists(FunctionCall fc | result = [fc.getLocation(), sink.getLocation()] |
92
sourceSized(fc, sink.asIndirectConvertedExpr())
93
)
94
}
0 commit comments