Don't try making URIs into URIs.

This commit is contained in:
Mike Auty
2017-07-17 21:52:01 +01:00
parent 9f3470a8e9
commit d2eef99e37
+1 -2
View File
@@ -1,5 +1,4 @@
import logging
import pathlib
from volatility.framework import interfaces
from volatility.framework.automagic import linux_symbol_cache
@@ -49,7 +48,7 @@ class LinuxSymbolFinder(interfaces.automagic.AutomagicInterface):
for offset, banner in layer.scan(context = context, scanner = mss, progress_callback = progress_callback):
vollog.debug("Identified banner: {}".format(repr(banner)))
symbol_files = self._linux_banners[banner]
isf_path = pathlib.Path(symbol_files[0]).as_uri()
isf_path = symbol_files[0]
if isf_path:
vollog.debug("Using symbol library: {}".format(symbol_files[0]))
clazz = "volatility.framework.symbols.linux.LinuxKernelIntermedSymbols"