Update java/ql/lib/semmle/code/java/dataflow/internal/DataFlowUtil.qll

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
Anders Schack-Mulligen
2022-06-02 12:00:37 +02:00
committed by GitHub
parent 002c456989
commit 9f42ca8d14

View File

@@ -314,7 +314,7 @@ class ContentSet instanceof Content {
signature predicate guardChecksSig(Guard g, Expr e, boolean branch);
module BarrierGuard<guardChecksSig/3 guardChecks> {
/** Gets a node that is safely guarded by the given guard. */
/** Gets a node that is safely guarded by the given guard check. */
Node getABarrierNode() {
exists(Guard g, SsaVariable v, boolean branch, RValue use |
guardChecks(g, v.getAUse(), branch) and