mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Data flow: Allow nodes to be hidden from path explanations
This commit is contained in:
@@ -314,3 +314,6 @@ predicate isImmutableOrUnobservable(Node n) {
|
||||
// The above list of cases isn't exhaustive, but it narrows down the
|
||||
// consistency alerts enough that most of them are interesting.
|
||||
}
|
||||
|
||||
/** Holds if `n` should be hidden from path explanations. */
|
||||
predicate nodeIsHidden(Node n) { none() }
|
||||
|
||||
@@ -306,3 +306,6 @@ predicate isImmutableOrUnobservable(Node n) {
|
||||
// complex to model here.
|
||||
any()
|
||||
}
|
||||
|
||||
/** Holds if `n` should be hidden from path explanations. */
|
||||
predicate nodeIsHidden(Node n) { none() }
|
||||
|
||||
Reference in New Issue
Block a user