Workaround win32u only

This commit is contained in:
ahm3dgg
2026-01-09 03:28:35 +02:00
parent 37db1c635f
commit a728db63de
2 changed files with 3 additions and 3 deletions

View File

@@ -363,8 +363,8 @@ namespace syscalls
emulator_object<ULONG> return_length);
NTSTATUS handle_NtQuerySecurityAttributesToken();
NTSTATUS handle_NtAdjustPrivilegesToken();
NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, const handle process_handle,
const emulator_object<uint64_t> base_address, const uint64_t region_size);
NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, handle process_handle, const emulator_object<uint64_t> base_address,
uint64_t region_size);
NTSTATUS handle_NtQueryPerformanceCounter(const syscall_context& c, const emulator_object<LARGE_INTEGER> performance_counter,
const emulator_object<LARGE_INTEGER> performance_frequency)

View File

@@ -119,7 +119,7 @@ namespace syscalls
}
utils::string::to_lower_inplace(filename);
if (is_known_dll && (filename.starts_with(u"win32u.dll") || filename.starts_with(u"ntdll.dll")))
if (is_known_dll && (filename.starts_with(u"win32u.dll"))
{
return STATUS_OBJECT_NAME_NOT_FOUND;
}