| Index: tools/ipc_fuzzer/mutate/utils.py
|
| diff --git a/tools/ipc_fuzzer/mutate/utils.py b/tools/ipc_fuzzer/mutate/utils.py
|
| index c718ac95b2c41738e5bf5616ff33769c5f3e2678..3c7e1498f5138c02f0244161558e5e8feba85a2a 100755
|
| --- a/tools/ipc_fuzzer/mutate/utils.py
|
| +++ b/tools/ipc_fuzzer/mutate/utils.py
|
| @@ -16,6 +16,7 @@ import tempfile
|
| APP_PATH_KEY = 'APP_PATH'
|
| FLAGS_PREFIX = 'flags-'
|
| FUZZ_PREFIX = 'fuzz-'
|
| +IPC_FUZZER_APPLICATION = 'ipc_fuzzer'
|
| IPC_REPLAY_APPLICATION = 'ipc_fuzzer_replay'
|
| IPCDUMP_EXTENSION = '.ipcdump'
|
| LAUNCH_PREFIXES = [
|
| @@ -48,6 +49,14 @@ def create_temp_file():
|
| temp_file.close()
|
| return temp_file.name
|
|
|
| +def get_fuzzer_application_name():
|
| + """Get the application name for the fuzzer binary."""
|
| + return application_name_for_platform(IPC_FUZZER_APPLICATION)
|
| +
|
| +def get_replay_application_name():
|
| + """Get the application name for the replay binary."""
|
| + return application_name_for_platform(IPC_REPLAY_APPLICATION)
|
| +
|
| def parse_arguments():
|
| """Parse fuzzer arguments."""
|
| parser = argparse.ArgumentParser()
|
| @@ -90,4 +99,4 @@ def get_application_path():
|
| sys.exit(
|
| 'Environment variable %s should be set to chrome path.' % APP_PATH_KEY)
|
|
|
| - return os.environ[APP_PATH_KEY]
|
| + return os.environ[APP_PATH_KEY]
|
|
|