MCPcopy Create free account
hub / github.com/Technolution/rustig / create_dynamic_edges

Method create_dynamic_edges

lib/callgraph/src/callgraph/lea_dynamic_calls.rs:335–373  ·  view source on GitHub ↗

Internal function that returns edges for all dynamic invocations. ## Return value Returns a vector of tuples. If `res` is a return tuple of this function, the fields denote: `res.0`: address of the lea instruction `res.1`: address of the called function `res.2`: type of invocation (either `InvocationType::ProcedureReference` or `InvocationType::VTable`

(
        &self,
        graph: &mut StableGraph<Rc<RefCell<Procedure<P>>>, Rc<RefCell<Invocation<I, F>>>>,
        proc_index: &mut HashMap<u64, NodeIndex<u32>>,
        ctx: &Context,
        idx: N

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

find_invocationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected