mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
python: summaries may allowParameterReturnInSelf
This commit is contained in:
@@ -961,4 +961,6 @@ predicate additionalLambdaFlowStep(Node nodeFrom, Node nodeTo, boolean preserves
|
|||||||
* One example would be to allow flow like `p.foo = p.bar;`, which is disallowed
|
* One example would be to allow flow like `p.foo = p.bar;`, which is disallowed
|
||||||
* by default as a heuristic.
|
* by default as a heuristic.
|
||||||
*/
|
*/
|
||||||
predicate allowParameterReturnInSelf(ParameterNode p) { none() }
|
predicate allowParameterReturnInSelf(ParameterNode p) {
|
||||||
|
FlowSummaryImpl::Private::summaryAllowParameterReturnInSelf(p)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user