From 9666e346038d30def76ec8bf9f505b316e20e724 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 26 Dec 2016 23:50:16 +0000 Subject: [PATCH] Remove the filenames from the intermediate format prefix search, to improve the documentation. --- volatility/framework/automagic/pdbscan.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/volatility/framework/automagic/pdbscan.py b/volatility/framework/automagic/pdbscan.py index 147e2ae2b..b3c65bbb8 100644 --- a/volatility/framework/automagic/pdbscan.py +++ b/volatility/framework/automagic/pdbscan.py @@ -100,8 +100,9 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface): priority = 30 # Make sure uncompressed/outside-framework takes precedence, so users can overload. - prefixes = [os.path.join(os.path.dirname(__file__), "..", "..", "symbols", "windows"), - os.path.join(os.path.dirname(__file__), "..", "symbols", "windows")] + prefixes = [os.path.join("..", "..", "..", "symbols", "windows"), + os.path.join("..", "..", "symbols", "windows")] + """Provides a list of prefixes that are searched when locating Intermediate Format data files""" suffixes = ['.json', '.json.xz'] def __init__(self):