Add dummy stub for NtFlushInstructionCache

This commit is contained in:
ahm3dgg
2026-01-07 20:21:19 +02:00
parent 0b47eb77f1
commit 49ae9ef68a
3 changed files with 15 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ namespace
auto file = utils::io::read_file(known_dll_path);
{
section s;
s.file_name = known_dll_path.u16string();
s.file_name = (system_root_path / known_dll_name).u16string();
s.maximum_size = page_align_up(std::filesystem::file_size(s.file_name));
s.allocation_attributes = SEC_IMAGE;
s.section_page_protection = PAGE_EXECUTE;
@@ -354,7 +354,7 @@ namespace
auto known_dll_dep_file = utils::io::read_file(known_dll_dep_path);
section s;
s.file_name = known_dll_dep_path.u16string();
s.file_name = (system_root_path / known_dll_dep_name_16).u16string();
s.maximum_size = page_align_up(std::filesystem::file_size(s.file_name));
s.allocation_attributes = SEC_IMAGE;
s.section_page_protection = PAGE_EXECUTE;