mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Python: Fix extractor/experimental tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import python
|
||||
import utils.test.InlineExpectationsTest
|
||||
private import semmle.python.dataflow.new.internal.DataFlowDispatch as TT
|
||||
private import LegacyPointsTo
|
||||
|
||||
/** Holds when `call` is resolved to `callable` using points-to based call-graph. */
|
||||
predicate pointsToCallEdge(CallNode call, Function callable) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import python
|
||||
private import LegacyPointsTo
|
||||
|
||||
from Container path, string name
|
||||
where exists(ModuleValue m | m.getPath() = path and m.getName() = name)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import python
|
||||
private import LegacyPointsTo
|
||||
|
||||
from Object o, string s
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user