Initial commit of pyinstaller spec. Some changes to path handling to help.

This commit is contained in:
Mike Auty
2018-10-30 23:56:34 +00:00
parent 241b7475fb
commit e3e1c4e00b
5 changed files with 43 additions and 2 deletions
@@ -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
+2
View File
@@ -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))