Lines Matching refs:flag
19 flagOS = flag.String("os", runtime.GOOS, "target os")
20 flagArch = flag.String("arch", runtime.GOARCH, "target arch")
21 flagBuild = flag.Bool("build", false, "also build the generated program")
22 flagThreaded = flag.Bool("threaded", false, "create threaded program")
23 flagCollide = flag.Bool("collide", false, "create collide program")
24 flagRepeat = flag.Int("repeat", 1, "repeat program that many times (<=0 - infinitely)")
25 flagProcs = flag.Int("procs", 1, "number of parallel processes")
26 flagSandbox = flag.String("sandbox", "", "sandbox to use (none, setuid, namespace)")
27 flagProg = flag.String("prog", "", "file with program to convert (required)")
28 flagFaultCall = flag.Int("fault_call", -1, "inject fault into this call (0-based)")
29 flagFaultNth = flag.Int("fault_nth", 0, "inject fault on n-th operation (0-based)")
30 flagEnableTun = flag.Bool("tun", false, "set up TUN/TAP interface")
31 flagUseTmpDir = flag.Bool("tmpdir", false, "create a temporary dir and execute inside it")
32 flagCgroups = flag.Bool("cgroups", false, "enable cgroups support")
33 flagNetdev = flag.Bool("netdev", false, "setup various net devices")
34 flagResetNet = flag.Bool("resetnet", false, "reset net namespace after each test")
35 flagHandleSegv = flag.Bool("segv", false, "catch and ignore SIGSEGV")
36 flagTrace = flag.Bool("trace", false, "trace syscall results")
40 flag.Parse()
42 flag.PrintDefaults()