(self, ea)
fetch the function object that contains the given address.
fetch the function object that contains the given address.
fetch the function object that contains the given address .
def _get_function(self, ea):
        '''
        fetch the function object that contains the given address.
        '''
        # warning: O(#funcs) scan here, called in a tight loop (render operand).
        for (start, end), f in self.function_ranges.items():
            if start <= ea < end:
                return f
        raise KeyError(ea)
def _get_function ( self , ea ) : # warning: O(#funcs) scan here, called in a tight loop (render operand). for ( start , end ) , f in self . function_ranges . items ( ) : if start <= ea < end : return f raise KeyError ( ea )