Try to fix the build

This commit is contained in:
66hh
2025-12-30 17:40:16 +08:00
parent c144f2f438
commit d830bea3c5
3 changed files with 2 additions and 5 deletions

View File

@@ -5,8 +5,7 @@
namespace syscalls
{
NTSTATUS handle_NtRaiseHardError(const syscall_context& c, const NTSTATUS error_status, const ULONG number_of_parameters,
const emulator_object<UNICODE_STRING<EmulatorTraits<Emu64>>>
/*unicode_string_parameter_mask*/,
const emulator_object<UNICODE_STRING<EmulatorTraits<Emu64>>> /*unicode_string_parameter_mask*/,
const uint64_t parameters, const HARDERROR_RESPONSE_OPTION /*valid_response_option*/,
const emulator_object<HARDERROR_RESPONSE> response)
{
@@ -17,7 +16,7 @@ namespace syscalls
if (error_status & STATUS_SERVICE_NOTIFICATION && number_of_parameters >= 3)
{
ULONG_PTR params[3] = {0, 0, 0};
uint64_t params[3] = {0, 0, 0};
if (c.emu.try_read_memory(parameters, &params, sizeof(params)))
{

View File

@@ -6,7 +6,6 @@ namespace syscalls
{
NTSTATUS handle_NtClose(const syscall_context& c, const handle h)
{
const auto value = h.value;
if (h.h == 0xDEADC0DE)

View File

@@ -283,7 +283,6 @@ namespace syscalls
if (info_class == ProcessInstrumentationCallback)
{
if (process_information_length != sizeof(PROCESS_INSTRUMENTATION_CALLBACK_INFORMATION))
{
return STATUS_BUFFER_OVERFLOW;