From dfaaf1e4555843ebecf4d63bd9380d560f484108 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 13 Dec 2018 00:59:17 +0000 Subject: [PATCH] Fix up some things missed in the master refactor. --- volatility/framework/symbols/windows/extensions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility/framework/symbols/windows/extensions/__init__.py b/volatility/framework/symbols/windows/extensions/__init__.py index f014c7413..48b73b0be 100644 --- a/volatility/framework/symbols/windows/extensions/__init__.py +++ b/volatility/framework/symbols/windows/extensions/__init__.py @@ -1,8 +1,8 @@ import collections.abc +import datetime import functools import logging import typing -import datetime from volatility.framework import constants, exceptions, interfaces, objects, renderers, symbols from volatility.framework.layers import intel @@ -85,7 +85,7 @@ class _POOL_HEADER(objects.Struct): # use the bottom up approach for windows 7 and earlier else: type_size = self._context.symbol_space.get_type(symbol_table_name + constants.BANG + type_name).size - rounded_size = objects_utility.round(type_size, alignment, up = True) + rounded_size = conversion.round(type_size, alignment, up = True) mem_object = self._context.object(symbol_table_name + constants.BANG + type_name, layer_name = self.vol.layer_name, @@ -566,7 +566,7 @@ class _EPROCESS(generic.GenericIntelProcess, ExecutiveObject): """Determine if the object is valid""" try: - name = objects_utility.array_to_string(self.ImageFileName) + name = objects.utility.array_to_string(self.ImageFileName) if not name or len(name) == 0 or name[0] == "\x00": return False