C++: Revert changes to cpp/constant-array-overflow

It is not clear that this does what we want here, and the query is severly
broken in any case.
This commit is contained in:
Jeroen Ketema
2025-08-26 10:43:54 +02:00
parent a104600d4d
commit 75786e9a71

View File

@@ -168,9 +168,9 @@ module ArrayAddressToDerefConfig implements DataFlow::StateConfigSig {
)
}
predicate isBarrierIn(DataFlow::Node node, FlowState state) { isSource(node, state) }
predicate isBarrierIn(DataFlow::Node node) { isSource(node, _) }
predicate isBarrierOut(DataFlow::Node node, FlowState state) { isSink(node, state) }
predicate isBarrierOut(DataFlow::Node node) { isSink(node, _) }
predicate isAdditionalFlowStep(
DataFlow::Node node1, FlowState state1, DataFlow::Node node2, FlowState state2