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

Method new

src/analysis/pointsto/mod.rs:58–64  ·  view source on GitHub ↗
(body: &'a Body<'tcx>, tcx: TyCtxt<'tcx>)

Source from the content-addressed store, hash-verified

56
57impl<'a, 'tcx> Andersen<'a, 'tcx> {
58 pub fn new(body: &'a Body<'tcx>, tcx: TyCtxt<'tcx>) -> Self {
59 Self {
60 body,
61 tcx,
62 pts: Default::default(),
63 }
64 }
65
66 pub fn analyze(&mut self) {
67 let mut collector = ConstraintGraphCollector::new(self.body, self.tcx);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected