package
0.0.0-20250311210455-ee70e6dbc377
Repository: https://github.com/google/syzkaller.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Command is similar to os/exec.Command, but also sets PDEATHSIG to SIGKILL on linux, i.e.
CommandContext is similar to os/exec.CommandContext, but also sets PDEATHSIG to SIGKILL on linux, i.e.
No description provided by the author
CopyFile atomically copies oldFile to newFile preserving permissions and modification time.
CopyFiles copies files from srcDir to dstDir as atomically as possible.
CreationTime returns file creation time.
FilesExist returns true if all files exist in dir.
Command is similar to os/exec.Command, but also sets PDEATHSIG to SIGTERM on linux, i.e.
HandleInterrupts closes shutdown chan on first SIGINT (expecting that the program will gracefully shutdown and exit) and terminates the process on third SIGINT.
No description provided by the author
IsExist returns true if the file name exists.
LinkFiles creates hard links for files from dstDir to srcDir.
Return all files in a directory.
No description provided by the author
No description provided by the author
MonotonicNano returns monotonic time in nanoseconds from some unspecified point in time.
No description provided by the author
ProcessTempDir creates a new temp dir in where and returns its path and an unique index.
RemoveAll is similar to os.RemoveAll, but can handle more cases.
Rename is similar to os.Rename but handles cross-device renaming (by copying).
Run runs cmd with the specified timeout.
RunCmd runs "bin args..." in dir with timeout and returns its output.
No description provided by the author
No description provided by the author
No description provided by the author
TempFile creates a unique temp filename.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteTempFile writes data to a temp file and returns its name.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author