1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
// Code generated by 'yaegi extract syscall'. DO NOT EDIT.
//go:build go1.22
// +build go1.22
package unrestricted
import (
"reflect"
"syscall"
)
func init() {
Symbols["syscall/syscall"] = map[string]reflect.Value{
// function, constant and variable definitions
"AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall),
"AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6),
"Exec": reflect.ValueOf(syscall.Exec),
"Exit": reflect.ValueOf(syscall.Exit),
"ForkExec": reflect.ValueOf(syscall.ForkExec),
"Kill": reflect.ValueOf(syscall.Kill),
"PtraceAttach": reflect.ValueOf(syscall.PtraceAttach),
"PtraceCont": reflect.ValueOf(syscall.PtraceCont),
"PtraceDetach": reflect.ValueOf(syscall.PtraceDetach),
"PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg),
"PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs),
"PtracePeekData": reflect.ValueOf(syscall.PtracePeekData),
"PtracePeekText": reflect.ValueOf(syscall.PtracePeekText),
"PtracePokeData": reflect.ValueOf(syscall.PtracePokeData),
"PtracePokeText": reflect.ValueOf(syscall.PtracePokeText),
"PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions),
"PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs),
"PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep),
"PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall),
"RawSyscall": reflect.ValueOf(syscall.RawSyscall),
"RawSyscall6": reflect.ValueOf(syscall.RawSyscall6),
"Reboot": reflect.ValueOf(syscall.Reboot),
"Shutdown": reflect.ValueOf(syscall.Shutdown),
"StartProcess": reflect.ValueOf(syscall.StartProcess),
"Syscall": reflect.ValueOf(syscall.Syscall),
"Syscall6": reflect.ValueOf(syscall.Syscall6),
// type definitions
"PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)),
}
}
|