MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / executable

Method executable

os/src/mm/page_table.rs:50–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

48 (self.flags() & PTEFlags::W) != PTEFlags::empty()
49 }
50 pub fn executable(&self) -> bool {
51 (self.flags() & PTEFlags::X) != PTEFlags::empty()
52 }
53}
54
55pub struct PageTable {

Callers

nothing calls this directly

Calls 1

flagsMethod · 0.80

Tested by

no test coverage detected