Function cwe_checker_lib::utils::symbol_utils::get_callsites
source · pub fn get_callsites<'a>(
sub: &'a Term<Sub>,
symbol_map: &HashMap<Tid, &'a ExternSymbol>
) -> Vec<(&'a Term<Blk>, &'a Term<Jmp>, &'a ExternSymbol)>
Expand description
Find calls to TIDs contained as keys in the given symbol map. For each match return the block containing the call, the jump term representing the call itself and the symbol corresponding to the TID from the symbol map.