vmmap_custom ¤
Functions:
-
clear_warn_cache
– -
get_custom_pages
–Returns a tuple of
Page
objects representing the memory mappings of the -
add_custom_page
– -
clear_custom_page
– -
explore
–Given a potential address, check to see what permissions it has.
-
get_memory_flags
– -
find_boundaries
–Given a single address, find all contiguous pages
Attributes:
-
explored_pages
(list[Page]
) – -
custom_pages
(list[Page]
) – -
auto_explore
–
auto_explore module-attribute
¤
auto_explore = add_param(
"auto-explore-pages",
"warn",
"whether to try to infer page permissions when memory maps are missing",
param_class=PARAM_ENUM,
enum_sequence=["yes", "warn", "no"],
help_docstring="\nThis command can cause errors.\n",
)
get_custom_pages ¤
get_custom_pages() -> tuple[Page, ...]
Returns a tuple of Page
objects representing the memory mappings of the target, sorted by virtual address ascending.
explore ¤
explore(address_maybe: int) -> Page | None
Given a potential address, check to see what permissions it has.
Returns:
-
Page | None
–Page object
Note
Adds the Page object to a persistent list of pages which are only reset when the process dies. This means pages which are added this way will not be removed when unmapped.
Also assumes the entire contiguous section has the same permission.