mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Rename to neverSkipInPathGraph
This commit is contained in:
@@ -2022,7 +2022,7 @@ module Impl<FullStateConfigSig Config> {
|
||||
castNode(this.asNode()) or
|
||||
clearsContentCached(this.asNode(), _) or
|
||||
expectsContentCached(this.asNode(), _) or
|
||||
flowCheckNodeSpecific(this.asNode())
|
||||
neverSkipInPathGraph(this.asNode())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1294,9 +1294,10 @@ class CastNode extends Node {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
|
||||
* Holds if `n` should never be skipped over in the `PathGraph` and in path
|
||||
* explanations.
|
||||
*/
|
||||
predicate flowCheckNodeSpecific(Node n) {
|
||||
predicate neverSkipInPathGraph(Node n) {
|
||||
// ensure that all variable assignments are included in the path graph
|
||||
n.(SsaDefinitionExtNode).getDefinitionExt() instanceof Ssa::WriteDefinition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user