additional fixes

This commit is contained in:
Elad Levi
2025-04-28 15:07:03 +00:00
parent c938678272
commit 817bd5ce7f
@@ -18,8 +18,18 @@ class EtwPatch(interfaces.plugins.PluginInterface):
_required_framework_version = (2, 26, 0)
etw_functions = {
"ntdll.dll": ["EtwEventWrite", "EtwEventWriteFull", "NtTraceEvent"],
"advapi32.dll": ["EventWrite"],
"ntdll.dll": {
pe_symbols.wanted_names_identifier: [
"EtwEventWrite",
"EtwEventWriteFull",
"NtTraceEvent"
],
},
"advapi32.dll": {
pe_symbols.wanted_names_identifier:[
"EventWrite"
],
},
}
@classmethod
@@ -96,11 +106,6 @@ class EtwPatch(interfaces.plugins.PluginInterface):
)
except exceptions.InvalidAddressException:
vollog.debug(f"Invalid address when reading function {func_name} at {func_addr:#x} in process {proc_id}")
continue
except KeyError:
# Layer may no longer exist
vollog.debug(f"Layer {proc_layer_name} no longer exists for process {proc_id}")
continue
def run(self):
return renderers.TreeGrid(