Enum rupta::graph::pag::PAGEdgeEnum
source · pub enum PAGEdgeEnum {
AddrPAGEdge,
DirectPAGEdge,
LoadPAGEdge(ProjectionElems),
StorePAGEdge(ProjectionElems),
GepPAGEdge(ProjectionElems),
CastPAGEdge,
OffsetPAGEdge,
}Variants§
AddrPAGEdge
Statements that create a reference or a raw pointer to a place.
DirectPAGEdge
Statements that create a value by direct assignment, including Move and Copy statements.
LoadPAGEdge(ProjectionElems)
Statements that create a value by loading the value pointed by a pointer.
e.g. _2 = (*_3), _2 = (*_3).0.1.
StorePAGEdge(ProjectionElems)
Statements that store a value to a pointer’s pointee.
e.g. (*_1) = _2, (*_1).0.1 = _2.
GepPAGEdge(ProjectionElems)
Similar to GetElementPtr instruction in llvm ir, get an element’s address from
a pointed-to object, e.g. _2 = &((*_3).0.1)
CastPAGEdge
Cast a pointer to another type
OffsetPAGEdge
Statements that offset a pointer.
Trait Implementations§
source§impl Clone for PAGEdgeEnum
impl Clone for PAGEdgeEnum
source§fn clone(&self) -> PAGEdgeEnum
fn clone(&self) -> PAGEdgeEnum
Returns a copy 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 PAGEdgeEnum
impl Debug for PAGEdgeEnum
source§impl PartialEq for PAGEdgeEnum
impl PartialEq for PAGEdgeEnum
source§fn eq(&self, other: &PAGEdgeEnum) -> bool
fn eq(&self, other: &PAGEdgeEnum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PAGEdgeEnum
Auto Trait Implementations§
impl RefUnwindSafe for PAGEdgeEnum
impl Send for PAGEdgeEnum
impl Sync for PAGEdgeEnum
impl Unpin for PAGEdgeEnum
impl UnwindSafe for PAGEdgeEnum
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