Store thread name and ignore guard pages for now

This commit is contained in:
momo5502
2024-10-23 16:07:21 +02:00
parent ebe0c47286
commit adf9713993
3 changed files with 39 additions and 4 deletions

View File

@@ -19,8 +19,10 @@ inline std::string get_permission_string(const memory_permission permission)
return res;
}
inline memory_permission map_nt_to_emulator_protection(const uint32_t nt_protection)
inline memory_permission map_nt_to_emulator_protection(uint32_t nt_protection)
{
nt_protection &= ~PAGE_GUARD; // TODO: Implement that
switch (nt_protection)
{
case PAGE_NOACCESS: