Expand description
Abstract Syntax Tree definitions for magic rules
This module contains the core data structures that represent parsed magic rules and their components, including offset specifications, type kinds, operators, and values.
Structs§
- Magic
Rule - Magic rule representation in the AST
Enums§
- Endianness
- Endianness specification for multi-byte values
- Offset
Spec - Offset specification for locating data in files
- Operator
- Comparison and bitwise operators
- Strength
Modifier - Strength modifier for magic rules
- Type
Kind - Data type specifications for interpreting bytes
- Value
- Value types for rule matching