linter: skip native API check for more UEFI routines

This commit is contained in:
Willi Ballenthin
2023-08-02 12:54:03 +00:00
parent b2789f0df6
commit a538a7bbab

View File

@@ -571,6 +571,8 @@ class FeatureNtdllNtoskrnlApi(Lint):
"RtlCreateUserProcess",
"NtProtectVirtualMemory",
"NtEnumerateSystemEnvironmentValuesEx",
"NtQuerySystemEnvironmentValueEx",
"NtQuerySystemEnvironmentValue",
):
# ntoskrnl.exe does not export these routines
continue
@@ -581,6 +583,7 @@ class FeatureNtdllNtoskrnlApi(Lint):
"KeStackAttachProcess",
"ObfDereferenceObject",
"KeUnstackDetachProcess",
"ExGetFirmwareEnvironmentVariable",
):
# ntdll.dll does not export these routines
continue