Enum isla_lib::ir::Val [−][src]
A value is either a symbolic value, represented as Symbolic(n)
for where n is the identifier of the variable in the SMT solver,
or one of the concrete values in this enum.
Variants
Symbolic(Sym)
I64(i64)
I128(i128)
Bool(bool)
String(String)
Enum(EnumMember)
Ref(Name)
Implementations
impl<B: BV> Val<B>
[src]
pub fn symbolic_variables(&self) -> HashSet<Sym>
[src]
pub fn is_symbolic(&self) -> bool
[src]
pub fn as_bits(&self) -> Option<&B>
[src]
pub fn to_string(&self, symtab: &Symtab<'_>) -> String
[src]
pub fn plausible<N: Debug>(
&self,
ty: &Ty<N>,
symtab: &Symtab<'_>
) -> Result<(), String>
[src]
&self,
ty: &Ty<N>,
symtab: &Symtab<'_>
) -> Result<(), String>
Just enough of a type check to pick up bad default registers
Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for Val<B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<B> Send for Val<B> where
B: Send,
B: Send,
impl<B> Sync for Val<B> where
B: Sync,
B: Sync,
impl<B> Unpin for Val<B> where
B: Unpin,
B: Unpin,
impl<B> UnwindSafe for Val<B> where
B: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,