Rename is_within method to contains

This commit is contained in:
momo5502
2025-09-08 18:40:25 +02:00
parent 00680429d8
commit a671deb383
5 changed files with 11 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ struct mapped_module
bool is_static{false};
bool is_within(const uint64_t address) const
bool contains(const uint64_t address) const
{
return address >= this->image_base && address < (this->image_base + this->size_of_image);
}

View File

@@ -99,7 +99,7 @@ class module_manager
std::advance(upper_bound, -1);
if (upper_bound->second.is_within(address))
if (upper_bound->second.contains(address))
{
return upper_bound;
}