From ca15abd8efd9dd4fb4236752d607985d087168f3 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 7 Dec 2025 11:22:37 +0100 Subject: [PATCH] Add missing syscalls --- src/windows-emulator/syscalls.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 5ac9f715..15cd7d67 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -1009,6 +1009,21 @@ namespace syscalls { return STATUS_NOT_SUPPORTED; } + + NTSTATUS handle_NtSetInformationDebugObject() + { + return STATUS_NOT_SUPPORTED; + } + + NTSTATUS handle_NtRemoveProcessDebug() + { + return STATUS_NOT_SUPPORTED; + } + + NTSTATUS handle_NtNotifyChangeDirectoryFileEx() + { + return STATUS_NOT_SUPPORTED; + } } void syscall_dispatcher::add_handlers(std::map& handler_mapping) @@ -1217,6 +1232,9 @@ void syscall_dispatcher::add_handlers(std::map& ha add_handler(NtAlpcCreateSecurityContext); add_handler(NtAlpcDeleteSecurityContext); add_handler(NtSetSecurityObject); + add_handler(NtSetInformationDebugObject); + add_handler(NtRemoveProcessDebug); + add_handler(NtNotifyChangeDirectoryFileEx); #undef add_handler }