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

Method get_vtable_metadata

lib/callgraph/src/callgraph/lea_dynamic_calls.rs:255–282  ·  view source on GitHub ↗

Internal function that returns metadata about the vtable at `mem_location`. ## Return value Returns a tuple. If `res` is a return tuple of this function, the fields denote: `res.0`: offset of the vtable in the '.data.rel.ro' section. `res.1`: the data of the vtable section ('.data.rel.ro') `res.2`: The (optional) procedure that denotes the destructor that is pointed to by the first entry in the v

(
        &self,
        graph: &StableGraph<Rc<RefCell<Procedure<P>>>, Rc<RefCell<Invocation<I, F>>>>,
        proc_index: &HashMap<u64, NodeIndex<u32>>,
        mem_location: u64,
        vtable_sec

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_vtable_pointersMethod · 0.80

Calls 1

get_pointed_procMethod · 0.80

Tested by

no test coverage detected