Enum haybale::config::Concretize[][src]

pub enum Concretize {
    Symbolic,
    Arbitrary,
    Prefer(u64Box<Concretize>),
    Maximum,
    Minimum,
}
Expand description

Enum used for the concretize_memcpy_lengths option in Config.

Variants

Symbolic

Handle everything fully symbolically - that is, have the solver fully consider all possible values. This may lead to poor solver performance for some workloads.

Arbitrary

Pick one possible value arbitrarily. Often this may choose 0 if 0 is a possible solution, but this behavior is not guaranteed. (To guarantee this behavior, use Prefer(0).)

The value will be permanently constrained to be the chosen value (on this path), and other possibilities will not be considered.

Prefer(u64Box<Concretize>)

Prefer the given u64 value if it is a possible value. Otherwise, fall back on the given Concretize strategy.

If the given u64 value is a possible value, then the value will be permanently constrained to be that value (on this path), and other possibilities will not be considered.

Tuple Fields of Prefer

0: u641: Box<Concretize>
Maximum

Choose the maximum possible value. Maximum will be interpreted in an unsigned fashion.

The value will be permanently constrained to be this value (on this path), and other possibilities will not be considered.

Minimum

Choose the minimum possible value. Minimum will be interpreted in an unsigned fashion.

The value will be permanently constrained to be this value (on this path), and other possibilities will not be considered.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.