mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 21:27:39 +02:00
Initial commit of pyinstaller spec. Some changes to path handling to help.
This commit is contained in:
@@ -10,6 +10,7 @@ import os
|
||||
import struct
|
||||
import typing
|
||||
|
||||
from volatility import symbols
|
||||
from volatility.framework import constants, exceptions, layers, validity
|
||||
from volatility.framework.configuration import requirements
|
||||
from volatility.framework.interfaces import configuration
|
||||
|
||||
@@ -146,6 +146,8 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface):
|
||||
zip_match = "/".join(os.path.split(filename))
|
||||
|
||||
# Check user symbol directory first, then fallback to the framework's library to allow for overloading
|
||||
vollog.log(constants.LOGLEVEL_VVVV,
|
||||
"Searching for symbols in {}".format(", ".join(volatility.symbols.__path__)))
|
||||
for path in volatility.symbols.__path__:
|
||||
if not os.path.isabs(path):
|
||||
path = os.path.abspath(os.path.join(__file__, path))
|
||||
|
||||
Reference in New Issue
Block a user