C++/ArithmeticUncontrolled

This commit is contained in:
Nora Dimitrijević
2025-10-15 14:15:43 +02:00
parent 1321cbb021
commit f3d51e0151

View File

@@ -124,7 +124,7 @@ module UncontrolledArithConfig implements DataFlow::ConfigSig {
predicate observeDiffInformedIncrementalMode() { any() }
Location getASelectedSourceLocation(DataFlow::Node source) {
result = getExpr(source).getLocation()
result = [getExpr(source).getLocation(), source.getLocation()]
}
}