def find_method_from_code_off(self, code_off):
    if (code_off == 0):
        return None
    for cls in self.get_classes():
        for method in cls.get_methods():
            if (method.get_code_offset() == code_off):
                return method
    return None
def find_method_from_code_off(self, code_off):
    if (code_off == 0):
        return None
    for cls in self.get_classes():
        for method in cls.get_methods():
            if (method.get_code_offset() == code_off):
                return method
    return None