Struct memscan::Pattern[][src]

pub struct Pattern { /* fields omitted */ }
Expand description

A memory pattern. Wildcards are represented in raw buffers as null bytes. Must not be empty

Implementations

Tests if a pattern matches a slice of bytes exactly

Arguments

buf: The slice of bytes

Trait Implementations

Performs the conversion.

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. 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.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.