Skip to main content

Module evaluator

Module evaluator 

Source
Expand description

Rule evaluation engine

This module provides the public interface for magic rule evaluation, including data types for evaluation state and match results, and re-exports the core evaluation functions from submodules.

Modules§

offset
Offset resolution for magic rule evaluation
operators
Operator application for magic rule evaluation
strength
Strength calculation for magic rules
types
Type interpretation for reading and converting bytes from file buffers.

Structs§

EvaluationContext
Context for maintaining evaluation state during rule processing
RuleMatch
Result of evaluating a magic rule

Functions§

evaluate_rules
Evaluate a list of magic rules against a file buffer with hierarchical processing
evaluate_rules_with_config
Evaluate magic rules with a fresh context
evaluate_single_rule
Evaluate a single magic rule against a file buffer