lewisclark / patternscan

Searches for a contiguous array of bytes determined by a wild-carded pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

patternscan

CI Badge Crates Badge License Badge Issues Badge

Searches for a contiguous array of bytes determined by a given pattern. The pattern can include supported wildcard characters, as shown below.

Wildcards

  • ? match any byte

Example Patterns

  • fe 00 68 98 - matches only fe 00 68 98
  • 8d 11 ? ? 8f - could match 8d 11 9e ef 8f or 8d 11 0 0 8f for example

Documentation

docs.rs

License

This project is licensed under the MIT License - see LICENSE.md for details.

About

Searches for a contiguous array of bytes determined by a wild-carded pattern

License:MIT License


Languages

Language:Rust 100.0%