pub struct ValueLocation {
pub components: Vec<ValueLocationComponent>,
pub indirect: bool,
pub returned_pointer: Option<Variable>,
}Fields§
§components: Vec<ValueLocationComponent>§indirect: bool§returned_pointer: Option<Variable>Implementations§
Source§impl ValueLocation
impl ValueLocation
pub fn from_variable(var: Variable) -> Self
pub fn from_register(reg: impl Register) -> Self
pub fn from_register_id(reg: RegisterId) -> Self
pub fn from_stack_offset(offset: i64) -> Self
pub fn is_valid(&self) -> bool
pub fn variable_for_return_value(&self) -> Option<Variable>
pub fn variable_for_parameter(&self, idx: usize) -> Option<Variable>
pub fn into_rust_raw(value: &Self) -> BNValueLocation
Sourcepub fn free_rust_raw(value: BNValueLocation)
pub fn free_rust_raw(value: BNValueLocation)
Free a RUST ALLOCATED possible value set. Do not use this with CORE ALLOCATED values.
Trait Implementations§
Source§impl Clone for ValueLocation
impl Clone for ValueLocation
Source§fn clone(&self) -> ValueLocation
fn clone(&self) -> ValueLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueLocation
impl Debug for ValueLocation
Source§impl From<Variable> for ValueLocation
impl From<Variable> for ValueLocation
Source§impl Hash for ValueLocation
impl Hash for ValueLocation
Source§impl PartialEq for ValueLocation
impl PartialEq for ValueLocation
impl Eq for ValueLocation
impl StructuralPartialEq for ValueLocation
Auto Trait Implementations§
impl Freeze for ValueLocation
impl RefUnwindSafe for ValueLocation
impl Send for ValueLocation
impl Sync for ValueLocation
impl Unpin for ValueLocation
impl UnwindSafe for ValueLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more