mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-30 11:49:42 +02:00
Deprecate/remove 'provides' attribute.
This commit is contained in:
@@ -279,8 +279,6 @@ class TranslationLayerInterface(DataLayerInterface, metaclass = ABCMeta):
|
||||
"""Provides a layer that translates or transforms another layer or layers. Translation layers always depend on
|
||||
another layer (typically translating offsets in a virtual offset space into a smaller physical offset space).
|
||||
"""
|
||||
# Unfortunately class attributes can't easily be inheritted from parent classes
|
||||
provides = {"type": "interface"}
|
||||
|
||||
@abstractmethod
|
||||
def mapping(self,
|
||||
|
||||
@@ -20,7 +20,6 @@ class LimeLayer(segmented.SegmentedLayer):
|
||||
physical memory images where there are large holes in the physical
|
||||
address space"""
|
||||
|
||||
provides = {"type": "physical"}
|
||||
priority = 21
|
||||
|
||||
MAGIC = 0x4c694d45
|
||||
|
||||
@@ -7,7 +7,6 @@ from volatility.framework.configuration import requirements
|
||||
class BufferDataLayer(interfaces.layers.DataLayerInterface):
|
||||
"""A DataLayer class backed by a buffer in memory, designed for testing and swift data access"""
|
||||
|
||||
provides = {"type": "physical"}
|
||||
priority = 10
|
||||
|
||||
def __init__(self,
|
||||
@@ -58,7 +57,6 @@ class BufferDataLayer(interfaces.layers.DataLayerInterface):
|
||||
class FileLayer(interfaces.layers.DataLayerInterface):
|
||||
"""a DataLayer backed by a file on the filesystem"""
|
||||
|
||||
provides = {"type": "physical"}
|
||||
priority = 20
|
||||
|
||||
def __init__(self,
|
||||
|
||||
@@ -9,7 +9,6 @@ from volatility.framework.symbols import native
|
||||
|
||||
|
||||
class VmwareLayer(segmented.SegmentedLayer):
|
||||
provides = {"type": "physical"}
|
||||
priority = 22
|
||||
|
||||
header_structure = "<4sII"
|
||||
|
||||
@@ -8,7 +8,6 @@ from volatility.framework.symbols.windows.extensions import registry
|
||||
|
||||
|
||||
class WindowsKernelIntermedSymbols(intermed.IntermediateSymbolTable):
|
||||
provides = {"type": "interface"}
|
||||
|
||||
def __init__(self,
|
||||
context: interfaces.context.ContextInterface,
|
||||
|
||||
Reference in New Issue
Block a user