mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-31 20:29:46 +02:00
General code refactor.
This commit is contained in:
+2
-2
@@ -113,14 +113,14 @@ def test_translation():
|
||||
a, b = intel._translate(val)
|
||||
print(hex(val), hex(a), hex(b))
|
||||
# print(bin(0x39000), bin(0xffab8020))
|
||||
#print(hex(intel.translate(0xffab8020)))
|
||||
# print(hex(intel.translate(0xffab8020)))
|
||||
|
||||
|
||||
# TODO:
|
||||
#
|
||||
# X - Config system
|
||||
# X - Dataout Tree/List input/output
|
||||
# - Plugins taking TranslationLayers
|
||||
# - Plugins taking TranslationLayers
|
||||
# - Plugins
|
||||
# - Architectures
|
||||
# - Scanning Framework
|
||||
|
||||
@@ -9,7 +9,7 @@ from volatility.framework import validity
|
||||
from volatility.framework.interfaces import context as context_module
|
||||
|
||||
#
|
||||
# Plugins
|
||||
# Plugins
|
||||
# - Take in relevant number of TranslationLayers (of specified type)
|
||||
# - Outputs TreeGrid
|
||||
#
|
||||
|
||||
@@ -76,8 +76,8 @@ class SymbolTableInterface(validity.ValidityRoutines):
|
||||
# """Returns the number of items in the symbol list"""
|
||||
# return len(self.structures)
|
||||
#
|
||||
# def __getitem__(self, key):
|
||||
# """Resolves a symbol name into an object template
|
||||
# def __getitem__(self, key):
|
||||
# """Resolves a symbol name into an object template
|
||||
#
|
||||
# Note, this method cannot sub-resolve throughout a whole symbol space
|
||||
# """
|
||||
|
||||
@@ -5,10 +5,13 @@ import os
|
||||
import sys
|
||||
import logging
|
||||
import inspect
|
||||
|
||||
import volatility.plugins as plugins
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def class_subclasses(cls):
|
||||
"""Returns all the (recursive) subclasses of a given class"""
|
||||
if not inspect.isclass(cls):
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
|
||||
import volatility.framework.interfaces.plugins as plugins
|
||||
|
||||
class pslist(plugins.PluginInterface):
|
||||
|
||||
class pslist(plugins.PluginInterface):
|
||||
@classmethod
|
||||
def determine_inputs(cls):
|
||||
return {"primary":"Intel"}
|
||||
return {"primary": "Intel"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user