lightningscanner

Crates.iolightningscanner
lib.rslightningscanner
version1.0.2
sourcesrc
created_at2023-11-11 22:06:37.057153
updated_at2023-11-12 19:15:46.631046
descriptionA lightning-fast memory pattern scanner, capable of scanning gigabytes of data per second.
homepage
repositoryhttps://github.com/localcc/lightningscanner-rs
max_upload_size
id1032463
size41,146
(localcc)

documentation

README

LightningScanner

A lightning-fast memory pattern scanner, capable of scanning gigabytes of data per second.

Installation

cargo add lightningscanner

Examples

Here's an example of how to find an IDA-style memory pattern inside of a binary.


use lightningscanner::Scanner;

fn main() {
    let binary = [0xab, 0xec, 0x48, 0x89, 0x5c, 0x24, 0xee, 0x48, 0x89, 0x6c];

    let scanner = Scanner::new("48 89 5c 24 ?? 48 89 6c");
    let result = scanner.find(None, &binary);

    println!("{:?}", result);
}

Commit count: 6

cargo fmt