Ensure the yarascan generator returns rows.

This commit is contained in:
Mike Auty
2018-12-01 20:48:53 +00:00
parent 185d4ccdc2
commit 5b3a81de05
+1 -1
View File
@@ -83,7 +83,7 @@ class YaraScan(plugins.PluginInterface):
vollog.error("No yara rules, nor yara rules file were specified")
for offset, name in layer.scan(YaraScanner(rules = rules), max_address = self.config['max_size']):
yield format_hints.Hex(offset), name
yield (0, (format_hints.Hex(offset), name))
def run(self):
return renderers.TreeGrid([('Offset', format_hints.Hex),