package
0.0.0-20200805095400-e271cfb35556
Repository: https://github.com/manhndd/syzkaller.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CloseMemMappedFile destroys memory mapping created by CreateMemMappedFile.
Command is similar to os/exec.Command, but also sets PDEATHSIG on linux.
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.
CreateMemMappedFile creates a temp file with the requested size and maps it into memory.
FilesExist returns true if all files exist in dir.
HandleInterrupts closes shutdown chan on first SIGINT (expecting that the program will gracefully shutdown and exit) and terminates the process on third SIGINT.
IsAccessible checks if the file can be opened.
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
No description provided by the author
ProcessExitStatus returns process exit status.
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
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