Skip to content

Commit

Permalink
Added debug output for extraction rule lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Feb 1, 2021
1 parent 8d207b9 commit 4547368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/binwalk/modules/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ def match(self, description):
if not callable(rule['cmd']):
ordered_rules.append(rule)

binwalk.core.common.debug("Found %d/%d matches for '%s'" % (len(ordered_rules), len(self.extract_rules), description))
return ordered_rules

def _parse_rule(self, rule):
Expand Down

0 comments on commit 4547368

Please sign in to comment.