[Core] BaseHeap::QueryBaseAndSize

This commit is contained in:
DrChat
2018-02-10 21:58:44 -06:00
parent 44e03762f6
commit d0460122f4
2 changed files with 17 additions and 0 deletions

View File

@@ -144,6 +144,9 @@ class BaseHeap {
// Queries the size of the region containing the given address.
bool QuerySize(uint32_t address, uint32_t* out_size);
// Queries the base and size of a region containing the given address.
bool QueryBaseAndSize(uint32_t* in_out_address, uint32_t* out_size);
// Queries the current protection mode of the region containing the given
// address.
bool QueryProtect(uint32_t address, uint32_t* out_protect);