mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02:00
fixup! Component parameter passing step
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user