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

Method in_lin_mem_usize

src/runtime.rs:78–80  ·  view source on GitHub ↗
(&self, ptr: usize)

Source from the content-addressed store, hash-verified

76 #[pure]
77 #[ensures((result == true) ==> ptr >= 0 && ptr < self.memlen)]
78 pub fn in_lin_mem_usize(&self, ptr: usize) -> bool {
79 ptr >= 0 && ptr < self.memlen
80 }
81
82 /// Check whether buffer is entirely within sandbox
83 // Can I eliminate this in favor of fits_in_lin_mem_usize

Callers 1

fits_in_lin_mem_usizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected