Lines Matching refs:shim
1069 var shim *exec.Cmd
1071 shim = valgrindOf(false, shimPath, flags...)
1073 shim = gdbOf(shimPath, flags...)
1075 shim = lldbOf(shimPath, flags...)
1077 shim = exec.Command(shimPath, flags...)
1079 shim.Stdin = os.Stdin
1081 shim.Stdout = &stdoutBuf
1082 shim.Stderr = &stderrBuf
1084 shim.Env = os.Environ()
1085 shim.Env = append(shim.Env, "MALLOC_NUMBER_TO_FAIL="+strconv.FormatInt(mallocNumToFail, 10))
1087 shim.Env = append(shim.Env, "MALLOC_BREAK_ON_FAIL=1")
1089 shim.Env = append(shim.Env, "_MALLOC_CHECK=1")
1092 if err := shim.Start(); err != nil {
1096 go func() { waitChan <- shim.Wait() }()
1142 shim.Process.Kill()