2 releases

0.1.1 Aug 26, 2021
0.1.0 Aug 26, 2021

#76 in #scan

ISC license

3KB

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);
}

No runtime deps