From ce16d60eaf8641d46bfe37ebebcecd44b3e61e98 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 14 Aug 2016 21:27:13 +0100 Subject: [PATCH] Add a warning about the dangers of splicing. --- volatility/framework/configuration/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/volatility/framework/configuration/__init__.py b/volatility/framework/configuration/__init__.py index 5382743e1..75b9791c6 100644 --- a/volatility/framework/configuration/__init__.py +++ b/volatility/framework/configuration/__init__.py @@ -131,6 +131,8 @@ class HierarchicalDict(collections.Mapping): def splice(self, key, subdict): """Overwrites a branch in an existing tree with a new tree + WARNING: This will *NOT* make alterations to objects that have already been given a config_path + meaning those objects will fail their configuration lookup. This can also be used to bulk delete a branch of a tree by passing in None """ self._setitem(key, subdict, is_data = False)