mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-23 10:04:52 +02:00
22 lines
875 B
Python
22 lines
875 B
Python
from volatility.framework.configuration import requirements
|
|
from volatility.framework.symbols import intermed
|
|
from volatility.framework.symbols.windows import extensions
|
|
|
|
__author__ = 'mike'
|
|
|
|
|
|
class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable):
|
|
provides = {"type": "interface"}
|
|
|
|
def __init__(self, context, config_path, name, idd_filepath):
|
|
super().__init__(context = context, config_path = config_path, name = name, idd_filepath = idd_filepath)
|
|
|
|
# Set-up windows specific types
|
|
self.set_type_class('_ETHREAD', extensions._ETHREAD)
|
|
self.set_type_class('_LIST_ENTRY', extensions._LIST_ENTRY)
|
|
self.set_type_class('_EPROCESS', extensions._EPROCESS)
|
|
|
|
@classmethod
|
|
def get_requirements(cls):
|
|
return [requirements.StringRequirement("idd_filepath", description = "JSON file containnig the symbols")]
|