Documentation ¶
Index ¶
- Constants
- func AddMinijailBindingDeprecated(path string, writable WritableOption) errordeprecated
- func AddMinijailBindingToEnv(env []string, binding *Binding) ([]string, error)
- func IsIgnoredLine(line string) bool
- func NewMinijail(opts *Options) (*minijail, error)
- type Binding
- type Options
- type OutputFilter
- type WritableOption
Constants ¶
View Source
const ( EnvPrefix = "CIFUZZ_MINIJAIL_" DebugEnvVarName = EnvPrefix + "DEBUG" BindingsEnvVarName = EnvPrefix + "BINDINGS" BindingFlag = "bind" EnvFlag = "env" // Mount flags as defined in golang.org/x/sys/unix. We're not using // that package because it's not available on macOS. MS_RDONLY = 0x1 MS_NOSUID = 0x2 MS_NODEV = 0x4 MS_BIND = 0x1000 MS_REC = 0x4000 MS_STRICTATIME = 0x1000000 )
Variables ¶
This section is empty.
Functions ¶
func AddMinijailBindingDeprecated
deprecated
func AddMinijailBindingDeprecated(path string, writable WritableOption) error
Deprecated: Use AddMinijailBindingToEnv instead, which doesn't use os.Setenv. TODO(adrian): AddMinijailBindingDeprecated will be removed once all adapters are rewritten (CIFUZZ-1289).
func AddMinijailBindingToEnv ¶
func IsIgnoredLine ¶ added in v0.1.5
func NewMinijail ¶
Types ¶
type Binding ¶
type Binding struct { Source string Target string Writable WritableOption }
func BindingFromString ¶
type OutputFilter ¶
type OutputFilter struct {
// contains filtered or unexported fields
}
func NewOutputFilter ¶
func NewOutputFilter(nextWriter io.Writer) *OutputFilter
Click to show internal directories.
Click to hide internal directories.