mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Codebase: Minor LGTM issue fixes
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
import binascii
|
||||
import code
|
||||
import io
|
||||
import os
|
||||
import random
|
||||
import string
|
||||
import struct
|
||||
|
||||
@@ -13,7 +13,7 @@ once a layer successfully stacks on top of the existing layers, it is removed fr
|
||||
import logging
|
||||
import sys
|
||||
import traceback
|
||||
from typing import Any, List, Optional, Tuple, Type
|
||||
from typing import List, Optional, Tuple, Type
|
||||
|
||||
from volatility3 import framework
|
||||
from volatility3.framework import interfaces, constants
|
||||
|
||||
@@ -94,10 +94,6 @@ class VmwareLayer(segmented.SegmentedLayer):
|
||||
data_size = self._context.object(self._choose_type(data_len),
|
||||
layer_name = self._meta_layer,
|
||||
offset = offset + 2 + name_len + (indices_len * index_len))
|
||||
# Read the size of the data when it would be decompressed
|
||||
data_mem_size = self._context.object(self._choose_type(data_len),
|
||||
layer_name = self._meta_layer,
|
||||
offset = offset + 2 + name_len + (indices_len * index_len) + data_len)
|
||||
# Skip two bytes of padding (as it seems?)
|
||||
# Read the actual data
|
||||
data = self._context.object("vmware!bytes",
|
||||
|
||||
@@ -9,7 +9,6 @@ from volatility3.plugins.windows import handles
|
||||
from volatility3.plugins.windows import pslist
|
||||
from volatility3.framework.configuration import requirements
|
||||
from volatility3.framework.renderers import format_hints
|
||||
from volatility3.framework.objects import utility
|
||||
from typing import List, Tuple, Type, Optional
|
||||
vollog = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
import logging
|
||||
import datetime
|
||||
from typing import Iterable, List, Optional, Callable
|
||||
from typing import Iterable, Optional
|
||||
|
||||
from volatility3.framework import constants, exceptions, interfaces, renderers, symbols, layers
|
||||
from volatility3.framework import constants, exceptions, interfaces, renderers, symbols
|
||||
from volatility3.framework.configuration import requirements
|
||||
from volatility3.framework.renderers import format_hints
|
||||
from volatility3.framework.symbols import intermed
|
||||
from volatility3.framework.symbols.windows import pdbutil
|
||||
from volatility3.framework.symbols.windows.extensions import network
|
||||
from volatility3.plugins import timeliner
|
||||
|
||||
Reference in New Issue
Block a user