added debug statements to dump_file_producer when none is returned

This commit is contained in:
Matt Tressler
2020-12-10 15:37:40 +00:00
committed by ikelos
parent 4f37a28185
commit d98337cc09
@@ -79,14 +79,14 @@ class DumpFiles(interfaces.plugins.PluginInterface):
filedata.write(data)
if not bytes_written:
#vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset))
vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset))
return None
else:
vollog.debug("Stored {}".format(filedata.preferred_filename))
return filedata
except exceptions.InvalidAddressException:
#vollog.debug("Unable to dump file at {0:#x}".format(
#file_object.vol.offset))
vollog.debug("Unable to dump file at {0:#x}".format(
file_object.vol.offset))
return None
def process_file_object(self, file_obj: interfaces.objects.ObjectInterface) -> Tuple: