class
MemPageManagerBasic manager for page permissions.
Contents
- Reference
❱ Base classes
- class Serializable
- Virtual interface that serializable classes must implement.
❱ Public functions
-
auto was_once_executable(addr_
t addr) -> bool - Return true if 'addr' belongs to a memory page that has had X permissions at some points. This function is useful to detect modifications to executable pages that have been lifted to IR so that the IR is re-generated upon runtime modification of the opcodes in the page.
-
auto is_mapped(addr_
t start, addr_ t end) -> bool - Return 'true' if all addresses in the range have at least one R/W/X permission flag.
-
auto is_unmapped(addr_
t start, addr_ t end) -> bool - Return 'true' if all addresses in the range have no permission flag.
- auto class_uid() const -> uid_t virtual
- Return the class uid (see ClassId enum)
-
void dump(serial::
Serializer&) const virtual - Dump the object contents in a serializer stream.
-
void load(serial::
Deserializer&) virtual - Restore an object from a deserializer stream.