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