fixup! Component parameter passing step

This commit is contained in:
Ed Minnix
2025-03-05 00:50:19 -05:00
parent 0463f48565
commit 17da291910

View File

@@ -172,11 +172,16 @@ private module JumpNodes {
private class ComponentParameterJump extends DataFlow::NonLocalJumpNode {
ParameterPassingCall call;
Property prop;
ComponentParameterJump() { this.asExpr() = call.getParameterValue() }
ComponentParameterJump() {
prop = call.getParameterProperty() and
// this.(DataFlowPrivate::PostUpdateNode).getPreUpdateNode().asExpr() = call.getParameterValue()
this.asExpr() = call.getParameterValue()
}
override DataFlow::Node getAJumpSuccessor(boolean preservesValue) {
preservesValue = false and
preservesValue = true and
result.asExpr() = call.getParameterProperty().getAnAccess()
}
}