Nora Dimitrijević
2025-07-16 11:07:21 +02:00
parent 53e1939b60
commit e0d16a863b

View File

@@ -56,6 +56,17 @@ module AllocationSizeOverflow {
succ = c
)
}
predicate observeDiffInformedIncrementalMode() { any() }
Location getASelectedSinkLocation(DataFlow::Node sink) {
result = sink.getLocation()
or
exists(DataFlow::Node allocsz |
isSinkWithAllocationSize(sink, allocsz) and
result = allocsz.getLocation()
)
}
}
/** Tracks taint flow to find allocation-size overflows. */