Function cwe_checker_lib::utils::symbol_utils::get_symbol_map
source · pub fn get_symbol_map<'a>(
project: &'a Project,
symbols_to_find: &[String]
) -> HashMap<Tid, &'a ExternSymbol>
Expand description
Get a map from TIDs to the corresponding extern symbol struct.
Only symbols with names contained in symbols_to_find
are contained in the
map.
This is O(|symbols_to_find| x |extern_symbols|), prefer
get_symbol_map_fast
if speed matters.