Skip to main content

Module patterns

Module patterns 

Source
Expand description

Byte pattern matching utilities Bounded pattern matching utilities for binary data.

Exact bytes, ASCII string matching, hexadecimal wildcards, and leading magic signatures are implemented. Regex and structural variants return crate::BinaryError::FeatureNotAvailable instead of silently producing no matches.

Structs§

MatchConfig
Pattern matching configuration
Pattern
A pattern to search for
PatternMatch
Pattern match result
PatternMatcher
Pattern matcher for binary data
SearchResults
Pattern search results

Enums§

PatternCategory
Pattern categories
PatternData
Pattern data
PatternType
Types of patterns

Constants§

DEFAULT_MAX_MATCH_OUTPUT_BYTES
Default aggregate owned-output limit for a pattern search: 16 MiB.