mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
python: No fieldFlowBranchLimit for SummarizedCallables
Like https://github.com/github/codeql/pull/15689 for Ruby.
This commit is contained in:
@@ -22,4 +22,6 @@ module PythonDataFlow implements InputSig {
|
||||
predicate neverSkipInPathGraph = Private::neverSkipInPathGraph/1;
|
||||
|
||||
Node exprNode(DataFlowExpr e) { result = Public::exprNode(e) }
|
||||
|
||||
predicate ignoreFieldFlowBranchLimit(DataFlowCallable c) { exists(c.asLibraryCallable()) }
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ from extracted_package.functions import with_subpath, without_subpath
|
||||
# can be concluded from its definition. This seems to discard all summaries, including
|
||||
# the one with flow to `ReturnValue.Attribute[pattern]`.
|
||||
ensure_tainted(
|
||||
with_subpath(ts).pattern, # $ MISSING: tainted
|
||||
with_subpath(ts).pattern, # $ tainted
|
||||
with_subpath(ts), # $ tainted
|
||||
with_subpath(ts), # $ tainted
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user