sigscan

Crates.iosigscan
lib.rssigscan
version0.1.1
sourcesrc
created_at2021-08-26 19:13:21.29385
updated_at2021-08-26 19:23:36.263316
descriptiona `#[no_std]` sigscanning crate
homepage
repositoryhttps://github.com/wozniak/sigscan-rs
max_upload_size
id442686
size2,555
Matthew Wozniak (wozniak)

documentation

README

sigscan

A simple sigscanning library

Example

use sigscan::pattern;
use sigscann::scan;

fn main() {
    let haystack = &[0xfa_u8, 0x10, 0x38, 0x47, 0xff, 0x73];
    let index = scan(pattern![0x10 ? ? 0xff], haystack).unwrap();
    
    assert_eq(index, 1);
}
Commit count: 0

cargo fmt