Files
volatility3/volatility/framework/symbols/linux/__init__.py
T
Nick L. Petroni, Jr 5bb2aef9fc Created linux.proc.Maps plugin.
Added object extensions for the key structures. Also added
constants.linux, which will contain Linux-specific constants
that can't be extracted via dwarf.
2017-08-16 16:14:33 -04:00

27 lines
1.2 KiB
Python

from volatility.framework import exceptions
from volatility.framework.configuration import requirements
from volatility.framework.interfaces import symbols
from volatility.framework.symbols import intermed
from volatility.framework.symbols.linux import extensions
class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable):
provides = {"type": "interface"}
def __init__(self, context, config_path, name, isf_filepath):
super().__init__(context = context, config_path = config_path, name = name, isf_filepath = isf_filepath)
# Set-up Linux specific types
self.set_type_class('file', extensions.struct_file)
self.set_type_class('list_head', extensions.list_head)
self.set_type_class('mm_struct', extensions.mm_struct)
self.set_type_class('super_block', extensions.super_block)
self.set_type_class('task_struct', extensions.task_struct)
self.set_type_class('vm_area_struct', extensions.vm_area_struct)
@classmethod
def get_requirements(cls):
return [requirements.StringRequirement("isf_filepath",
description = "JSON file containing the symbols encoded in the Intermediate Symbol Format")]