Vmmap custom
auto_explore = pwndbg.config.add_param('auto-explore-pages', 'warn', 'whether to try to infer page permissions when memory maps missing (can cause errors)', param_class=pwndbg.lib.config.PARAM_ENUM, enum_sequence=['yes', 'warn', 'no'])
module-attribute
¶
custom_pages: List[pwndbg.lib.memory.Page] = []
module-attribute
¶
explored_pages: List[pwndbg.lib.memory.Page] = []
module-attribute
¶
add_custom_page(page)
¶
clear_custom_page()
¶
clear_warn_cache()
¶
explore(address_maybe)
¶
Given a potential address, check to see what permissions it has.
Returns:
Type | Description |
---|---|
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.
find_boundaries(addr, name='', min=0)
¶
Given a single address, find all contiguous pages which are mapped.
get_custom_pages()
¶
Returns a tuple of Page
objects representing the memory mappings of the target, sorted by virtual address ascending.