v2 Stage 3: L3 intraprocedural CFG/CDG/DDG#79
Open
rahlk wants to merge 10 commits into
Open
Conversation
…cal); keep global_id for neo4j
Rewrite _project_program_graphs to project each callable's v2 body/cfg/cdg/ddg (populated at L3 by emit_l3_body) instead of the deleted app.program_graphs. PyCFGNode merge keys are the global ordinal <callable can:// id>@<local body key> (agreeing with IdentityMap.global_id), so the JSON and Neo4j projections land on one node identity. Delete the dead _cfg_node_ref/_signature_modules and re-add the _project_program_graphs call in project().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #69. Stacked on
feat/v2-stage2-l2.Stage 3 — L3 intraprocedural dataflow:
"2:4"/"@entry"; +global_id<callable-id>@<local>for Neo4j).SyntacticOracle(may_alias=identity) + factoredbuild_function_pdgs(intraprocedural; the L4 SDG path inbuild_program_graphsis preserved).emit_l3_bodypopulates each callable'sbody(statements +@entry/@exit) andcfg/cdg/ddg(syntactic,prov:["ssa"]) at-a 3; L1callnodes preserved (L1 ⊆ L3).--graphsgating (sdgrequires-a 4); Neo4j CPG overlay re-enabled (PyCFGNodekeyed by global ordinal); cross-level cache-leak fix.sample_graph_appfixture + un-skipped the CPG suite; L3 backward-slice gate +L2 ⊆ L3superset + conformance formax_level 3.74/74 (v2 + intraprocedural dataflow suites).
Closes #73.