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

Method in_lin_mem

src/runtime.rs:71–73  ·  view source on GitHub ↗
(&self, ptr: SboxPtr)

Source from the content-addressed store, hash-verified

69 #[pure]
70 #[ensures((result == true) ==> (ptr as usize >= 0) && (ptr as usize) < self.memlen)]
71 pub fn in_lin_mem(&self, ptr: SboxPtr) -> bool {
72 (ptr as usize >= 0) && (ptr as usize) < self.memlen
73 }
74
75 #[with_ghost_var(trace: &Trace)]
76 #[pure]

Callers 1

fits_in_lin_memMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected