Skip to content

Commit 4e6e595

Browse files
committed
Java: Add qldoc.
1 parent 9f42ca8 commit 4e6e595

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,12 @@ class ContentSet instanceof Content {
313313
*/
314314
signature predicate guardChecksSig(Guard g, Expr e, boolean branch);
315315

316+
/**
317+
* Provides a set of barrier nodes for a guard that validates an expression.
318+
*
319+
* This is expected to be used in `isBarrier`/`isSanitizer` definitions
320+
* in data flow and taint tracking.
321+
*/
316322
module BarrierGuard<guardChecksSig/3 guardChecks> {
317323
/** Gets a node that is safely guarded by the given guard check. */
318324
Node getABarrierNode() {

0 commit comments

Comments
 (0)