Home
last modified time | relevance | path

Searched refs:Protection (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/cranelift/jit/src/memory/
H A Darena.rs19 target_prot: region::Protection,
24 fn new(ptr: *mut u8, len: usize, target_prot: region::Protection) -> Self { in new()
43 region::protect(self.ptr, self.len, region::Protection::READ_WRITE) in set_rw()
55 if self.target_prot == region::Protection::READ_EXECUTE { in finalize()
114 let mut alloc = region::alloc(size, region::Protection::NONE)?; in new_with_size()
130 protection: region::Protection, in allocate_inner() argument
172 target_prot: region::Protection, in allocate_segment() argument
229 JITMemoryKind::Executable => region::Protection::READ_EXECUTE, in allocate()
230 JITMemoryKind::Writable => region::Protection::READ_WRITE, in allocate()
231 JITMemoryKind::ReadOnly => region::Protection::READ, in allocate()
H A Dmod.rs60 region::protect(ptr, len, region::Protection::READ_EXECUTE).map_err(|e| { in set_readable_and_executable()
H A Dsystem.rs104 region::protect(self.ptr, self.len, region::Protection::READ_WRITE) in drop()
190 region::protect(ptr, len, region::Protection::READ).map_err(|e| { in set_readonly()
/wasmtime-44.0.1/docs/
H A Dexamples-mpk.md1 # Memory Protection Keys (MPK)
8 This example demonstrates using the [Memory Protection Keys](https://www.man7.org/linux/man-pages/m…
H A DSUMMARY.md24 - [Memory Protection Keys](./examples-mpk.md)