/external/syzkaller/vm/adb/ |
D | adb.go | 27 vmimpl.Register("adb", ctor) 43 env *vmimpl.Env 55 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 89 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 178 tty, err := vmimpl.OpenConsole(con) 235 devicePort := vmimpl.RandomPort() 269 if !vmimpl.SleepInterruptible(10 * time.Second) { 283 if !vmimpl.SleepInterruptible(time.Second) { 308 if !vmimpl.SleepInterruptible(time.Minute) { 370 tty, err = vmimpl.OpenAdbConsole(inst.adbBin, inst.device) [all …]
|
/external/syzkaller/vm/isolated/ |
D | isolated.go | 23 vmimpl.Register("isolated", ctor) 33 env *vmimpl.Env 49 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 79 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 133 args := append(vmimpl.SSHArgs(inst.debug, inst.sshKey, inst.targetPort), 201 return vmimpl.WaitForSSH(inst.debug, timeout, inst.targetAddr, inst.sshKey, inst.sshUser, 209 if !vmimpl.SleepInterruptible(time.Second) { 231 args := append(vmimpl.SCPArgs(inst.debug, inst.sshKey, inst.targetPort), 260 …args := append(vmimpl.SSHArgs(inst.debug, inst.sshKey, inst.targetPort), inst.sshUser+"@"+inst.tar… 261 dmesg, err := vmimpl.OpenRemoteConsole("ssh", args...) [all …]
|
/external/syzkaller/vm/odroid/ |
D | odroid.go | 32 vmimpl.Register("odroid", ctor) 45 env *vmimpl.Env 57 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 94 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 136 args := append(vmimpl.SSHArgs(inst.debug, inst.sshkey, 22), "root@"+inst.cfg.Slave_Addr, command) 245 if !vmimpl.SleepInterruptible(20 * time.Second) { 257 if !vmimpl.SleepInterruptible(5 * time.Second) { 275 …return vmimpl.WaitForSSH(inst.debug, timeout, inst.cfg.Slave_Addr, inst.sshkey, "root", inst.os, 2… 285 …args := append(vmimpl.SCPArgs(inst.debug, inst.sshkey, 22), hostSrc, "root@"+inst.cfg.Slave_Addr+"… 313 tty, err := vmimpl.OpenConsole(inst.cfg.Console) [all …]
|
/external/syzkaller/vm/gce/ |
D | gce.go | 35 vmimpl.Register("gce", ctor) 46 env *vmimpl.Env 52 env *vmimpl.Env 64 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 127 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 164 if err := vmimpl.WaitForSSH(pool.env.Debug, 5*time.Minute, ip, 170 return nil, vmimpl.BootError{Title: err.Error(), Output: output} 199 …args := append(vmimpl.SCPArgs(inst.debug, inst.sshKey, 22), hostSrc, inst.sshUser+"@"+inst.ip+":"+… 215 conArgs := append(vmimpl.SSHArgs(inst.debug, inst.gceKey, 9600), conAddr) 237 merger := vmimpl.NewOutputMerger(tee) [all …]
|
/external/syzkaller/vm/gvisor/ |
D | gvisor.go | 26 vmimpl.Register("gvisor", ctor) 35 env *vmimpl.Env 48 merger *vmimpl.OutputMerger 51 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 78 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 113 merger := vmimpl.NewOutputMerger(tee) 165 return vmimpl.BootError{ 174 return vmimpl.BootError{ 179 return vmimpl.BootError{ 276 signal(vmimpl.ErrTimeout) [all …]
|
/external/syzkaller/vm/qemu/ |
D | qemu.go | 27 vmimpl.Register("qemu", ctor) 43 env *vmimpl.Env 61 merger *vmimpl.OutputMerger 159 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 211 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 240 func (pool *Pool) ctor(workdir, sshkey, sshuser string, index int) (vmimpl.Instance, error) { 296 inst.port = vmimpl.UnusedTCPPort() 362 inst.merger = vmimpl.NewOutputMerger(tee) 379 if err := vmimpl.WaitForSSH(inst.debug, 10*time.Minute, "localhost", 383 return vmimpl.BootError{Title: err.Error(), Output: bootOutput} [all …]
|
/external/syzkaller/vm/kvm/ |
D | kvm.go | 28 vmimpl.Register("kvm", ctor) 41 env *vmimpl.Env 59 func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { 100 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 264 resultErr = vmimpl.ErrTimeout 267 resultErr = vmimpl.ErrTimeout
|
/external/syzkaller/vm/ |
D | vm.go | 33 impl vmimpl.Pool 38 impl vmimpl.Instance 44 Shutdown = vmimpl.Shutdown 45 ErrTimeout = vmimpl.ErrTimeout 53 env := &vmimpl.Env{ 64 impl, err := vmimpl.Create(cfg.Type, env)
|
/external/syzkaller/vm/vmimpl/ |
D | console_linux_ppc64le.go | 4 package vmimpl package
|
D | console_freebsd.go | 4 package vmimpl package
|
D | console_netbsd.go | 4 package vmimpl package
|
D | console_darwin.go | 4 package vmimpl package
|
D | console_linux_386.go | 4 package vmimpl package
|
D | console_linux_amd64.go | 4 package vmimpl package
|
D | console_linux_arm.go | 4 package vmimpl package
|
D | console_linux_arm64.go | 4 package vmimpl package
|
D | util.go | 4 package vmimpl package
|
D | merger_test.go | 4 package vmimpl package
|
D | merger.go | 4 package vmimpl package
|
D | vmimpl.go | 8 package vmimpl package
|
D | console.go | 4 package vmimpl package
|
/external/syzkaller/tools/syz-tty/ |
D | syz-tty.go | 22 con, err := vmimpl.OpenConsole(os.Args[1])
|