mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
DataFlow: s/flowThroughStepAllowed/validParameterAliasStep.
This commit is contained in:
@@ -175,7 +175,7 @@ signature module InputSig {
|
||||
* computing flow-through summaries.
|
||||
*/
|
||||
bindingset[node1, node2]
|
||||
default predicate flowThroughStepAllowed(Node node1, Node node2) { any() }
|
||||
default predicate validParameterAliasStep(Node node1, Node node2) { any() }
|
||||
|
||||
/**
|
||||
* Holds if data can flow from `node1` to `node2` through a non-local step
|
||||
|
||||
@@ -552,7 +552,7 @@ module MakeImplCommon<InputSig Lang> {
|
||||
exists(Node mid |
|
||||
parameterValueFlowCand(p, mid, read) and
|
||||
simpleLocalFlowStep(mid, node) and
|
||||
flowThroughStepAllowed(mid, node)
|
||||
validParameterAliasStep(mid, node)
|
||||
)
|
||||
or
|
||||
// read
|
||||
@@ -672,7 +672,7 @@ module MakeImplCommon<InputSig Lang> {
|
||||
exists(Node mid |
|
||||
parameterValueFlow(p, mid, read) and
|
||||
simpleLocalFlowStep(mid, node) and
|
||||
flowThroughStepAllowed(mid, node)
|
||||
validParameterAliasStep(mid, node)
|
||||
)
|
||||
or
|
||||
// read
|
||||
|
||||
Reference in New Issue
Block a user