(&self, ptr: usize)
| 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 |
no outgoing calls
no test coverage detected