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

Class ConstraintGraphCollector

src/analysis/pointsto/mod.rs:416–420  ·  view source on GitHub ↗

Generate `ConstraintGraph` by visiting MIR body.

Source from the content-addressed store, hash-verified

414
415/// Generate `ConstraintGraph` by visiting MIR body.
416struct ConstraintGraphCollector<'a, 'tcx> {
417 body: &'a Body<'tcx>,
418 tcx: TyCtxt<'tcx>,
419 graph: ConstraintGraph<'tcx>,
420}
421
422impl<'a, 'tcx> ConstraintGraphCollector<'a, 'tcx> {
423 fn new(body: &'a Body<'tcx>, tcx: TyCtxt<'tcx>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected