Files
codeql/python/ql/test/query-tests/Security/CWE-798-HardcodedCredentials/HardcodedCredentials.expected
yoff cf28c32fd8 Python: rebless toString churn from shared-CFG migration
The shared CFG library overrides ControlFlowNode.toString() as 'final'
(shared/controlflow/codeql/controlflow/Cfg.qll:1217), so the legacy
'ControlFlowNode for X' prefix is gone — the new toString returns just
'X' for normal nodes and 'After X' for after-nodes. This produces a
large cosmetic diff in test expected files with no semantic change.

Mass-rebless 78 .expected files whose actual output differs from the
checked-in expected only by this rename. Each file was verified to be
identical after normalising 'ControlFlowNode for ' and 'After ' away
from both sides.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 21:09:49 +00:00

17 lines
1.1 KiB
Plaintext

edges
| test.py:5:1:5:8 | USERNAME | test.py:14:18:14:25 | USERNAME | provenance | |
| test.py:5:12:5:24 | StringLiteral | test.py:5:1:5:8 | USERNAME | provenance | |
| test.py:6:1:6:8 | PASSWORD | test.py:15:18:15:25 | PASSWORD | provenance | |
| test.py:6:12:6:25 | StringLiteral | test.py:6:1:6:8 | PASSWORD | provenance | |
nodes
| test.py:5:1:5:8 | USERNAME | semmle.label | USERNAME |
| test.py:5:12:5:24 | StringLiteral | semmle.label | StringLiteral |
| test.py:6:1:6:8 | PASSWORD | semmle.label | PASSWORD |
| test.py:6:12:6:25 | StringLiteral | semmle.label | StringLiteral |
| test.py:14:18:14:25 | USERNAME | semmle.label | USERNAME |
| test.py:15:18:15:25 | PASSWORD | semmle.label | PASSWORD |
subpaths
#select
| test.py:5:12:5:24 | StringLiteral | test.py:5:12:5:24 | StringLiteral | test.py:14:18:14:25 | USERNAME | This hardcoded value is $@. | test.py:14:18:14:25 | USERNAME | used as credentials |
| test.py:6:12:6:25 | StringLiteral | test.py:6:12:6:25 | StringLiteral | test.py:15:18:15:25 | PASSWORD | This hardcoded value is $@. | test.py:15:18:15:25 | PASSWORD | used as credentials |