Struct libafl::mutators::token_mutations::Tokens[][src]

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

A state metadata holding a list of tokens

Implementations

The metadata used for token mutators

Creates a new tokens metadata (old-skool afl name: dictornary)

Creates a new instance from a file

Adds a token to a dictionary, checking it is not a duplicate Returns false if the token was already present and did not get added.

Reads a tokens file, returning the count of new entries read

Gets the tokens stored in this db

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

returns this as Any trait

returns this as mutable Any trait

returns this as boxed Any trait

Serialize this value into the given Serde serializer. Read more

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 Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

Should always be Self

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.