mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
C/C++: Remove reference to Partial Flow.
This commit is contained in:
@@ -97,23 +97,23 @@ private string getNodeProperty(DataFlow::Node node, string key) {
|
|||||||
|
|
|
|
||||||
kind, ", "
|
kind, ", "
|
||||||
)
|
)
|
||||||
or
|
// or
|
||||||
// Is there partial flow from a source to this node?
|
// // Is there partial flow from a source to this node?
|
||||||
// This property will only be emitted if partial flow is enabled by overriding
|
// // This property will only be emitted if partial flow is enabled by overriding
|
||||||
// `DataFlow::Configuration::explorationLimit()`.
|
// // `DataFlow::Configuration::explorationLimit()`.
|
||||||
key = "pflow" and
|
// key = "pflow" and
|
||||||
result =
|
// result =
|
||||||
strictconcat(DataFlow::PartialPathNode sourceNode, DataFlow::PartialPathNode destNode, int dist,
|
// strictconcat(DataFlow::PartialPathNode sourceNode, DataFlow::PartialPathNode destNode, int dist,
|
||||||
int order1, int order2 |
|
// int order1, int order2 |
|
||||||
any(DataFlow::Configuration cfg).hasPartialFlow(sourceNode, destNode, dist) and
|
// any(DataFlow::Configuration cfg).hasPartialFlow(sourceNode, destNode, dist) and
|
||||||
destNode.getNode() = node and
|
// destNode.getNode() = node and
|
||||||
// Only print flow from a source in the same function.
|
// // Only print flow from a source in the same function.
|
||||||
sourceNode.getNode().getEnclosingCallable() = node.getEnclosingCallable()
|
// sourceNode.getNode().getEnclosingCallable() = node.getEnclosingCallable()
|
||||||
|
|
// |
|
||||||
nodeId(sourceNode.getNode(), order1, order2) + "+" + dist.toString(), ", "
|
// nodeId(sourceNode.getNode(), order1, order2) + "+" + dist.toString(), ", "
|
||||||
order by
|
// order by
|
||||||
order1, order2, dist desc
|
// order1, order2, dist desc
|
||||||
)
|
// )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -97,23 +97,23 @@ private string getNodeProperty(DataFlow::Node node, string key) {
|
|||||||
|
|
|
|
||||||
kind, ", "
|
kind, ", "
|
||||||
)
|
)
|
||||||
or
|
// or
|
||||||
// Is there partial flow from a source to this node?
|
// // Is there partial flow from a source to this node?
|
||||||
// This property will only be emitted if partial flow is enabled by overriding
|
// // This property will only be emitted if partial flow is enabled by overriding
|
||||||
// `DataFlow::Configuration::explorationLimit()`.
|
// // `DataFlow::Configuration::explorationLimit()`.
|
||||||
key = "pflow" and
|
// key = "pflow" and
|
||||||
result =
|
// result =
|
||||||
strictconcat(DataFlow::PartialPathNode sourceNode, DataFlow::PartialPathNode destNode, int dist,
|
// strictconcat(DataFlow::PartialPathNode sourceNode, DataFlow::PartialPathNode destNode, int dist,
|
||||||
int order1, int order2 |
|
// int order1, int order2 |
|
||||||
any(DataFlow::Configuration cfg).hasPartialFlow(sourceNode, destNode, dist) and
|
// any(DataFlow::Configuration cfg).hasPartialFlow(sourceNode, destNode, dist) and
|
||||||
destNode.getNode() = node and
|
// destNode.getNode() = node and
|
||||||
// Only print flow from a source in the same function.
|
// // Only print flow from a source in the same function.
|
||||||
sourceNode.getNode().getEnclosingCallable() = node.getEnclosingCallable()
|
// sourceNode.getNode().getEnclosingCallable() = node.getEnclosingCallable()
|
||||||
|
|
// |
|
||||||
nodeId(sourceNode.getNode(), order1, order2) + "+" + dist.toString(), ", "
|
// nodeId(sourceNode.getNode(), order1, order2) + "+" + dist.toString(), ", "
|
||||||
order by
|
// order by
|
||||||
order1, order2, dist desc
|
// order1, order2, dist desc
|
||||||
)
|
// )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user