pub struct FuncPAG { /* private fields */ }Expand description
A function’s pointer assignment graph, part of the whole program’s PAG.
Implementations§
source§impl FuncPAG
impl FuncPAG
pub fn new(func_id: FuncId) -> Self
pub fn add_internal_edge( &mut self, src: Rc<Path>, dst: Rc<Path>, kind: PAGEdgeEnum )
pub fn internal_edges_iter(&self) -> Iter<'_, InternalEdge> ⓘ
pub fn add_static_variables_involved(&mut self, static_variable: Rc<Path>)
pub fn add_static_dispatch_callsite( &mut self, callsite: Rc<CallSite>, callee: FuncId )
pub fn add_dynamic_fntrait_callsite( &mut self, dynamic_fn_obj: Rc<Path>, std_ops_callsite: Rc<CallSite> )
pub fn add_dynamic_dispatch_callsite( &mut self, dynamic_obj: Rc<Path>, dyn_callsite: Rc<CallSite> )
pub fn add_fnptr_callsite(&mut self, fn_ptr: Rc<Path>, callsite: Rc<CallSite>)
pub fn add_special_callsite(&mut self, callsite: Rc<CallSite>, callee: FuncId)
Auto Trait Implementations§
impl RefUnwindSafe for FuncPAG
impl !Send for FuncPAG
impl !Sync for FuncPAG
impl Unpin for FuncPAG
impl UnwindSafe for FuncPAG
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