pub struct Pattern { /* fields omitted */ }
Expand description
A memory pattern. Wildcards are represented in raw buffers
as null bytes. Must not be empty
Tests if a pattern matches a slice of bytes exactly
buf
: The slice of bytes
This is not recommended, but is provided as a compatibility layer for
those who have signatures in IDA format, for example
The index of the bad pattern character is returned
The associated error which can be returned from parsing.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.