mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Fix up a remaining typo, and two typing questions.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user