def is_same_function(ea1, ea2): try: if get_func(ea1).startEA == get_func(ea2).startEA: return True except: pass return False
def __init__(self, f=None, bounds=None, flags=0): if f is None and bounds is None: f = idaapi.get_screen_ea() if f is not None: f = get_func(f) super(FlowChart, self).__init__(f=f, bounds=bounds, flags=flags)