Skip to content

Commit

Permalink
Add in the image-hash to make results easier to match up.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikelos committed Aug 11, 2019
1 parent 196da74 commit 0b71c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions development/compare-vol.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def __init__(self,
def run_tests(self):
with open("volatility-timings.csv", 'w') as csvfile:
self.csv_writer = csv.writer(csvfile)
titles = ["Image Path", "Plugin Name"]
titles = ["Image Hash", "Image Path", "Plugin Name"]
for test in self.tests:
titles += test.result_titles()
self.csv_writer.writerow(titles)
Expand All @@ -200,7 +200,7 @@ def run_test(self, plugin: VolatilityPlugin, image: VolatilityImage):
for test in self.tests:
results += test.create_results(plugin, image, image_hash)

self.csv_writer.writerow([image.filepath, plugin.name] + results)
self.csv_writer.writerow([image_hash, image.filepath, plugin.name] + results)


if __name__ == '__main__':
Expand Down

0 comments on commit 0b71c11

Please sign in to comment.