diff --git a/doc/source/conf.py b/doc/source/conf.py index 2fa2c1b5b..bef818295 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -75,7 +75,7 @@ def setup(app): break else: line_index = len(real_lines) - submodule_lines = real_lines[line_index:] + submodule_lines = [b"\n"] + real_lines[line_index:] plugins_seen = False with open(os.path.join(dir, filename), "wb") as contents: diff --git a/volatility/framework/constants/__init__.py b/volatility/framework/constants/__init__.py index b39fc2b7a..cc1cf3eec 100644 --- a/volatility/framework/constants/__init__.py +++ b/volatility/framework/constants/__init__.py @@ -41,7 +41,7 @@ BANG = "!" VERSION_MAJOR = 2 # Number of releases of the library with a breaking change VERSION_MINOR = 0 # Number of changes that only add to the interface VERSION_PATCH = 0 # Number of changes that do not change the interface -VERSION_SUFFIX = "-beta.1" +VERSION_SUFFIX = "" PACKAGE_VERSION = ".".join([str(x) for x in [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH]]) + VERSION_SUFFIX """The canonical version of the volatility package""" diff --git a/volatility/framework/plugins/windows/handles.py b/volatility/framework/plugins/windows/handles.py index 25914842d..d09536868 100644 --- a/volatility/framework/plugins/windows/handles.py +++ b/volatility/framework/plugins/windows/handles.py @@ -87,11 +87,11 @@ class Handles(interfaces.plugins.PluginInterface): # is this the right thing to raise here? if magic is None: - if not has_capstone: + if has_capstone: raise AttributeError("Unable to find the SAR value for decoding handle table pointers") else: raise exceptions.MissingModuleException( - "capstone", "Unable to find the SAR value for decoding handle table pointers") + "capstone", "Requires capstone to find the SAR value for decoding handle table pointers") offset = self._decode_pointer(handle_table_entry.LowValue, magic) # print("LowValue: {0:#x} Magic: {1:#x} Offset: {2:#x}".format(handle_table_entry.InfoTable, magic, offset))