mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Merge branch 'rc/1.21' into 'master'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
| absent.py:3:8:3:11 | ControlFlowNode for ImportExpr | Missing module xxxx |
|
||||
| absent.py:4:1:4:4 | ControlFlowNode for xxxx | Missing module xxxx |
|
||||
| absent.py:6:6:6:9 | ControlFlowNode for ImportExpr | Missing module xxxx |
|
||||
| absent.py:6:18:6:21 | ControlFlowNode for ImportMember | Missing module attribute xxxx.open |
|
||||
| absent.py:8:1:8:4 | ControlFlowNode for open | Missing module attribute xxxx.open |
|
||||
| absent.py:12:8:12:13 | ControlFlowNode for ImportExpr | Module module |
|
||||
| absent.py:14:1:14:6 | ControlFlowNode for module | Module module |
|
||||
| absent.py:3:8:3:11 | ControlFlowNode for ImportExpr | file://:0:0:0:0 | Missing module xxxx |
|
||||
| absent.py:4:1:4:4 | ControlFlowNode for xxxx | file://:0:0:0:0 | Missing module xxxx |
|
||||
| absent.py:6:6:6:9 | ControlFlowNode for ImportExpr | file://:0:0:0:0 | Missing module xxxx |
|
||||
| absent.py:6:18:6:21 | ControlFlowNode for ImportMember | file://:0:0:0:0 | Missing module attribute xxxx.open |
|
||||
| absent.py:8:1:8:4 | ControlFlowNode for open | file://:0:0:0:0 | Missing module attribute xxxx.open |
|
||||
| absent.py:12:8:12:13 | ControlFlowNode for ImportExpr | module.py:0:0:0:0 | Module module |
|
||||
| absent.py:14:1:14:6 | ControlFlowNode for module | module.py:0:0:0:0 | Module module |
|
||||
|
||||
@@ -3,7 +3,6 @@ import python
|
||||
import semmle.python.objects.Modules
|
||||
|
||||
from Value val, ControlFlowNode f
|
||||
where //val = Value::named(name) and
|
||||
f.pointsTo(val)
|
||||
where f.pointsTo(val)
|
||||
select f, val
|
||||
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
| 2 | bool True |
|
||||
| 3 | bool False |
|
||||
| 6 | bool True |
|
||||
| 7 | bool True |
|
||||
| 8 | bool True |
|
||||
| 9 | bool False |
|
||||
| 19 | bool False |
|
||||
| 19 | bool True |
|
||||
| 20 | bool False |
|
||||
| 20 | bool True |
|
||||
| 21 | bool False |
|
||||
| 21 | bool True |
|
||||
| 22 | bool False |
|
||||
| 22 | bool True |
|
||||
| 25 | bool False |
|
||||
| 26 | bool False |
|
||||
| 27 | bool True |
|
||||
| 28 | bool True |
|
||||
| 29 | bool False |
|
||||
| 30 | bool True |
|
||||
| 33 | bool False |
|
||||
| 34 | bool True |
|
||||
| 35 | bool False |
|
||||
| 36 | bool False |
|
||||
| 37 | bool True |
|
||||
| 38 | bool True |
|
||||
| 2 | file://:0:0:0:0 | bool True |
|
||||
| 3 | file://:0:0:0:0 | bool False |
|
||||
| 6 | file://:0:0:0:0 | bool True |
|
||||
| 7 | file://:0:0:0:0 | bool True |
|
||||
| 8 | file://:0:0:0:0 | bool True |
|
||||
| 9 | file://:0:0:0:0 | bool False |
|
||||
| 19 | file://:0:0:0:0 | bool False |
|
||||
| 19 | file://:0:0:0:0 | bool True |
|
||||
| 20 | file://:0:0:0:0 | bool False |
|
||||
| 20 | file://:0:0:0:0 | bool True |
|
||||
| 21 | file://:0:0:0:0 | bool False |
|
||||
| 21 | file://:0:0:0:0 | bool True |
|
||||
| 22 | file://:0:0:0:0 | bool False |
|
||||
| 22 | file://:0:0:0:0 | bool True |
|
||||
| 25 | file://:0:0:0:0 | bool False |
|
||||
| 26 | file://:0:0:0:0 | bool False |
|
||||
| 27 | file://:0:0:0:0 | bool True |
|
||||
| 28 | file://:0:0:0:0 | bool True |
|
||||
| 29 | file://:0:0:0:0 | bool False |
|
||||
| 30 | file://:0:0:0:0 | bool True |
|
||||
| 33 | file://:0:0:0:0 | bool False |
|
||||
| 34 | file://:0:0:0:0 | bool True |
|
||||
| 35 | file://:0:0:0:0 | bool False |
|
||||
| 36 | file://:0:0:0:0 | bool False |
|
||||
| 37 | file://:0:0:0:0 | bool True |
|
||||
| 38 | file://:0:0:0:0 | bool True |
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
| class Derived4 | [Derived4, Derived3, Derived2, Derived1, Base, object] |
|
||||
| class Derived5 | [Derived5, Derived1, Base, object] |
|
||||
| class Derived6 | [Derived6, Derived5, Derived2, Derived1, Base, object] |
|
||||
| class Missing1 | [Missing1, UNKNOWN, object] |
|
||||
| class Missing2 | [Missing2, Base, UNKNOWN, object] |
|
||||
| class Missing3 | [Missing3, UNKNOWN, Base, object] |
|
||||
| class Missing1 | [Missing1, ??, object] |
|
||||
| class Missing2 | [Missing2, Base, ??, object] |
|
||||
| class Missing3 | [Missing3, ??, Base, object] |
|
||||
| class Wrong1 | [Wrong1, Derived5, Derived2, Derived1, Base, object] |
|
||||
| class Wrong2 | [Wrong2, Derived3, Derived2, Derived1, Base, object] |
|
||||
|
||||
@@ -9,8 +9,6 @@ class UnknownType extends UnknownClassInternal {
|
||||
|
||||
override string toString() { result = "*UNKNOWN TYPE" }
|
||||
|
||||
override string getName() { result = "UNKNOWN" }
|
||||
|
||||
}
|
||||
|
||||
from ClassObjectInternal c
|
||||
|
||||
@@ -9,8 +9,6 @@ class UnknownType extends UnknownClassInternal {
|
||||
|
||||
override string toString() { result = "*UNKNOWN TYPE" }
|
||||
|
||||
override string getName() { result = "UNKNOWN" }
|
||||
|
||||
}
|
||||
|
||||
from PythonClassObjectInternal cls
|
||||
|
||||
@@ -7,8 +7,6 @@ class UnknownType extends UnknownClassInternal {
|
||||
|
||||
override string toString() { result = "*UNKNOWN TYPE" }
|
||||
|
||||
override string getName() { result = "UNKNOWN" }
|
||||
|
||||
}
|
||||
|
||||
from ClassObject cls
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
| builtin-class dict | builtin-class dict |
|
||||
| builtin-class dict | builtin-class list |
|
||||
| builtin-class int | (builtin-class float, builtin-class dict, ) |
|
||||
| builtin-class int | (builtin-class list, builtin-class int, ) |
|
||||
| builtin-class int | (builtin-class list, builtin-class int, ) |
|
||||
| builtin-class int | builtin-class dict |
|
||||
| builtin-class int | builtin-class float |
|
||||
| builtin-class int | builtin-class int |
|
||||
| builtin-class int | builtin-class list |
|
||||
| builtin-class int | builtin-class object |
|
||||
| builtin-class int | builtin-class tuple |
|
||||
| builtin-class tuple | builtin-class int |
|
||||
| builtin-class tuple | builtin-class tuple |
|
||||
| file://:0:0:0:0 | builtin-class dict | file://:0:0:0:0 | builtin-class dict |
|
||||
| file://:0:0:0:0 | builtin-class dict | file://:0:0:0:0 | builtin-class list |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class dict |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class float |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class int |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class list |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class object |
|
||||
| file://:0:0:0:0 | builtin-class int | file://:0:0:0:0 | builtin-class tuple |
|
||||
| file://:0:0:0:0 | builtin-class int | test.py:14:23:14:31 | (builtin-class list, builtin-class int, ) |
|
||||
| file://:0:0:0:0 | builtin-class int | test.py:15:29:15:37 | (builtin-class list, builtin-class int, ) |
|
||||
| file://:0:0:0:0 | builtin-class int | test.py:16:25:16:35 | (builtin-class float, builtin-class dict, ) |
|
||||
| file://:0:0:0:0 | builtin-class tuple | file://:0:0:0:0 | builtin-class int |
|
||||
| file://:0:0:0:0 | builtin-class tuple | file://:0:0:0:0 | builtin-class tuple |
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
| class A | Missing base 0 |
|
||||
| class B | Failed inference for base class at position 0 |
|
||||
| class C | Failed inference for base class at position 0 |
|
||||
| class D | Duplicate bases classes |
|
||||
| class E | Duplicate bases classes |
|
||||
| class G | Failed inference for base class at position 0 |
|
||||
| class H | Failed inference for base class at position 0 |
|
||||
| class J | Missing base 0 |
|
||||
| class L | Failed inference for base class at position 0 |
|
||||
| class M | Failed inference for base class at position 0 |
|
||||
| class N | Failed inference for base class at position 0 |
|
||||
| class R | Failed inference for base class at position 0 |
|
||||
| class S | Failed inference for base class at position 0 |
|
||||
| class T | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:33:1:33:11 | class A | Missing base 0 |
|
||||
| circular_inheritance.py:37:1:37:11 | class B | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:40:1:40:72 | class D | Duplicate bases classes |
|
||||
| circular_inheritance.py:43:1:43:41 | class E | Duplicate bases classes |
|
||||
| circular_inheritance.py:47:1:47:19 | class G | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:50:1:50:19 | class J | Missing base 0 |
|
||||
| circular_inheritance.py:54:1:54:11 | class M | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:57:1:57:11 | class L | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:61:1:61:19 | class S | Failed inference for base class at position 0 |
|
||||
| circular_inheritance.py:64:1:64:19 | class R | Failed inference for base class at position 0 |
|
||||
| mutual_inheritance.py:4:1:4:11 | class C | Failed inference for base class at position 0 |
|
||||
| mutual_inheritance.py:8:1:8:19 | class H | Failed inference for base class at position 0 |
|
||||
| mutual_inheritance.py:12:1:12:11 | class N | Failed inference for base class at position 0 |
|
||||
| mutual_inheritance.py:15:1:15:19 | class T | Failed inference for base class at position 0 |
|
||||
|
||||
Reference in New Issue
Block a user