mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Python: Fully disallow API::moduleImport of module with dots
Inspired by discussion about this for MaD in https://github.com/github/codeql/pull/8883#discussion_r865858084
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
moduleImportWithDots
|
||||
| file://:0:0:0:0 | ModuleImport moduleImport("a").getMember("b").getMember("c").getMember("d") |
|
||||
doesntFullyWork
|
||||
| test.py:28:10:28:17 | ControlFlowNode for method() |
|
||||
works
|
||||
| test.py:25:6:25:18 | ControlFlowNode for Attribute() |
|
||||
| test.py:28:10:28:17 | ControlFlowNode for method() |
|
||||
|
||||
Reference in New Issue
Block a user