pub enum Varnode {
Register(String),
Unique {
offset: u64,
size: u8,
},
Const {
value: u64,
size: Option<u8>,
},
Ram(Box<Varnode>),
CodeAddr(u64),
}Expand description
A P-code varnode operand.
Variants§
Register(String)
A named register / flag varnode (sp, w8, ZR, tmpCY, …).
Unique
A SLEIGH unique temporary: (unique,offset,size).
Const
An integer constant. Width is often implicit in the textual form, so it is inferred at lift time from the operation.
Ram(Box<Varnode>)
A memory reference ram[<addr>] — the inner varnode is the
address expression.
CodeAddr(u64)
A code address branch target (qword_ptr(0x..)).
Trait Implementations§
impl Eq for Varnode
impl StructuralPartialEq for Varnode
Auto Trait Implementations§
impl Freeze for Varnode
impl RefUnwindSafe for Varnode
impl Send for Varnode
impl Sync for Varnode
impl Unpin for Varnode
impl UnsafeUnpin for Varnode
impl UnwindSafe for Varnode
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