We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9840a56 commit 08608a3Copy full SHA for 08608a3
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