General code refactor.

This commit is contained in:
Mike Auty
2014-12-30 03:43:36 +00:00
parent 3395ade2fa
commit 38b0791233
5 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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
#
+2 -2
View File
@@ -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
# """
+3
View File
@@ -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):
+2 -3
View File
@@ -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"}