argv               62 dmtcp_command.cpp #define shift argc--,argv++
argv               64 dmtcp_command.cpp int main ( int argc, char** argv )
argv               77 dmtcp_command.cpp     string s = argv[0];
argv               85 dmtcp_command.cpp       setenv(ENV_VAR_NAME_HOST, argv[1], 1);
argv               88 dmtcp_command.cpp       setenv(ENV_VAR_NAME_PORT, argv[1], 1);
argv               90 dmtcp_command.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'p' &&
argv               91 dmtcp_command.cpp                isdigit(argv[0][2])) { // else if -p0, for example
argv               92 dmtcp_command.cpp       setenv(ENV_VAR_NAME_PORT, argv[0]+2, 1);
argv               98 dmtcp_command.cpp       char* cmd = argv[0];
argv              118 dmtcp_command.cpp 	    interval = argv[1];
argv             1755 dmtcp_coordinator.cpp #define shift argc--; argv++
argv             1757 dmtcp_coordinator.cpp int main ( int argc, char** argv )
argv             1773 dmtcp_coordinator.cpp     string s = argv[0];
argv             1793 dmtcp_coordinator.cpp       setenv(ENV_VAR_CKPT_INTR, argv[1], 1);
argv             1795 dmtcp_coordinator.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'i' &&
argv             1796 dmtcp_coordinator.cpp                isdigit(argv[0][2])) { // else if -i5, for example
argv             1797 dmtcp_coordinator.cpp       setenv(ENV_VAR_CKPT_INTR, argv[0]+2, 1);
argv             1800 dmtcp_coordinator.cpp       thePort = jalib::StringToInt( argv[1] );
argv             1802 dmtcp_coordinator.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'p' &&
argv             1803 dmtcp_coordinator.cpp                isdigit(argv[0][2])) { // else if -p0, for example
argv             1804 dmtcp_coordinator.cpp       thePort = jalib::StringToInt( argv[0]+2 );
argv             1807 dmtcp_coordinator.cpp       thePortFile = argv[1];
argv             1810 dmtcp_coordinator.cpp       setenv(ENV_VAR_CHECKPOINT_DIR, argv[1], 1);
argv             1813 dmtcp_coordinator.cpp       tmpdir_arg = argv[1];
argv             1817 dmtcp_coordinator.cpp       long x = strtol(argv[0], &endptr, 10);
argv             1818 dmtcp_coordinator.cpp       if ((ssize_t)strlen(argv[0]) != endptr - argv[0]) {
argv             1822 dmtcp_coordinator.cpp         thePort = jalib::StringToInt( argv[0] );
argv               41 dmtcp_launch.cpp static int testJava(char **argv);
argv               44 dmtcp_launch.cpp static bool testScreen(char **argv, char ***newArgv);
argv              203 dmtcp_launch.cpp #define shift argc--,argv++
argv              209 dmtcp_launch.cpp   char **argv = *orig_argv;
argv              216 dmtcp_launch.cpp     printf("(For help: %s --help)\n\n", argv[0]);
argv              223 dmtcp_launch.cpp     string s = argc>0 ? argv[0] : "--help";
argv              256 dmtcp_launch.cpp       setenv(ENV_VAR_CKPT_INTR, argv[1], 1);
argv              258 dmtcp_launch.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'i' &&
argv              259 dmtcp_launch.cpp                isdigit(argv[0][2])) { // else if -i5, for example
argv              260 dmtcp_launch.cpp       setenv(ENV_VAR_CKPT_INTR, argv[0]+2, 1);
argv              263 dmtcp_launch.cpp       *host = argv[1];
argv              266 dmtcp_launch.cpp       *portStr = argv[1];
argv              268 dmtcp_launch.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'p' &&
argv              269 dmtcp_launch.cpp                isdigit(argv[0][2])) { // else if -p0, for example
argv              270 dmtcp_launch.cpp       *portStr = argv[0]+2; // Must use argv[0] here, and not s
argv              273 dmtcp_launch.cpp       thePortFile = argv[1];
argv              276 dmtcp_launch.cpp       setenv(ENV_VAR_CHECKPOINT_DIR, argv[1], 1);
argv              279 dmtcp_launch.cpp       tmpdir_arg = argv[1];
argv              282 dmtcp_launch.cpp       setenv(ENV_VAR_SIGCKPT, argv[1], 1);
argv              315 dmtcp_launch.cpp       setenv(ENV_VAR_PLUGIN, argv[1], 1);
argv              335 dmtcp_launch.cpp   *orig_argv = argv;
argv              338 dmtcp_launch.cpp int main ( int argc, char** argv )
argv              351 dmtcp_launch.cpp   processArgs(&argc, &argv, &tmpDir, &host, &portStr);
argv              392 dmtcp_launch.cpp   testMatlab(argv[0]);
argv              393 dmtcp_launch.cpp   testJava(argv);  // Warn that -Xmx flag needed to limit virtual memory size
argv              415 dmtcp_launch.cpp   if (testSetuid(argv[0])) {
argv              418 dmtcp_launch.cpp     Util::patchArgvIfSetuid(argv[0], argv, &newArgv);
argv              419 dmtcp_launch.cpp     argv = newArgv;
argv              423 dmtcp_launch.cpp     JTRACE("dmtcp_launch starting new program:")(argv[0]);
argv              446 dmtcp_launch.cpp   if  (Util::elfType(argv[0], &isElf, &is32bitElf) == -1) {
argv              453 dmtcp_launch.cpp       << argv[0] << "\n";
argv              456 dmtcp_launch.cpp     testStaticallyLinked(argv[0]);
argv              496 dmtcp_launch.cpp   CoordinatorAPI::instance().connectToCoordOnStartup(allowedModes, argv[0],
argv              537 dmtcp_launch.cpp   if (testScreen(argv, &newArgv))
argv              540 dmtcp_launch.cpp     execvp ( argv[0], argv );
argv              544 dmtcp_launch.cpp     "ERROR: Failed to exec(\"" << argv[0] << "\"): " << JASSERT_ERRNO << "\n"
argv              582 dmtcp_launch.cpp static int testJava(char **argv)
argv              596 dmtcp_launch.cpp   if ( strcmp(argv[0], "java") == 0 ) {
argv              597 dmtcp_launch.cpp     while (*(++argv) != NULL)
argv              598 dmtcp_launch.cpp       if (strncmp(*argv, "-Xmx", sizeof("-Xmx")-1) == 0)
argv              655 dmtcp_launch.cpp static bool testScreen(char **argv, char ***newArgv)
argv              657 dmtcp_launch.cpp   if (Util::isScreen(argv[0])) {
argv              659 dmtcp_launch.cpp     Util::patchArgvIfSetuid(argv[0], argv, newArgv);
argv               29 dmtcp_nocheckpoint.c int main(int argc, char** argv) {
argv               32 dmtcp_nocheckpoint.c     fprintf(stderr, "USAGE:  %s cmd ...\n", argv[0]);
argv               39 dmtcp_nocheckpoint.c   execvp(argv[1], argv+1);
argv              602 dmtcp_restart.cpp #define shift argc--,argv++
argv              604 dmtcp_restart.cpp int main(int argc, char** argv)
argv              620 dmtcp_restart.cpp     printf("(For help: %s --help)\n\n", argv[0]);
argv              627 dmtcp_restart.cpp     string s = argc>0 ? argv[0] : "--help";
argv              647 dmtcp_restart.cpp       setenv(ENV_VAR_CKPT_INTR, argv[1], 1);
argv              649 dmtcp_restart.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'i' &&
argv              650 dmtcp_restart.cpp                isdigit(argv[0][2])) { // else if -i5, for example
argv              651 dmtcp_restart.cpp       setenv(ENV_VAR_CKPT_INTR, argv[0]+2, 1);
argv              654 dmtcp_restart.cpp       setenv(ENV_VAR_NAME_HOST, argv[1], 1);
argv              657 dmtcp_restart.cpp       setenv(ENV_VAR_NAME_PORT, argv[1], 1);
argv              659 dmtcp_restart.cpp     } else if (argv[0][0] == '-' && argv[0][1] == 'p' &&
argv              660 dmtcp_restart.cpp                isdigit(argv[0][2])) { // else if -p0, for example
argv              661 dmtcp_restart.cpp       setenv(ENV_VAR_NAME_PORT, argv[0]+2, 1);
argv              664 dmtcp_restart.cpp       thePortFile = argv[1];
argv              667 dmtcp_restart.cpp       setNewCkptDir(argv[1]);
argv              670 dmtcp_restart.cpp       tmpdir_arg = argv[1];
argv              708 dmtcp_restart.cpp     string restorename(argv[0]);
argv              737 dmtcp_restart.cpp     JTRACE("Will restart ckpt image") (argv[0]);
argv              738 dmtcp_restart.cpp     RestoreTarget *t = new RestoreTarget(argv[0]);
argv              230 execwrappers.cpp static void execShortLivedProcessAndExit(const char *path, char *const argv[])
argv              237 execwrappers.cpp   if (argv[0] == NULL) {
argv              241 execwrappers.cpp     for (int i = 1; argv[i] != NULL; i++)
argv              242 execwrappers.cpp       command = command + " " + argv[i];
argv              263 execwrappers.cpp static void dmtcpPrepareForExec(const char *path, char *const argv[],
argv              271 execwrappers.cpp     execShortLivedProcessAndExit(path, argv);
argv              273 execwrappers.cpp     execShortLivedProcessAndExit(path, argv);
argv              280 execwrappers.cpp     JTRACE("Trying to exec: utempter")(path)(argv[0])(argv[1]);
argv              287 execwrappers.cpp     for (size_t i = 0; argv[i] != NULL; i++) {
argv              288 execwrappers.cpp       if (Util::strStartsWith(argv[i], VIRT_PTS_PREFIX_STR)) {
argv              291 execwrappers.cpp         oldStr = argv[i];
argv              293 execwrappers.cpp         SharedData::getRealPtyName(argv[i], realPtsNameStr,
argv              296 execwrappers.cpp         *(const char**)&argv[i] = realPtsNameStr;
argv              299 execwrappers.cpp     execShortLivedProcessAndExit(path, argv);
argv              302 execwrappers.cpp       *(const char**)&argv[oldIdx] = oldStr;
argv              312 execwrappers.cpp     Util::patchArgvIfSetuid(path, argv, newArgv);
argv              318 execwrappers.cpp     *newArgv = (char**)argv;
argv              499 execwrappers.cpp extern "C" int execve (const char *filename, char *const argv[],
argv              504 execwrappers.cpp     return _real_execve(filename, argv, envp);
argv              517 execwrappers.cpp   dmtcpPrepareForExec(filename, argv, &newFilename, &newArgv);
argv              531 execwrappers.cpp extern "C" int execv (const char *path, char *const argv[])
argv              540 execwrappers.cpp   return execve(path, argv, (char* const*) &env[0]);
argv              543 execwrappers.cpp extern "C" int execvp (const char *filename, char *const argv[])
argv              546 execwrappers.cpp     return _real_execvp(filename, argv);
argv              556 execwrappers.cpp   dmtcpPrepareForExec(filename, argv, &newFilename, &newArgv);
argv              569 execwrappers.cpp extern "C" int execvpe (const char *filename, char *const argv[],
argv              573 execwrappers.cpp     return _real_execvpe(filename, argv, envp);
argv              586 execwrappers.cpp   dmtcpPrepareForExec(filename, argv, &newFilename, &newArgv);
argv              600 execwrappers.cpp extern "C" int fexecve (int fd, char *const argv[], char *const envp[])
argv              606 execwrappers.cpp   return execve(buf, argv, envp);
argv              616 execwrappers.cpp   const char **argv = initial_argv;
argv              619 execwrappers.cpp   argv[0] = arg;
argv              623 execwrappers.cpp   while (argv[i++] != NULL)
argv              628 execwrappers.cpp       const char **nptr = (const char**) realloc (argv == initial_argv ? NULL : argv,
argv              632 execwrappers.cpp         if (argv != initial_argv)
argv              633 execwrappers.cpp           free (argv);
argv              636 execwrappers.cpp       if (argv == initial_argv)
argv              638 execwrappers.cpp         memcpy (nptr, argv, i * sizeof (const char *));
argv              640 execwrappers.cpp       argv = nptr;
argv              643 execwrappers.cpp     argv[i] = va_arg (args, const char *);
argv              647 execwrappers.cpp   int ret = execv (path, (char *const *) argv);
argv              648 execwrappers.cpp   if (argv != initial_argv)
argv              649 execwrappers.cpp     free (argv);
argv              661 execwrappers.cpp   const char **argv = initial_argv;
argv              664 execwrappers.cpp   argv[0] = arg;
argv              668 execwrappers.cpp   while (argv[i++] != NULL)
argv              673 execwrappers.cpp       const char **nptr = (const char**) realloc (argv == initial_argv ? NULL : argv,
argv              677 execwrappers.cpp         if (argv != initial_argv)
argv              678 execwrappers.cpp           free (argv);
argv              681 execwrappers.cpp       if (argv == initial_argv)
argv              683 execwrappers.cpp         memcpy (nptr, argv, i * sizeof (const char *));
argv              685 execwrappers.cpp       argv = nptr;
argv              688 execwrappers.cpp     argv[i] = va_arg (args, const char *);
argv              692 execwrappers.cpp   int ret = execvp (file, (char *const *) argv);
argv              693 execwrappers.cpp   if (argv != initial_argv)
argv              694 execwrappers.cpp     free (argv);
argv              706 execwrappers.cpp   const char **argv = initial_argv;
argv              708 execwrappers.cpp   argv[0] = arg;
argv              712 execwrappers.cpp   while (argv[i++] != NULL)
argv              717 execwrappers.cpp       const char **nptr = (const char**) realloc (argv == initial_argv ? NULL : argv,
argv              721 execwrappers.cpp         if (argv != initial_argv)
argv              722 execwrappers.cpp           free (argv);
argv              725 execwrappers.cpp       if (argv == initial_argv)
argv              727 execwrappers.cpp         memcpy (nptr, argv, i * sizeof (const char *));
argv              729 execwrappers.cpp       argv = nptr;
argv              732 execwrappers.cpp     argv[i] = va_arg (args, const char *);
argv              738 execwrappers.cpp   int ret = execve (path, (char *const *) argv, (char *const *) envp);
argv              739 execwrappers.cpp   if (argv != initial_argv)
argv              740 execwrappers.cpp     free (argv);
argv              300 miscwrappers.cpp       SYSCALL_GET_ARGS_3(const char*,filename,char* const *,argv,char* const *,envp);
argv              301 miscwrappers.cpp       ret = execve(filename,argv,envp);
argv              139 mtcp/mtcp_restart.c                        int argc, char **argv,
argv              144 mtcp/mtcp_restart.c   char **envp = argv + argc + 1;
argv              145 mtcp/mtcp_restart.c   int result = main(argc, argv, envp);
argv              150 mtcp/mtcp_restart.c void __libc_csu_init (int argc, char **argv, char **envp) { }
argv              166 mtcp/mtcp_restart.c #define shift argv++; argc--;
argv              168 mtcp/mtcp_restart.c int main(int argc, char *argv[], char **environ)
argv              209 mtcp/mtcp_restart.c       mtcp_printf("Considering '%s' as a ckpt image.\n", argv[0]);
argv              210 mtcp/mtcp_restart.c       ckptImage = argv[0];
argv              212 mtcp/mtcp_restart.c     } else if (mtcp_strcmp(argv[0], "--use-gdb") == 0) {
argv              215 mtcp/mtcp_restart.c     } else if (mtcp_strcmp(argv[0], "--text-offset") == 0) {
argv              216 mtcp/mtcp_restart.c       rinfo.text_offset = mtcp_strtol(argv[1]);
argv              219 mtcp/mtcp_restart.c     } else if (mtcp_strcmp(argv[0], "--fd") == 0) {
argv              220 mtcp/mtcp_restart.c       rinfo.fd = mtcp_strtol(argv[1]);
argv              222 mtcp/mtcp_restart.c     } else if (mtcp_strcmp(argv[0], "--stderr-fd") == 0) {
argv              223 mtcp/mtcp_restart.c       rinfo.stderr_fd = mtcp_strtol(argv[1]);
argv              225 mtcp/mtcp_restart.c     } else if (mtcp_strcmp(argv[0], "--simulate") == 0) {
argv              179 nosyscallsreal.c int _real_execve (const char *filename, char *const argv[],
argv              182 nosyscallsreal.c   REAL_FUNC_PASSTHROUGH (execve) (filename,argv,envp);
argv              185 nosyscallsreal.c int _real_execv (const char *path, char *const argv[])
argv              187 nosyscallsreal.c   REAL_FUNC_PASSTHROUGH (execv) (path,argv);
argv              190 nosyscallsreal.c int _real_execvp (const char *file, char *const argv[])
argv              192 nosyscallsreal.c   REAL_FUNC_PASSTHROUGH (execvp) (file,argv);
argv              128 plugin/ipc/ssh/dmtcp_ssh.cpp int main(int argc, char *argv[], char *envp[])
argv              139 plugin/ipc/ssh/dmtcp_ssh.cpp   if (strcmp(argv[1], "--noStrictHostKeyChecking") == 0) {
argv              141 plugin/ipc/ssh/dmtcp_ssh.cpp     argv++;
argv              175 plugin/ipc/ssh/dmtcp_ssh.cpp     while (argv[i] != NULL) {
argv              177 plugin/ipc/ssh/dmtcp_ssh.cpp       char *ptr = strstr(argv[i], SSHD_BINARY);
argv              185 plugin/ipc/ssh/dmtcp_ssh.cpp                 argv[i], hostip, port, ptr);
argv              186 plugin/ipc/ssh/dmtcp_ssh.cpp         argv[i] = buf;
argv              190 plugin/ipc/ssh/dmtcp_ssh.cpp     execvp(argv[1], &argv[1]);
argv               95 plugin/ipc/ssh/dmtcp_sshd.cpp int main(int argc, char *argv[], char *envp[])
argv              106 plugin/ipc/ssh/dmtcp_sshd.cpp   if (strcmp(argv[1], "--listenAddr") == 0) {
argv              107 plugin/ipc/ssh/dmtcp_sshd.cpp     dummySshdProcess(argv[2]);
argv              112 plugin/ipc/ssh/dmtcp_sshd.cpp   if (strcmp(argv[1], "--host") != 0) {
argv              116 plugin/ipc/ssh/dmtcp_sshd.cpp   host = argv[2];
argv              118 plugin/ipc/ssh/dmtcp_sshd.cpp   if (strcmp(argv[3], "--port") != 0) {
argv              122 plugin/ipc/ssh/dmtcp_sshd.cpp   port = atoi(argv[4]);
argv              149 plugin/ipc/ssh/dmtcp_sshd.cpp     execvp(argv[5], &argv[5]);
argv              177 plugin/ipc/ssh/ssh.cpp     char *argv[16];
argv              180 plugin/ipc/ssh/ssh.cpp     argv[idx++] = (char*) dmtcp_nocheckpoint_path.c_str();
argv              181 plugin/ipc/ssh/ssh.cpp     argv[idx++] = const_cast<char*>("ssh");
argv              183 plugin/ipc/ssh/ssh.cpp       argv[idx++] = const_cast<char*>("-o");
argv              184 plugin/ipc/ssh/ssh.cpp       argv[idx++] = const_cast<char*>("StrictHostKeyChecking=no");
argv              186 plugin/ipc/ssh/ssh.cpp     argv[idx++] = remoteHost;
argv              187 plugin/ipc/ssh/ssh.cpp     argv[idx++] = (char*) dmtcp_sshd_path.c_str();
argv              188 plugin/ipc/ssh/ssh.cpp     argv[idx++] = const_cast<char*>("--listenAddr");
argv              189 plugin/ipc/ssh/ssh.cpp     argv[idx++] = abstractSockName;
argv              190 plugin/ipc/ssh/ssh.cpp     argv[idx++] = NULL;
argv              200 plugin/ipc/ssh/ssh.cpp     JTRACE("Launching ") (argv[0]) (argv[1]) (argv[2]) (argv[3]) (argv[4]) (argv[5]);
argv              201 plugin/ipc/ssh/ssh.cpp     _real_execvp(argv[0], argv);
argv              249 plugin/ipc/ssh/ssh.cpp static void prepareForExec(char *const argv[], char ***newArgv)
argv              254 plugin/ipc/ssh/ssh.cpp   while (argv[nargs++] != NULL);
argv              257 plugin/ipc/ssh/ssh.cpp     JNOTE("ssh with less than 3 args") (argv[0]) (argv[1]);
argv              258 plugin/ipc/ssh/ssh.cpp     *newArgv = (char**) argv;
argv              265 plugin/ipc/ssh/ssh.cpp     string s = argv[i];
argv              266 plugin/ipc/ssh/ssh.cpp     if (strcmp(argv[i], "-o") == 0) {
argv              267 plugin/ipc/ssh/ssh.cpp       if (strcmp(argv[i+1], "StrictHostKeyChecking=no") == 0) {
argv              292 plugin/ipc/ssh/ssh.cpp     if (argv[i][0] != '-') {
argv              297 plugin/ipc/ssh/ssh.cpp   JASSERT(commandStart < nargs && argv[commandStart][0] != '-')
argv              298 plugin/ipc/ssh/ssh.cpp     (commandStart) (nargs) (argv[commandStart])
argv              319 plugin/ipc/ssh/ssh.cpp   tempcmd = argv[commandStart];
argv              353 plugin/ipc/ssh/ssh.cpp     new_argv[idx++] = ( char* ) argv[i];
argv              354 plugin/ipc/ssh/ssh.cpp     if (argv[i] != NULL) {
argv              355 plugin/ipc/ssh/ssh.cpp       newCommand += argv[i];
argv              363 plugin/ipc/ssh/ssh.cpp     new_argv[idx++] = (char*) argv[i];
argv              364 plugin/ipc/ssh/ssh.cpp     if (argv[i] != NULL) {
argv              365 plugin/ipc/ssh/ssh.cpp       newCommand += argv[i];
argv              433 plugin/ipc/ssh/ssh.cpp extern "C" int execve (const char *filename, char *const argv[],
argv              437 plugin/ipc/ssh/ssh.cpp     return _real_execve(filename, argv, envp);
argv              443 plugin/ipc/ssh/ssh.cpp   prepareForExec(argv, &newArgv);
argv              449 plugin/ipc/ssh/ssh.cpp extern "C" int execvp (const char *filename, char *const argv[])
argv              452 plugin/ipc/ssh/ssh.cpp     return _real_execvp(filename, argv);
argv              458 plugin/ipc/ssh/ssh.cpp   prepareForExec(argv, &newArgv);
argv              465 plugin/ipc/ssh/ssh.cpp extern "C" int execvpe (const char *filename, char *const argv[],
argv              469 plugin/ipc/ssh/ssh.cpp     return _real_execvpe(filename, argv, envp);
argv              475 plugin/ipc/ssh/ssh.cpp   prepareForExec(argv, &newArgv);
argv              579 syscallsreal.c int _real_fexecve (int fd, char *const argv[], char *const envp[])
argv              581 syscallsreal.c   REAL_FUNC_PASSTHROUGH (fexecve) (fd,argv,envp);
argv              585 syscallsreal.c int _real_execve (const char *filename, char *const argv[],
argv              588 syscallsreal.c   REAL_FUNC_PASSTHROUGH (execve) (filename,argv,envp);
argv              592 syscallsreal.c int _real_execv (const char *path, char *const argv[])
argv              594 syscallsreal.c   REAL_FUNC_PASSTHROUGH (execv) (path,argv);
argv              598 syscallsreal.c int _real_execvp (const char *file, char *const argv[])
argv              600 syscallsreal.c   REAL_FUNC_PASSTHROUGH (execvp) (file,argv);
argv              603 syscallsreal.c int _real_execvpe(const char *file, char *const argv[], char *const envp[]) {
argv              604 syscallsreal.c   REAL_FUNC_PASSTHROUGH (execvpe) (file, argv, envp);
argv              303 syscallwrappers.h   int _real_fexecve (int fd, char *const argv[], char *const envp[]);
argv              304 syscallwrappers.h   int _real_execve (const char *filename, char *const argv[], char *const envp[]);
argv              305 syscallwrappers.h   int _real_execv (const char *path, char *const argv[]);
argv              306 syscallwrappers.h   int _real_execvp (const char *file, char *const argv[]);
argv              307 syscallwrappers.h   int _real_execvpe(const char *file, char *const argv[], char *const envp[]);