C++: Fix FP by also excluding indirections of array expressions.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-06-13 10:59:39 +01:00
parent eec259279a
commit 4079de125f

View File

@@ -95,7 +95,7 @@ module FlowFromFree<FlowFromFreeParamSig P> {
e = any(StoreInstruction store).getDestinationAddress().getUnconvertedResultExpression()
)
or
n.asExpr() instanceof ArrayExpr
[n.asExpr(), n.asIndirectExpr()] instanceof ArrayExpr
}
}