mirror of
https://github.com/github/codeql.git
synced 2026-05-27 09:31:30 +02:00
Test-side changes accompanying the dataflow migration:
* Test queries (.ql) and shared test harness (TestSummaries,
TestTaintLib) qualify CFG / SSA types with Cfg:: / SsaImpl::,
bridge via AST (Name, Call, ...) instead of legacy NameNode /
CallNode, and switch GlobalSsaVariable / EssaVariable usages
to the new adapter API.
* .expected files updated for legitimate precision and toString
changes:
- phi-node def-use edges newly exposed in def_use_counts.
- scope-exit synthetic use surfaces one extra implicit use
in use-use-counts.
- For [empty]/[non-empty] outcome rows added in
EnclosingCallable.
- SsaSourceVariable / Global Variable label cosmetics
normalised throughout.
* Inline annotations:
- typetracking/test.py: removed MISSING:tracked on lines
93/95 (now found), added SPURIOUS:tracked on line 108
(decorator over-reach).
- global-flow/test.py: added SPURIOUS writes=g_mod on line
20 (correctly reports immediately-overwritten write).
- tainttracking/customSanitizer/test.py: marked
try/except: ensure_tainted(s) cases as MISSING: tainted
(no-raise CFG abstraction does not connect try body to
except body).
- coverage/test.py: marked
SINK(return_from_inner_scope([])) as
MISSING: flow=... pending closer investigation.
* regression/{dataflow,custom_dataflow}.expected: accept two
if/else cond-correlation over-reaches (documented limitation;
same imprecision applies under legacy semantics by design).
After this change the dataflow library-tests stand at 62 of 64
passing; the two remaining failures are tracked under the
ImportStarRefinement workstream.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
| module.py:1:13:1:18 | SOURCE | test.py:89:10:89:10 | t |
|
|
| module.py:1:13:1:18 | SOURCE | test.py:106:10:106:14 | After Attribute |
|
|
| module.py:1:13:1:18 | SOURCE | test.py:111:10:111:12 | After Attribute |
|
|
| module.py:1:13:1:18 | SOURCE | test.py:156:6:156:11 | unsafe |
|
|
| module.py:6:12:6:17 | SOURCE | test.py:101:10:101:10 | t |
|
|
| test.py:3:10:3:15 | SOURCE | test.py:3:10:3:15 | SOURCE |
|
|
| test.py:6:9:6:14 | SOURCE | test.py:7:10:7:10 | s |
|
|
| test.py:10:12:10:17 | SOURCE | test.py:13:10:13:12 | arg |
|
|
| test.py:10:12:10:17 | SOURCE | test.py:17:10:17:10 | t |
|
|
| test.py:20:9:20:14 | SOURCE | test.py:13:10:13:12 | arg |
|
|
| test.py:31:13:31:18 | SOURCE | test.py:33:16:33:16 | t |
|
|
| test.py:37:13:37:18 | SOURCE | test.py:41:14:41:14 | t |
|
|
| test.py:62:13:62:18 | SOURCE | test.py:13:10:13:12 | arg |
|
|
| test.py:67:13:67:18 | SOURCE | test.py:13:10:13:12 | arg |
|
|
| test.py:76:9:76:14 | SOURCE | test.py:78:10:78:10 | t |
|
|
| test.py:128:13:128:18 | SOURCE | test.py:132:14:132:14 | t |
|
|
| test.py:138:13:138:18 | SOURCE | test.py:142:16:142:16 | t |
|
|
| test.py:159:10:159:15 | SOURCE | test.py:160:14:160:14 | t |
|
|
| test.py:163:9:163:14 | SOURCE | test.py:165:12:165:12 | s |
|
|
| test.py:178:9:178:14 | SOURCE | test.py:180:14:180:14 | t |
|
|
| test.py:178:9:178:14 | SOURCE | test.py:182:16:182:16 | t |
|
|
| test.py:178:9:178:14 | SOURCE | test.py:184:16:184:16 | t |
|
|
| test.py:178:9:178:14 | SOURCE | test.py:186:14:186:14 | t |
|
|
| test.py:195:9:195:14 | SOURCE | test.py:197:14:197:14 | t |
|
|
| test.py:195:9:195:14 | SOURCE | test.py:199:14:199:14 | t |
|
|
| test.py:202:10:202:15 | SOURCE | test.py:204:14:204:14 | i |
|
|
| test.py:202:10:202:15 | SOURCE | test.py:205:10:205:10 | i |
|
|
| test.py:208:12:208:17 | SOURCE | test.py:214:14:214:14 | x |
|