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