Plugins: Fix exception thrown in handles

Fixes #368
This commit is contained in:
Mike Auty
2020-11-01 14:50:48 +00:00
parent e9c753cfc7
commit 1d8081e409
@@ -90,8 +90,8 @@ class Handles(interfaces.plugins.PluginInterface):
if not has_capstone:
raise AttributeError("Unable to find the SAR value for decoding handle table pointers")
else:
raise exceptions.MissingModuleException(
"Unable to find the SAR value for decoding handle table pointers", module = "capstone")
raise exceptions.MissingModuleException("capstone",
"Unable 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))