Add exception tests

This commit is contained in:
momo5502
2024-10-30 15:24:29 +01:00
parent b8f126a316
commit e4a97e84b9
2 changed files with 53 additions and 4 deletions

View File

@@ -844,13 +844,15 @@ void windows_emulator::setup_hooks()
if (type == memory_violation_type::protection)
{
printf("Protection violation: 0x%llX (%zX) - %s at 0x%llX (%s)\n", address, size, permission.c_str(), ip,
name);
this->logger.print(color::gray, "Protection violation: 0x%llX (%zX) - %s at 0x%llX (%s)\n", address, size,
permission.c_str(), ip,
name);
}
else if (type == memory_violation_type::unmapped)
{
printf("Mapping violation: 0x%llX (%zX) - %s at 0x%llX (%s)\n", address, size, permission.c_str(), ip,
name);
this->logger.print(color::gray, "Mapping violation: 0x%llX (%zX) - %s at 0x%llX (%s)\n", address, size,
permission.c_str(), ip,
name);
}
if (this->fuzzing)