Enum haybale::ParameterVal [−][src]
pub enum ParameterVal {
Unconstrained,
ExactValue(u64),
Range(u64, u64),
NonNullPointer,
PointerToAllocated(u64),
}
Variants
The parameter can have any value whatsoever. (The analysis will effectively consider all possible values.)
ExactValue(u64)
The parameter will have this exact value.
Tuple Fields of ExactValue
0: u64
The parameter can have any value in this range (inclusive).
The parameter will have a non-null value, but otherwise be completely unconstrained (could point anywhere or alias anything). This can only be used for pointer-type parameters.
PointerToAllocated(u64)
The parameter will point to allocated memory, with the given allocation size in bytes. It will not be NULL and will not alias any other allocated memory. This can only be used for pointer-type parameters.
Tuple Fields of PointerToAllocated
0: u64
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParameterVal
impl Send for ParameterVal
impl Sync for ParameterVal
impl Unpin for ParameterVal
impl UnwindSafe for ParameterVal
Blanket Implementations
Mutably borrows from an owned value. Read more