mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
linter: skip native API check for more UEFI routines
This commit is contained in:
@@ -571,6 +571,8 @@ class FeatureNtdllNtoskrnlApi(Lint):
|
|||||||
"RtlCreateUserProcess",
|
"RtlCreateUserProcess",
|
||||||
"NtProtectVirtualMemory",
|
"NtProtectVirtualMemory",
|
||||||
"NtEnumerateSystemEnvironmentValuesEx",
|
"NtEnumerateSystemEnvironmentValuesEx",
|
||||||
|
"NtQuerySystemEnvironmentValueEx",
|
||||||
|
"NtQuerySystemEnvironmentValue",
|
||||||
):
|
):
|
||||||
# ntoskrnl.exe does not export these routines
|
# ntoskrnl.exe does not export these routines
|
||||||
continue
|
continue
|
||||||
@@ -581,6 +583,7 @@ class FeatureNtdllNtoskrnlApi(Lint):
|
|||||||
"KeStackAttachProcess",
|
"KeStackAttachProcess",
|
||||||
"ObfDereferenceObject",
|
"ObfDereferenceObject",
|
||||||
"KeUnstackDetachProcess",
|
"KeUnstackDetachProcess",
|
||||||
|
"ExGetFirmwareEnvironmentVariable",
|
||||||
):
|
):
|
||||||
# ntdll.dll does not export these routines
|
# ntdll.dll does not export these routines
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user