Lines Matching refs:func_id

177         for i, (lib_id, func_id, addr) in enumerate(callstack):
179 if func_id in hit_func_ids:
181 hit_func_ids.add(func_id)
186 function = lib.get_function(func_id)
215 to_del_funcs.append(function.func_id)
217 hit_func_ids.add(function.func_id)
218 for func_id in to_del_funcs:
219 del lib.functions[func_id]
255 def get_function(self, func_id: int) -> FunctionScope:
256 function = self.functions.get(func_id)
258 function = self.functions[func_id] = FunctionScope(func_id)
271 for func_id, function in lib.functions.items():
272 cur_function = self.functions.get(func_id)
274 self.functions[func_id] = function
281 def __init__(self, func_id: int):
282 self.func_id = func_id
314 result['f'] = self.func_id
360 def __init__(self, func_id: int):
363 self.func_id = func_id
367 def get_child(self, func_id: int) -> CallNode:
368 child = self.children.get(func_id)
370 child = self.children[func_id] = CallNode(func_id)
380 hit_func_ids.add(self.func_id)
395 result['f'] = self.func_id
440 def __init__(self, lib_id: int, func_name: str, func_id: int, start_addr: int, addr_len: int):
443 self.func_id = func_id
461 func_id = len(self.id_to_func)
462 function = Function(lib_id, symbol.symbol_name, func_id, symbol.symbol_addr,
465 self.id_to_func[func_id] = function
466 return function.func_id
471 if function.func_id not in left_func_ids:
472 del self.id_to_func[function.func_id]
658 func_id = self.functions.get_func_id(lib_id, symbol)
659 callstack = [(lib_id, func_id, symbol.vaddr_in_file)]
666 func_id = self.functions.get_func_id(lib_id, symbol)
667 callstack.append((lib_id, func_id, symbol.vaddr_in_file))
737 func_addr = self.functions.id_to_func[function.func_id].start_addr
860 for func_id in sorted(self.functions.id_to_func):
861 function = self.functions.id_to_func[func_id]
874 func_map[func_id] = func_data