Beispiel #1
0
def run(file_name, func_name):
	program_text = open(file_name,'r').read()
	user_mod = load_module(splitext(basename(file_name))[0],file_name)
	user_func = getattr(user_mod,func_name)

	input_dict = run_DART(program_text,user_func)
	results = run_Daikon(program_text,user_func,input_dict)

	print_results(results)
Beispiel #2
0
def run(file_name, func_name):
    program_text = open(file_name, 'r').read()
    user_mod = load_module(splitext(basename(file_name))[0], file_name)
    user_func = getattr(user_mod, func_name)

    input_dict = run_DART(program_text, user_func)
    results = run_Daikon(program_text, user_func, input_dict)

    print
    print

    print_results(results)
Beispiel #3
0
def run(program_text, func, input_list):
	return run_Daikon(program_text,func,input_list)
Beispiel #4
0
def run(program_text, func, input_list):
    return run_Daikon(program_text, func, input_list)