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

Method get_vtable_pointers

lib/callgraph/src/callgraph/lea_dynamic_calls.rs:155–245  ·  view source on GitHub ↗

Internal function that returns metadata of all functions in the vtable at address `mem_location` ## 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: &StableGraph<Rc<RefCell<Procedure<P>>>, Rc<RefCell<Invocation<I, F>>>>,
        proc_index: &HashMap<u64, NodeIndex<u32>>,
        prc: &Procedure<P>,
        lea_addre

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

find_mem_valueMethod · 0.80

Calls 2

get_vtable_metadataMethod · 0.80
get_pointed_procMethod · 0.80

Tested by

no test coverage detected