예제 #1
0
파일: base.py 프로젝트: danse-macabre/Sark
def is_same_function(ea1, ea2):
    try:
        if get_func(ea1).startEA == get_func(ea2).startEA:
            return True
    except:
        pass

    return False
예제 #2
0
 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)