We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5745c commit 5113087Copy full SHA for 5113087
shared/dataflow/codeql/dataflow/internal/DataFlowImplConsistency.qll
@@ -254,7 +254,10 @@ module MakeConsistency<
254
255
query predicate postWithInFlow(PostUpdateNode n, string msg) {
256
not clearsContent(n, _) and
257
- simpleLocalFlowStep(_, n, _) and
+ exists(Node pred |
258
+ simpleLocalFlowStep(pred, n, _) and
259
+ not pred instanceof PostUpdateNode
260
+ ) and
261
not Input::postWithInFlowExclude(n) and
262
msg = "PostUpdateNode should not be the target of local flow."
263
}
0 commit comments