aob_common

Crates.ioaob_common
lib.rsaob_common
version1.0.2
sourcesrc
created_at2024-09-15 07:37:24.299249
updated_at2024-09-16 09:58:03.660278
descriptionString searching with wildcards
homepagehttps://github.com/Ryan-rsm-McKenzie/aob-rs
repositoryhttps://github.com/Ryan-rsm-McKenzie/aob-rs
max_upload_size
id1375303
size61,970
Ryan McKenzie (Ryan-rsm-McKenzie)

documentation

https://ryan-rsm-mckenzie.github.io/aob-rs/aob/index.html

README

Overview

aob (array of bytes) is a library for string searching with wildcards. It supports IDA-style patterns, const compiling patterns, and accelerating searches using simd whenever possible/practical.

The latest development docs are available at: https://ryan-rsm-mckenzie.github.io/aob-rs/aob/index.html

The stable release docs are available at: https://docs.rs/aob/latest/aob/

Changelogs are available at: https://github.com/Ryan-rsm-McKenzie/aob-rs/releases

Example

use aob::Needle as _;
aob::aob! { const NEEDLE = ida("67 ? AB"); }
let haystack = [0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF];
let found = NEEDLE.find(&haystack).unwrap();
assert_eq!(found.range(), 3..6);
Commit count: 0

cargo fmt