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

Method store

toys/use-after-free/src/main.rs:45–47  ·  view source on GitHub ↗
(&self, owned: Option<Owned<T>>, ord: Ordering)

Source from the content-addressed store, hash-verified

43 self.ptr.load(ord)
44 }
45 fn store(&self, owned: Option<Owned<T>>, ord: Ordering) {
46 self.ptr.store(opt_owned_as_raw(&owned), ord);
47 }
48 }
49 let o = Obj::<Vec<i32>>::null();
50 let owned = Some(Owned { data: Vec::new() });

Callers 6

escape_to_paramFunction · 0.80
buggy_control_dep_boolFunction · 0.80
buggy_control_dep_i32Function · 0.80
buggy_data_dep_i32Function · 0.80
buggy_both_dep_i32Function · 0.80
maybe_false_positiveFunction · 0.80

Calls 1

opt_owned_as_rawFunction · 0.85

Tested by

no test coverage detected