mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-28 20:44:52 +02:00
Write the cached linuxbanners after each one so that cancellations don't require re-runs.
This commit is contained in:
@@ -57,5 +57,6 @@ class LinuxSymbolCache(interfaces.automagic.AutomagicInterface):
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
with open(constants.LINUX_BANNERS_PATH, "wb") as f:
|
||||
pickle.dump(linuxbanners, f)
|
||||
# Rewrite the cached linuxbanners each run, since writing is faster than the cache validation portion
|
||||
with open(constants.LINUX_BANNERS_PATH, "wb") as f:
|
||||
pickle.dump(linuxbanners, f)
|
||||
|
||||
Reference in New Issue
Block a user