Files
yaegi/stdlib/unrestricted/go1_21_syscall_android_arm64.go
ee5ed52051 feat: support go1.22
* feat: support go1.22

* Temporary fix for consistency tests due to language change in for loops

* review: clean old files

---------

Co-authored-by: Fernandez Ludovic <[email protected]>
2024-03-05 17:56:04 +01:00

47 lines
2.0 KiB
Go

// Code generated by 'yaegi extract syscall'. DO NOT EDIT.
//go:build go1.21 && !go1.22 && !linux
// +build go1.21,!go1.22,!linux
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)),
}
}