Function cwe_checker_lib::utils::symbol_utils::get_symbol_map_fast
source · pub fn get_symbol_map_fast<'a>(
project: &'a Project,
symbols_to_find: &HashSet<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.
More efficient than get_symbol_map, prefer this if symbols_to_find is
huge since this is O(|extern_symbols|) and not
O(|symbols_to_find|x|extern_symbols|).