DataFlow: Permit local flow between post-update nodes

This commit is contained in:
Asger F
2025-09-09 08:26:56 +02:00
parent 0b5745c24b
commit 511308746c

View File

@@ -254,7 +254,10 @@ module MakeConsistency<
query predicate postWithInFlow(PostUpdateNode n, string msg) {
not clearsContent(n, _) and
simpleLocalFlowStep(_, n, _) and
exists(Node pred |
simpleLocalFlowStep(pred, n, _) and
not pred instanceof PostUpdateNode
) and
not Input::postWithInFlowExclude(n) and
msg = "PostUpdateNode should not be the target of local flow."
}