Expand description
SCIP-based call edge extraction.
Uses rust-analyzer’s SCIP output to derive high-fidelity Calls edges.
SCIP provides compiler-quality definition/reference data; we correlate
references inside function body ranges to produce call edges.
§Pipeline
- Run
rust-analyzer scip .on the target crate (external process) - Parse the SCIP protobuf output
- Build a map: symbol → definition location (file + range)
- For each function body, find all reference occurrences
- Match references to known definitions → emit
CodeEdge::Calls
Structs§
- Scip
Call Result - Result of SCIP-based call extraction.
Functions§
- extract_
calls_ from_ scip - Extract call edges from a SCIP index file, mapping to existing CodeNodes.
- extract_
scip_ call_ edges - Generate SCIP index and extract call edges in one step.
- generate_
scip_ index - Run
rust-analyzer scipon a crate directory and return the SCIP index path.