mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-25 19:14:52 +02:00
Refactor the plugin versioning to be simpler to define.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
from typing import Callable, Iterable, List, Any
|
||||
|
||||
import volatility.framework.interfaces.plugins as interfaces_plugins
|
||||
from volatility import classproperty
|
||||
from volatility.framework import renderers, interfaces, contexts
|
||||
from volatility.framework.automagic import linux
|
||||
from volatility.framework.configuration import requirements
|
||||
@@ -31,9 +30,7 @@ from volatility.framework.objects import utility
|
||||
class PsList(interfaces_plugins.PluginInterface):
|
||||
"""Lists the processes present in a particular linux memory image"""
|
||||
|
||||
@classproperty
|
||||
def version(cls):
|
||||
return (1, 0, 0)
|
||||
_version = (1, 0, 0)
|
||||
|
||||
@classmethod
|
||||
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
|
||||
|
||||
Reference in New Issue
Block a user