Skip to content

module yara_match

Rich text decorator for YARA match dicts.

A YARA match is returned as a dict with this structure:

Example: { 'tags': ['foo', 'bar'], 'matches': True, 'namespace': 'default', 'rule': 'my_rule', 'meta': {}, 'strings': [ StringMatch1, StringMatch2 ] }

Global Variables

  • CENTER
  • INDENT_SPACES
  • MATCH_PADDING
  • YARA_STRING_STYLES
  • RAW_YARA_THEME_COLORS

class YaraMatch

Rich text decorator for YARA match dicts.

method __init__

__init__(match: dict, matched_against_bytes_label: Text) → None

Args:

  • match (dict): The YARA match dict.
  • matched_against_bytes_label (Text): Label indicating what bytes were matched against.

This file was automatically generated via lazydocs.