| Index: tools/ipc_fuzzer/scripts/utils.py
|
| diff --git a/tools/ipc_fuzzer/scripts/utils.py b/tools/ipc_fuzzer/scripts/utils.py
|
| index 3c7e1498f5138c02f0244161558e5e8feba85a2a..0bdf885c0089d5b7b6773093de1903c770832698 100755
|
| --- a/tools/ipc_fuzzer/scripts/utils.py
|
| +++ b/tools/ipc_fuzzer/scripts/utils.py
|
| @@ -33,10 +33,13 @@ def application_name_for_platform(application_name):
|
| return application_name + '.exe'
|
| return application_name
|
|
|
| -def create_flags_file(ipcdump_testcase_path, ipc_replay_application_path):
|
| +def create_flags_file(ipcdump_testcase_path):
|
| """Create a flags file to add launch prefix to application command line."""
|
| random_launch_prefix = random.choice(LAUNCH_PREFIXES)
|
| - file_content = '%s=%s' % (random_launch_prefix, ipc_replay_application_path)
|
| + application_name = application_name_for_platform(IPC_REPLAY_APPLICATION)
|
| + file_content = '%s=%%APP_DIR%%%s%s' % (random_launch_prefix,
|
| + os.path.sep,
|
| + application_name)
|
|
|
| flags_file_path = ipcdump_testcase_path.replace(FUZZ_PREFIX, FLAGS_PREFIX)
|
| file_handle = open(flags_file_path, 'w')
|
|
|