Deprecate/remove 'provides' attribute.

This commit is contained in:
Mike Auty
2018-04-26 12:31:33 +01:00
parent 623180ddbd
commit 556fa29ada
5 changed files with 0 additions and 7 deletions
@@ -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,
-1
View File
@@ -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
-2
View File
@@ -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,
-1
View File
@@ -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,