MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / CallGraph

Class CallGraph

src/analysis/callgraph/mod.rs:69–71  ·  view source on GitHub ↗

CallGraph The nodes of CallGraph are instances. The directed edges are CallSite Locations. e.g., `Instance1--|[CallSite1, CallSite2]|-->Instance2` denotes `Instance1` calls `Instance2` at locations `Callsite1` and `CallSite2`.

Source from the content-addressed store, hash-verified

67/// The nodes of CallGraph are instances.
68/// The directed edges are CallSite Locations.
69/// e.g., `Instance1--|[CallSite1, CallSite2]|-->Instance2`
70/// denotes `Instance1` calls `Instance2` at locations `Callsite1` and `CallSite2`.
71pub struct CallGraph<'tcx> {
72 pub graph: Graph<CallGraphNode<'tcx>, Vec<CallSiteLocation>, Directed>,
73}
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected