Commit bd22127e by rhelmke

Added FIXME tag to _add_yara_rule_match

parent e217b550
...@@ -47,7 +47,7 @@ def scan( ...@@ -47,7 +47,7 @@ def scan(
def _add_yara_rule_match(rule_block: dict, block: dict): def _add_yara_rule_match(rule_block: dict, block: dict):
# the file path that that is scanned does not reflect in the result set? # FIXME: the file path that that is scanned does not reflect in the result set.
# rule_block['strings'] += [(*yara_match, block['scanned_file']) for yara_match in parse_matches(block['raw_matches'])] # rule_block['strings'] += [(*yara_match, block['scanned_file']) for yara_match in parse_matches(block['raw_matches'])]
rule_block['strings'] += [yara_match for yara_match in _parse_matches(block['raw_matches'])] rule_block['strings'] += [yara_match for yara_match in _parse_matches(block['raw_matches'])]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment