Data flow: Allow nodes to be hidden from path explanations

This commit is contained in:
Tom Hvitved
2020-06-09 13:53:19 +02:00
parent 398678a28b
commit 8c9f85d04f
7 changed files with 98 additions and 179 deletions

View File

@@ -338,3 +338,6 @@ int accessPathLimit() { result = 5 }
predicate isImmutableOrUnobservable(Node n) {
n.getType() instanceof ImmutableType or n instanceof ImplicitVarargsArray
}
/** Holds if `n` should be hidden from path explanations. */
predicate nodeIsHidden(Node n) { none() }