mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-11 03:38:07 +00:00
Add createPythonCfgVisitor + python-harvest -- the most structurally divergent target (indentation blocks, elif, for/while-else, with, try/ except/except-group/else/finally, match/case, comprehensions, walrus), confirming the shared CfgBuilder/ControlFlowContext core carries no brace-family assumptions. for/while else-clause sits on the normal- completion edge (not break); with modeled as try/finally dispose; match has no fallthrough. Wire into pythonProvider. Every literal validated against tree-sitter-python via the probe. while True: keeps EXIT reverse-reachable (production CDG probe: 3 edges; fixture: 42 CDG edges). 37 real-parser tests; gate green; no regression (cfg unit 391, tsc clean). Gaps: async/generator suspension, comprehension scope over-approximation. No sites[] (taint substrate, separate). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| c-cpp-visitor.test.ts | ||
| cfg-builder.test.ts | ||
| control-dependence.test.ts | ||
| csharp-visitor.test.ts | ||
| emit-guard.test.ts | ||
| go-visitor.test.ts | ||
| harness.test.ts | ||
| harvest.test.ts | ||
| java-visitor.test.ts | ||
| opt-in.test.ts | ||
| post-dominators.test.ts | ||
| python-visitor.test.ts | ||
| reaching-defs.test.ts | ||
| typescript-visitor.test.ts | ||