(function: &BNFunction)
| 141 | } |
| 142 | |
| 143 | pub fn try_cached_function_guid(function: &BNFunction) -> Option<FunctionGUID> { |
| 144 | let view = function.view(); |
| 145 | let view_id = ViewID::from(view); |
| 146 | let guid_cache = GUID_CACHE.get_or_init(Default::default); |
| 147 | guid_cache.get(&view_id)?.try_function_guid(function) |
| 148 | } |
| 149 | |
| 150 | pub fn cached_type_reference( |
| 151 | view: &BinaryView, |
no test coverage detected