DataFlow: s/flowThroughStepAllowed/validParameterAliasStep.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-11-28 13:40:19 +00:00
parent e47ad274ea
commit 339bf1363a
4 changed files with 5 additions and 5 deletions

View File

@@ -21,5 +21,5 @@ module CppDataFlow implements InputSig {
predicate getAdditionalFlowIntoCallNodeTerm = Private::getAdditionalFlowIntoCallNodeTerm/2;
predicate flowThroughStepAllowed = Private::flowThroughStepAllowed/2;
predicate validParameterAliasStep = Private::validParameterAliasStep/2;
}

View File

@@ -1162,7 +1162,7 @@ private int countNumberOfBranchesUsingParameter(SwitchInstruction switch, Parame
*/
bindingset[node1, node2]
pragma[inline_late]
predicate flowThroughStepAllowed(Node node1, Node node2) {
predicate validParameterAliasStep(Node node1, Node node2) {
// When flow-through summaries are computed we track which parameters flow to out-going parameters.
// In an example such as:
// ```