Fix up a remaining typo, and two typing questions.

This commit is contained in:
Mike Auty
2018-11-08 00:19:17 +00:00
committed by ikelos
parent db7320e426
commit ac0f1a2cd0
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -295,13 +295,11 @@ class LinuxUtilities(object):
return ret
# IKELOS: 'task' will always be a task_struct as defined in the profile json. Do I type this in the parameter list? If so, how?
# IKELOS: what should the type of 'config' be?
@classmethod
def files_descriptors_for_process(cls,
config,
config: interfaces.configuration.HierarchicalDict,
context: interfaces.context.ContextInterface,
task):
task: interfaces.objects.ObjectInterface):
fd_table = task.files.get_fds()
if fd_table == 0:
+1 -1
View File
@@ -5,7 +5,7 @@ import logging
import typing
from volatility.framework import constants, exceptions, interfaces, objects, validity
from volatility.framework.symbols import native, windows, linux
from volatility.framework.symbols import native, windows, linux, utility
vollog = logging.getLogger(__name__)