Files
codeql/python/ql/test/library-tests/frameworks/modeling-example/NaiveModel.expected
yoff 7bb9aebe97 Python: fix library-test compile errors and rebless after CFG migration
Library-test compile fixes after the shared-CFG migration:
- PointsTo/global, PointsTo/local: use `f.getNode() = s.getValue()`
  instead of `s.getValue().getAFlowNode() = f` (the new CFG does not
  surface getAFlowNode on AST nodes).
- PointsTo/new/ImpliesDataflow: bridge new Cfg::ControlFlowNode to the
  legacy ControlFlowNodeWithPointsTo via AST identity.
- frameworks/aiohttp + frameworks/modeling-example: qualify CallNode /
  NameNode / AttrNode casts with Cfg:: now that those names live in
  the new CFG facade.

Rebless 4 expected files for toString-only differences (renamed CFG
positions like 'CFG node for foo' vs 'foo' — no semantic change):
ImpliesDataflow, EnclosingCallable, NaiveModel, ProperModel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 07:39:44 +00:00

47 lines
3.5 KiB
Plaintext

edges
| test.py:21:11:21:18 | After source() | test.py:22:10:22:24 | After Attribute() | provenance | AdditionalTaintStep |
| test.py:29:11:29:18 | After source() | test.py:32:5:32:7 | val | provenance | AdditionalTaintStep |
| test.py:32:5:32:7 | val | test.py:33:10:33:12 | val | provenance | |
| test.py:40:5:40:7 | val | test.py:41:10:41:12 | val | provenance | |
| test.py:40:11:40:25 | After Attribute() | test.py:40:5:40:7 | val | provenance | |
| test.py:45:11:45:18 | After source() | test.py:40:11:40:25 | After Attribute() | provenance | AdditionalTaintStep |
| test.py:53:5:53:7 | val | test.py:54:10:54:12 | val | provenance | |
| test.py:53:11:53:25 | After Attribute() | test.py:53:5:53:7 | val | provenance | |
| test.py:70:11:70:18 | After source() | test.py:53:11:53:25 | After Attribute() | provenance | AdditionalTaintStep |
| test.py:78:5:78:7 | val | test.py:79:10:79:12 | val | provenance | |
| test.py:78:11:78:14 | After bm() | test.py:78:5:78:7 | val | provenance | |
| test.py:83:11:83:18 | After source() | test.py:78:11:78:14 | After bm() | provenance | AdditionalTaintStep |
| test.py:90:5:90:7 | val | test.py:91:10:91:12 | val | provenance | |
| test.py:90:11:90:14 | After bm() | test.py:90:5:90:7 | val | provenance | |
| test.py:107:11:107:18 | After source() | test.py:90:11:90:14 | After bm() | provenance | AdditionalTaintStep |
nodes
| test.py:21:11:21:18 | After source() | semmle.label | After source() |
| test.py:22:10:22:24 | After Attribute() | semmle.label | After Attribute() |
| test.py:29:11:29:18 | After source() | semmle.label | After source() |
| test.py:32:5:32:7 | val | semmle.label | val |
| test.py:33:10:33:12 | val | semmle.label | val |
| test.py:40:5:40:7 | val | semmle.label | val |
| test.py:40:11:40:25 | After Attribute() | semmle.label | After Attribute() |
| test.py:41:10:41:12 | val | semmle.label | val |
| test.py:45:11:45:18 | After source() | semmle.label | After source() |
| test.py:53:5:53:7 | val | semmle.label | val |
| test.py:53:11:53:25 | After Attribute() | semmle.label | After Attribute() |
| test.py:54:10:54:12 | val | semmle.label | val |
| test.py:70:11:70:18 | After source() | semmle.label | After source() |
| test.py:78:5:78:7 | val | semmle.label | val |
| test.py:78:11:78:14 | After bm() | semmle.label | After bm() |
| test.py:79:10:79:12 | val | semmle.label | val |
| test.py:83:11:83:18 | After source() | semmle.label | After source() |
| test.py:90:5:90:7 | val | semmle.label | val |
| test.py:90:11:90:14 | After bm() | semmle.label | After bm() |
| test.py:91:10:91:12 | val | semmle.label | val |
| test.py:107:11:107:18 | After source() | semmle.label | After source() |
subpaths
#select
| test.py:22:10:22:24 | After Attribute() | test.py:21:11:21:18 | After source() | test.py:22:10:22:24 | After Attribute() | test flow (naive): test_simple |
| test.py:33:10:33:12 | val | test.py:29:11:29:18 | After source() | test.py:33:10:33:12 | val | test flow (naive): test_alias |
| test.py:41:10:41:12 | val | test.py:45:11:45:18 | After source() | test.py:41:10:41:12 | val | test flow (naive): test_across_functions |
| test.py:54:10:54:12 | val | test.py:70:11:70:18 | After source() | test.py:54:10:54:12 | val | test flow (naive): test_deeply_nested |
| test.py:79:10:79:12 | val | test.py:83:11:83:18 | After source() | test.py:79:10:79:12 | val | test flow (naive): test_pass_bound_method |
| test.py:91:10:91:12 | val | test.py:107:11:107:18 | After source() | test.py:91:10:91:12 | val | test flow (naive): test_deeply_nested_bound_method |