MCPcopy Index your code
hub / github.com/Rust-API/Rust-API-Bypass-Checker / get

Method get

src/analysis/global_context.rs:21–23  ·  view source on GitHub ↗
(&self, def_id: DefId)

Source from the content-addressed store, hash-verified

19
20impl<'tcx> WtoCache<'tcx> {
21 pub fn get(&self, def_id: DefId) -> Option<&Wto<'tcx>> {
22 self.value.get(&def_id)
23 }
24
25 pub fn insert(&mut self, def_id: DefId, wto: Wto<'tcx>) {
26 self.value.insert(def_id, wto);

Callers 15

runMethod · 0.45
run_terminatorMethod · 0.45
check_overflowMethod · 0.45
newMethod · 0.45
get_wtoMethod · 0.45
get_nullnessMethod · 0.45
mainFunction · 0.45
resolve_entryFunction · 0.45
get_demoFunction · 0.45
mainFunction · 0.45
fooFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected