MCPcopy Create free account
hub / github.com/PLSysSec/wave / lookup

Method lookup

src/fdmap.rs:60–62  ·  view source on GitHub ↗
(&self, index: SboxFd)

Source from the content-addressed store, hash-verified

58 #[pure]
59 #[requires (index < MAX_SBOX_FDS )]
60 pub fn lookup(&self, index: SboxFd) -> RuntimeResult<HostFd> {
61 vec_checked_lookup(&self.m, index)
62 }
63
64 #[with_ghost_var(trace: &Trace)]
65 #[external_calls(vec_checked_lookup)]

Callers 2

expand_symlinkFunction · 0.45
translate_iovsMethod · 0.45

Calls 1

vec_checked_lookupFunction · 0.85

Tested by

no test coverage detected