Home
last modified time | relevance | path

Searched refs:toolfile (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/main/coregrind/
Dlauncher-linux.c239 char *toolfile; in main() local
355 toolfile = malloc(strlen(valgrind_lib) + strlen(toolname) + strlen(platform) + 3); in main()
356 if (toolfile == NULL) in main()
358 sprintf(toolfile, "%s/%s-%s", valgrind_lib, toolname, platform); in main()
360 VG_(debugLog)(1, "launcher", "launching %s\n", toolfile); in main()
362 execve(toolfile, argv, new_env); in main()
Dlauncher-darwin.c210 char *toolfile; in main() local
410 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch); in main()
411 if (access(toolfile, R_OK|X_OK) != 0) { in main()
412 barf("tool '%s' not installed (%s) (%s)", toolname, toolfile, strerror(errno)); in main()
415 VG_(debugLog)(1, "launcher", "launching %s\n", toolfile); in main()
417 execve(toolfile, new_argv, new_env); in main()