'Returns the function address where ad is. It returns None if
ad is not in a function.'

def get_func_addr(self, ad):

    func_id = self.mem.get_func_id(ad)
    if (func_id == (-1)):
        return None
    return self.__db.func_id[func_id]
