Skip to content

Commit d98337c

Browse files
mtresslerikelos
authored andcommitted
added debug statements to dump_file_producer when none is returned
1 parent 4f37a28 commit d98337c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

volatility/framework/plugins/windows/dumpfiles.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ def dump_file_producer(cls,
7979
filedata.write(data)
8080

8181
if not bytes_written:
82-
#vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset))
82+
vollog.debug("No data is cached for the file at {0:#x}".format(file_object.vol.offset))
8383
return None
8484
else:
8585
vollog.debug("Stored {}".format(filedata.preferred_filename))
8686
return filedata
8787
except exceptions.InvalidAddressException:
88-
#vollog.debug("Unable to dump file at {0:#x}".format(
89-
#file_object.vol.offset))
88+
vollog.debug("Unable to dump file at {0:#x}".format(
89+
file_object.vol.offset))
9090
return None
9191

9292
def process_file_object(self, file_obj: interfaces.objects.ObjectInterface) -> Tuple:

0 commit comments

Comments
 (0)