angr.storage.memory_mixins.paged_memory.privileged_mixin

class angr.storage.memory_mixins.paged_memory.privileged_mixin.PrivilegedPagingMixin

Bases: PagedMemoryMixin

A mixin for paged memory models which will raise SimSegfaultExceptions if STRICT_PAGE_ACCESS is enabled and a segfault condition is detected.

Segfault conditions include: - getting a page for reading which is non-readable - getting a page for writing which is non-writable - creating a page

The latter condition means that this should be inserted under any mixins which provide other implementations of _initialize_page.