From 0dde990d0b4e9a536b59d007c21c177d3e1837ed Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 29 Sep 2020 18:42:05 +0200 Subject: [PATCH] feature: improve extract, add unrestricted syscalls --- .gitignore | 2 +- .goreleaser.yml | 25 ---- Makefile | 18 +-- cmd/goexports/goexports.go | 137 ------------------ cmd/yaegi/extract.go | 28 +++- cmd/yaegi/run.go | 2 +- generate.go | 2 +- install.sh | 64 ++++---- internal/cmd/extract/extract.go | 107 ++++++++++++++ internal/{ => cmd}/genop/genop.go | 2 +- {extract => internal/extract}/extract.go | 79 +++++++--- {extract => internal/extract}/extract_test.go | 12 +- .../testdata/1/src/guthib.com/bar/main.go | 0 .../testdata/1/src/guthib.com/baz/baz.go | 0 .../testdata/1/src/guthib.com/baz/go.mod | 0 .../testdata/2/src/guthib.com/bar/main.go | 0 .../testdata/2/src/guthib.com/baz/baz.go | 0 .../testdata/3/src/guthib.com/bar/main.go | 0 .../testdata/3/src/guthib.com/baz/baz.go | 0 .../testdata/3/src/guthib.com/baz/go.mod | 0 .../testdata/4/src/guthib.com/bar/main.go | 0 .../bar/vendor/guthib.com/baz/baz.go | 0 .../bar/vendor/guthib.com/baz/go.mod | 0 .../testdata/5/src/guthib.com/bar/main.go | 0 .../bar/vendor/guthib.com/baz/baz.go | 0 interp/doc.go | 4 +- interp/run.go | 2 +- stdlib/go1_14_archive_tar.go | 2 +- stdlib/go1_14_archive_zip.go | 2 +- stdlib/go1_14_bufio.go | 2 +- stdlib/go1_14_bytes.go | 2 +- stdlib/go1_14_compress_bzip2.go | 2 +- stdlib/go1_14_compress_flate.go | 2 +- stdlib/go1_14_compress_gzip.go | 2 +- stdlib/go1_14_compress_lzw.go | 2 +- stdlib/go1_14_compress_zlib.go | 2 +- stdlib/go1_14_container_heap.go | 2 +- stdlib/go1_14_container_list.go | 2 +- stdlib/go1_14_container_ring.go | 2 +- stdlib/go1_14_context.go | 2 +- stdlib/go1_14_crypto.go | 2 +- stdlib/go1_14_crypto_aes.go | 2 +- stdlib/go1_14_crypto_cipher.go | 2 +- stdlib/go1_14_crypto_des.go | 2 +- stdlib/go1_14_crypto_dsa.go | 2 +- stdlib/go1_14_crypto_ecdsa.go | 2 +- stdlib/go1_14_crypto_ed25519.go | 2 +- stdlib/go1_14_crypto_elliptic.go | 2 +- stdlib/go1_14_crypto_hmac.go | 2 +- stdlib/go1_14_crypto_md5.go | 2 +- stdlib/go1_14_crypto_rand.go | 2 +- stdlib/go1_14_crypto_rc4.go | 2 +- stdlib/go1_14_crypto_rsa.go | 2 +- stdlib/go1_14_crypto_sha1.go | 2 +- stdlib/go1_14_crypto_sha256.go | 2 +- stdlib/go1_14_crypto_sha512.go | 2 +- stdlib/go1_14_crypto_subtle.go | 2 +- stdlib/go1_14_crypto_tls.go | 2 +- stdlib/go1_14_crypto_x509.go | 2 +- stdlib/go1_14_crypto_x509_pkix.go | 2 +- stdlib/go1_14_database_sql.go | 2 +- stdlib/go1_14_database_sql_driver.go | 2 +- stdlib/go1_14_debug_dwarf.go | 2 +- stdlib/go1_14_debug_elf.go | 2 +- stdlib/go1_14_debug_gosym.go | 2 +- stdlib/go1_14_debug_macho.go | 2 +- stdlib/go1_14_debug_pe.go | 2 +- stdlib/go1_14_debug_plan9obj.go | 2 +- stdlib/go1_14_encoding.go | 2 +- stdlib/go1_14_encoding_ascii85.go | 2 +- stdlib/go1_14_encoding_asn1.go | 2 +- stdlib/go1_14_encoding_base32.go | 2 +- stdlib/go1_14_encoding_base64.go | 2 +- stdlib/go1_14_encoding_binary.go | 2 +- stdlib/go1_14_encoding_csv.go | 2 +- stdlib/go1_14_encoding_gob.go | 2 +- stdlib/go1_14_encoding_hex.go | 2 +- stdlib/go1_14_encoding_json.go | 2 +- stdlib/go1_14_encoding_pem.go | 2 +- stdlib/go1_14_encoding_xml.go | 2 +- stdlib/go1_14_errors.go | 2 +- stdlib/go1_14_expvar.go | 2 +- stdlib/go1_14_flag.go | 2 +- stdlib/go1_14_fmt.go | 2 +- stdlib/go1_14_go_ast.go | 2 +- stdlib/go1_14_go_build.go | 2 +- stdlib/go1_14_go_constant.go | 2 +- stdlib/go1_14_go_doc.go | 2 +- stdlib/go1_14_go_format.go | 2 +- stdlib/go1_14_go_importer.go | 2 +- stdlib/go1_14_go_parser.go | 2 +- stdlib/go1_14_go_printer.go | 2 +- stdlib/go1_14_go_scanner.go | 2 +- stdlib/go1_14_go_token.go | 2 +- stdlib/go1_14_go_types.go | 2 +- stdlib/go1_14_hash.go | 2 +- stdlib/go1_14_hash_adler32.go | 2 +- stdlib/go1_14_hash_crc32.go | 2 +- stdlib/go1_14_hash_crc64.go | 2 +- stdlib/go1_14_hash_fnv.go | 2 +- stdlib/go1_14_hash_maphash.go | 2 +- stdlib/go1_14_html.go | 2 +- stdlib/go1_14_html_template.go | 2 +- stdlib/go1_14_image.go | 2 +- stdlib/go1_14_image_color.go | 2 +- stdlib/go1_14_image_color_palette.go | 2 +- stdlib/go1_14_image_draw.go | 2 +- stdlib/go1_14_image_gif.go | 2 +- stdlib/go1_14_image_jpeg.go | 2 +- stdlib/go1_14_image_png.go | 2 +- stdlib/go1_14_index_suffixarray.go | 2 +- stdlib/go1_14_io.go | 2 +- stdlib/go1_14_io_ioutil.go | 2 +- stdlib/go1_14_log.go | 2 +- stdlib/go1_14_log_syslog.go | 2 +- stdlib/go1_14_math.go | 2 +- stdlib/go1_14_math_big.go | 2 +- stdlib/go1_14_math_bits.go | 2 +- stdlib/go1_14_math_cmplx.go | 2 +- stdlib/go1_14_math_rand.go | 2 +- stdlib/go1_14_mime.go | 2 +- stdlib/go1_14_mime_multipart.go | 2 +- stdlib/go1_14_mime_quotedprintable.go | 2 +- stdlib/go1_14_net.go | 2 +- stdlib/go1_14_net_http.go | 2 +- stdlib/go1_14_net_http_cgi.go | 2 +- stdlib/go1_14_net_http_cookiejar.go | 2 +- stdlib/go1_14_net_http_fcgi.go | 2 +- stdlib/go1_14_net_http_httptest.go | 2 +- stdlib/go1_14_net_http_httptrace.go | 2 +- stdlib/go1_14_net_http_httputil.go | 2 +- stdlib/go1_14_net_http_pprof.go | 2 +- stdlib/go1_14_net_mail.go | 2 +- stdlib/go1_14_net_rpc.go | 2 +- stdlib/go1_14_net_rpc_jsonrpc.go | 2 +- stdlib/go1_14_net_smtp.go | 2 +- stdlib/go1_14_net_textproto.go | 2 +- stdlib/go1_14_net_url.go | 2 +- stdlib/go1_14_os.go | 2 +- stdlib/go1_14_os_signal.go | 2 +- stdlib/go1_14_os_user.go | 2 +- stdlib/go1_14_path.go | 2 +- stdlib/go1_14_path_filepath.go | 2 +- stdlib/go1_14_reflect.go | 2 +- stdlib/go1_14_regexp.go | 2 +- stdlib/go1_14_regexp_syntax.go | 2 +- stdlib/go1_14_runtime.go | 2 +- stdlib/go1_14_runtime_debug.go | 2 +- stdlib/go1_14_runtime_pprof.go | 2 +- stdlib/go1_14_runtime_trace.go | 2 +- stdlib/go1_14_sort.go | 2 +- stdlib/go1_14_strconv.go | 2 +- stdlib/go1_14_strings.go | 2 +- stdlib/go1_14_sync.go | 2 +- stdlib/go1_14_sync_atomic.go | 2 +- stdlib/go1_14_testing.go | 2 +- stdlib/go1_14_testing_iotest.go | 2 +- stdlib/go1_14_testing_quick.go | 2 +- stdlib/go1_14_text_scanner.go | 2 +- stdlib/go1_14_text_tabwriter.go | 2 +- stdlib/go1_14_text_template.go | 2 +- stdlib/go1_14_text_template_parse.go | 2 +- stdlib/go1_14_time.go | 2 +- stdlib/go1_14_unicode.go | 2 +- stdlib/go1_14_unicode_utf16.go | 2 +- stdlib/go1_14_unicode_utf8.go | 2 +- stdlib/go1_15_archive_tar.go | 2 +- stdlib/go1_15_archive_zip.go | 2 +- stdlib/go1_15_bufio.go | 2 +- stdlib/go1_15_bytes.go | 2 +- stdlib/go1_15_compress_bzip2.go | 2 +- stdlib/go1_15_compress_flate.go | 2 +- stdlib/go1_15_compress_gzip.go | 2 +- stdlib/go1_15_compress_lzw.go | 2 +- stdlib/go1_15_compress_zlib.go | 2 +- stdlib/go1_15_container_heap.go | 2 +- stdlib/go1_15_container_list.go | 2 +- stdlib/go1_15_container_ring.go | 2 +- stdlib/go1_15_context.go | 2 +- stdlib/go1_15_crypto.go | 2 +- stdlib/go1_15_crypto_aes.go | 2 +- stdlib/go1_15_crypto_cipher.go | 2 +- stdlib/go1_15_crypto_des.go | 2 +- stdlib/go1_15_crypto_dsa.go | 2 +- stdlib/go1_15_crypto_ecdsa.go | 2 +- stdlib/go1_15_crypto_ed25519.go | 2 +- stdlib/go1_15_crypto_elliptic.go | 2 +- stdlib/go1_15_crypto_hmac.go | 2 +- stdlib/go1_15_crypto_md5.go | 2 +- stdlib/go1_15_crypto_rand.go | 2 +- stdlib/go1_15_crypto_rc4.go | 2 +- stdlib/go1_15_crypto_rsa.go | 2 +- stdlib/go1_15_crypto_sha1.go | 2 +- stdlib/go1_15_crypto_sha256.go | 2 +- stdlib/go1_15_crypto_sha512.go | 2 +- stdlib/go1_15_crypto_subtle.go | 2 +- stdlib/go1_15_crypto_tls.go | 2 +- stdlib/go1_15_crypto_x509.go | 2 +- stdlib/go1_15_crypto_x509_pkix.go | 2 +- stdlib/go1_15_database_sql.go | 2 +- stdlib/go1_15_database_sql_driver.go | 2 +- stdlib/go1_15_debug_dwarf.go | 2 +- stdlib/go1_15_debug_elf.go | 2 +- stdlib/go1_15_debug_gosym.go | 2 +- stdlib/go1_15_debug_macho.go | 2 +- stdlib/go1_15_debug_pe.go | 2 +- stdlib/go1_15_debug_plan9obj.go | 2 +- stdlib/go1_15_encoding.go | 2 +- stdlib/go1_15_encoding_ascii85.go | 2 +- stdlib/go1_15_encoding_asn1.go | 2 +- stdlib/go1_15_encoding_base32.go | 2 +- stdlib/go1_15_encoding_base64.go | 2 +- stdlib/go1_15_encoding_binary.go | 2 +- stdlib/go1_15_encoding_csv.go | 2 +- stdlib/go1_15_encoding_gob.go | 2 +- stdlib/go1_15_encoding_hex.go | 2 +- stdlib/go1_15_encoding_json.go | 2 +- stdlib/go1_15_encoding_pem.go | 2 +- stdlib/go1_15_encoding_xml.go | 2 +- stdlib/go1_15_errors.go | 2 +- stdlib/go1_15_expvar.go | 2 +- stdlib/go1_15_flag.go | 2 +- stdlib/go1_15_fmt.go | 2 +- stdlib/go1_15_go_ast.go | 2 +- stdlib/go1_15_go_build.go | 2 +- stdlib/go1_15_go_constant.go | 2 +- stdlib/go1_15_go_doc.go | 2 +- stdlib/go1_15_go_format.go | 2 +- stdlib/go1_15_go_importer.go | 2 +- stdlib/go1_15_go_parser.go | 2 +- stdlib/go1_15_go_printer.go | 2 +- stdlib/go1_15_go_scanner.go | 2 +- stdlib/go1_15_go_token.go | 2 +- stdlib/go1_15_go_types.go | 2 +- stdlib/go1_15_hash.go | 2 +- stdlib/go1_15_hash_adler32.go | 2 +- stdlib/go1_15_hash_crc32.go | 2 +- stdlib/go1_15_hash_crc64.go | 2 +- stdlib/go1_15_hash_fnv.go | 2 +- stdlib/go1_15_hash_maphash.go | 2 +- stdlib/go1_15_html.go | 2 +- stdlib/go1_15_html_template.go | 2 +- stdlib/go1_15_image.go | 2 +- stdlib/go1_15_image_color.go | 2 +- stdlib/go1_15_image_color_palette.go | 2 +- stdlib/go1_15_image_draw.go | 2 +- stdlib/go1_15_image_gif.go | 2 +- stdlib/go1_15_image_jpeg.go | 2 +- stdlib/go1_15_image_png.go | 2 +- stdlib/go1_15_index_suffixarray.go | 2 +- stdlib/go1_15_io.go | 2 +- stdlib/go1_15_io_ioutil.go | 2 +- stdlib/go1_15_log.go | 2 +- stdlib/go1_15_log_syslog.go | 2 +- stdlib/go1_15_math.go | 2 +- stdlib/go1_15_math_big.go | 2 +- stdlib/go1_15_math_bits.go | 2 +- stdlib/go1_15_math_cmplx.go | 2 +- stdlib/go1_15_math_rand.go | 2 +- stdlib/go1_15_mime.go | 2 +- stdlib/go1_15_mime_multipart.go | 2 +- stdlib/go1_15_mime_quotedprintable.go | 2 +- stdlib/go1_15_net.go | 2 +- stdlib/go1_15_net_http.go | 2 +- stdlib/go1_15_net_http_cgi.go | 2 +- stdlib/go1_15_net_http_cookiejar.go | 2 +- stdlib/go1_15_net_http_fcgi.go | 2 +- stdlib/go1_15_net_http_httptest.go | 2 +- stdlib/go1_15_net_http_httptrace.go | 2 +- stdlib/go1_15_net_http_httputil.go | 2 +- stdlib/go1_15_net_http_pprof.go | 2 +- stdlib/go1_15_net_mail.go | 2 +- stdlib/go1_15_net_rpc.go | 2 +- stdlib/go1_15_net_rpc_jsonrpc.go | 2 +- stdlib/go1_15_net_smtp.go | 2 +- stdlib/go1_15_net_textproto.go | 2 +- stdlib/go1_15_net_url.go | 2 +- stdlib/go1_15_os.go | 2 +- stdlib/go1_15_os_signal.go | 2 +- stdlib/go1_15_os_user.go | 2 +- stdlib/go1_15_path.go | 2 +- stdlib/go1_15_path_filepath.go | 2 +- stdlib/go1_15_reflect.go | 2 +- stdlib/go1_15_regexp.go | 2 +- stdlib/go1_15_regexp_syntax.go | 2 +- stdlib/go1_15_runtime.go | 2 +- stdlib/go1_15_runtime_debug.go | 2 +- stdlib/go1_15_runtime_pprof.go | 2 +- stdlib/go1_15_runtime_trace.go | 2 +- stdlib/go1_15_sort.go | 2 +- stdlib/go1_15_strconv.go | 2 +- stdlib/go1_15_strings.go | 2 +- stdlib/go1_15_sync.go | 2 +- stdlib/go1_15_sync_atomic.go | 2 +- stdlib/go1_15_testing.go | 2 +- stdlib/go1_15_testing_iotest.go | 2 +- stdlib/go1_15_testing_quick.go | 2 +- stdlib/go1_15_text_scanner.go | 2 +- stdlib/go1_15_text_tabwriter.go | 2 +- stdlib/go1_15_text_template.go | 2 +- stdlib/go1_15_text_template_parse.go | 2 +- stdlib/go1_15_time.go | 2 +- stdlib/go1_15_unicode.go | 2 +- stdlib/go1_15_unicode_utf16.go | 2 +- stdlib/go1_15_unicode_utf8.go | 2 +- stdlib/stdlib.go | 66 ++++----- stdlib/syscall/go1_14_syscall_aix_ppc64.go | 21 +-- stdlib/syscall/go1_14_syscall_android_386.go | 27 +--- .../syscall/go1_14_syscall_android_amd64.go | 27 +--- stdlib/syscall/go1_14_syscall_android_arm.go | 27 +--- .../syscall/go1_14_syscall_android_arm64.go | 27 +--- stdlib/syscall/go1_14_syscall_darwin_386.go | 15 +- stdlib/syscall/go1_14_syscall_darwin_amd64.go | 15 +- stdlib/syscall/go1_14_syscall_darwin_arm.go | 15 +- stdlib/syscall/go1_14_syscall_darwin_arm64.go | 15 +- .../syscall/go1_14_syscall_dragonfly_amd64.go | 13 +- stdlib/syscall/go1_14_syscall_freebsd_386.go | 13 +- .../syscall/go1_14_syscall_freebsd_amd64.go | 13 +- stdlib/syscall/go1_14_syscall_freebsd_arm.go | 13 +- .../syscall/go1_14_syscall_freebsd_arm64.go | 13 +- .../syscall/go1_14_syscall_illumos_amd64.go | 12 +- stdlib/syscall/go1_14_syscall_js_wasm.go | 10 +- stdlib/syscall/go1_14_syscall_linux_386.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_amd64.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_arm.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_arm64.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_mips.go | 28 +--- stdlib/syscall/go1_14_syscall_linux_mips64.go | 27 +--- .../syscall/go1_14_syscall_linux_mips64le.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_mipsle.go | 28 +--- stdlib/syscall/go1_14_syscall_linux_ppc64.go | 27 +--- .../syscall/go1_14_syscall_linux_ppc64le.go | 27 +--- .../syscall/go1_14_syscall_linux_riscv64.go | 27 +--- stdlib/syscall/go1_14_syscall_linux_s390x.go | 30 +--- stdlib/syscall/go1_14_syscall_netbsd_386.go | 13 +- stdlib/syscall/go1_14_syscall_netbsd_amd64.go | 13 +- stdlib/syscall/go1_14_syscall_netbsd_arm.go | 13 +- stdlib/syscall/go1_14_syscall_netbsd_arm64.go | 13 +- stdlib/syscall/go1_14_syscall_openbsd_386.go | 13 +- .../syscall/go1_14_syscall_openbsd_amd64.go | 13 +- stdlib/syscall/go1_14_syscall_openbsd_arm.go | 13 +- .../syscall/go1_14_syscall_openbsd_arm64.go | 13 +- stdlib/syscall/go1_14_syscall_plan9_386.go | 10 +- stdlib/syscall/go1_14_syscall_plan9_amd64.go | 10 +- stdlib/syscall/go1_14_syscall_plan9_arm.go | 10 +- .../syscall/go1_14_syscall_solaris_amd64.go | 10 +- stdlib/syscall/go1_14_syscall_windows_386.go | 14 +- .../syscall/go1_14_syscall_windows_amd64.go | 14 +- stdlib/syscall/go1_14_syscall_windows_arm.go | 14 +- stdlib/syscall/go1_15_syscall_aix_ppc64.go | 21 +-- stdlib/syscall/go1_15_syscall_android_386.go | 27 +--- .../syscall/go1_15_syscall_android_amd64.go | 27 +--- stdlib/syscall/go1_15_syscall_android_arm.go | 27 +--- .../syscall/go1_15_syscall_android_arm64.go | 27 +--- stdlib/syscall/go1_15_syscall_darwin_amd64.go | 15 +- stdlib/syscall/go1_15_syscall_darwin_arm64.go | 15 +- .../syscall/go1_15_syscall_dragonfly_amd64.go | 13 +- stdlib/syscall/go1_15_syscall_freebsd_386.go | 13 +- .../syscall/go1_15_syscall_freebsd_amd64.go | 13 +- stdlib/syscall/go1_15_syscall_freebsd_arm.go | 13 +- .../syscall/go1_15_syscall_freebsd_arm64.go | 13 +- .../syscall/go1_15_syscall_illumos_amd64.go | 12 +- stdlib/syscall/go1_15_syscall_js_wasm.go | 10 +- stdlib/syscall/go1_15_syscall_linux_386.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_amd64.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_arm.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_arm64.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_mips.go | 28 +--- stdlib/syscall/go1_15_syscall_linux_mips64.go | 27 +--- .../syscall/go1_15_syscall_linux_mips64le.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_mipsle.go | 28 +--- stdlib/syscall/go1_15_syscall_linux_ppc64.go | 27 +--- .../syscall/go1_15_syscall_linux_ppc64le.go | 27 +--- .../syscall/go1_15_syscall_linux_riscv64.go | 27 +--- stdlib/syscall/go1_15_syscall_linux_s390x.go | 30 +--- stdlib/syscall/go1_15_syscall_netbsd_386.go | 13 +- stdlib/syscall/go1_15_syscall_netbsd_amd64.go | 13 +- stdlib/syscall/go1_15_syscall_netbsd_arm.go | 13 +- stdlib/syscall/go1_15_syscall_netbsd_arm64.go | 13 +- stdlib/syscall/go1_15_syscall_openbsd_386.go | 13 +- .../syscall/go1_15_syscall_openbsd_amd64.go | 13 +- stdlib/syscall/go1_15_syscall_openbsd_arm.go | 13 +- .../syscall/go1_15_syscall_openbsd_arm64.go | 13 +- stdlib/syscall/go1_15_syscall_plan9_386.go | 10 +- stdlib/syscall/go1_15_syscall_plan9_amd64.go | 10 +- stdlib/syscall/go1_15_syscall_plan9_arm.go | 10 +- .../syscall/go1_15_syscall_solaris_amd64.go | 10 +- stdlib/syscall/go1_15_syscall_windows_386.go | 14 +- .../syscall/go1_15_syscall_windows_amd64.go | 14 +- stdlib/syscall/go1_15_syscall_windows_arm.go | 14 +- stdlib/syscall/syscall.go | 2 +- .../unrestricted/go1_14_syscall_aix_ppc64.go | 35 +++++ .../go1_14_syscall_android_386.go | 43 ++++++ .../go1_14_syscall_android_amd64.go | 43 ++++++ .../go1_14_syscall_android_arm.go | 43 ++++++ .../go1_14_syscall_android_arm64.go | 43 ++++++ .../unrestricted/go1_14_syscall_darwin_386.go | 29 ++++ .../go1_14_syscall_darwin_amd64.go | 29 ++++ .../unrestricted/go1_14_syscall_darwin_arm.go | 29 ++++ .../go1_14_syscall_darwin_arm64.go | 29 ++++ .../go1_14_syscall_dragonfly_amd64.go | 27 ++++ .../go1_14_syscall_freebsd_386.go | 27 ++++ .../go1_14_syscall_freebsd_amd64.go | 27 ++++ .../go1_14_syscall_freebsd_arm.go | 27 ++++ .../go1_14_syscall_freebsd_arm64.go | 27 ++++ .../go1_14_syscall_illumos_amd64.go | 26 ++++ stdlib/unrestricted/go1_14_syscall_js_wasm.go | 24 +++ .../unrestricted/go1_14_syscall_linux_386.go | 43 ++++++ .../go1_14_syscall_linux_amd64.go | 43 ++++++ .../unrestricted/go1_14_syscall_linux_arm.go | 43 ++++++ .../go1_14_syscall_linux_arm64.go | 43 ++++++ .../unrestricted/go1_14_syscall_linux_mips.go | 44 ++++++ .../go1_14_syscall_linux_mips64.go | 43 ++++++ .../go1_14_syscall_linux_mips64le.go | 43 ++++++ .../go1_14_syscall_linux_mipsle.go | 44 ++++++ .../go1_14_syscall_linux_ppc64.go | 43 ++++++ .../go1_14_syscall_linux_ppc64le.go | 43 ++++++ .../go1_14_syscall_linux_riscv64.go | 43 ++++++ .../go1_14_syscall_linux_s390x.go | 46 ++++++ .../unrestricted/go1_14_syscall_netbsd_386.go | 27 ++++ .../go1_14_syscall_netbsd_amd64.go | 27 ++++ .../unrestricted/go1_14_syscall_netbsd_arm.go | 27 ++++ .../go1_14_syscall_netbsd_arm64.go | 27 ++++ .../go1_14_syscall_openbsd_386.go | 27 ++++ .../go1_14_syscall_openbsd_amd64.go | 27 ++++ .../go1_14_syscall_openbsd_arm.go | 27 ++++ .../go1_14_syscall_openbsd_arm64.go | 27 ++++ .../unrestricted/go1_14_syscall_plan9_386.go | 24 +++ .../go1_14_syscall_plan9_amd64.go | 24 +++ .../unrestricted/go1_14_syscall_plan9_arm.go | 24 +++ .../go1_14_syscall_solaris_amd64.go | 24 +++ .../go1_14_syscall_windows_386.go | 28 ++++ .../go1_14_syscall_windows_amd64.go | 28 ++++ .../go1_14_syscall_windows_arm.go | 28 ++++ .../unrestricted/go1_15_syscall_aix_ppc64.go | 35 +++++ .../go1_15_syscall_android_386.go | 43 ++++++ .../go1_15_syscall_android_amd64.go | 43 ++++++ .../go1_15_syscall_android_arm.go | 43 ++++++ .../go1_15_syscall_android_arm64.go | 43 ++++++ .../go1_15_syscall_darwin_amd64.go | 29 ++++ .../go1_15_syscall_darwin_arm64.go | 29 ++++ .../go1_15_syscall_dragonfly_amd64.go | 27 ++++ .../go1_15_syscall_freebsd_386.go | 27 ++++ .../go1_15_syscall_freebsd_amd64.go | 27 ++++ .../go1_15_syscall_freebsd_arm.go | 27 ++++ .../go1_15_syscall_freebsd_arm64.go | 27 ++++ .../go1_15_syscall_illumos_amd64.go | 26 ++++ stdlib/unrestricted/go1_15_syscall_js_wasm.go | 24 +++ .../unrestricted/go1_15_syscall_linux_386.go | 43 ++++++ .../go1_15_syscall_linux_amd64.go | 43 ++++++ .../unrestricted/go1_15_syscall_linux_arm.go | 43 ++++++ .../go1_15_syscall_linux_arm64.go | 43 ++++++ .../unrestricted/go1_15_syscall_linux_mips.go | 44 ++++++ .../go1_15_syscall_linux_mips64.go | 43 ++++++ .../go1_15_syscall_linux_mips64le.go | 43 ++++++ .../go1_15_syscall_linux_mipsle.go | 44 ++++++ .../go1_15_syscall_linux_ppc64.go | 43 ++++++ .../go1_15_syscall_linux_ppc64le.go | 43 ++++++ .../go1_15_syscall_linux_riscv64.go | 43 ++++++ .../go1_15_syscall_linux_s390x.go | 46 ++++++ .../unrestricted/go1_15_syscall_netbsd_386.go | 27 ++++ .../go1_15_syscall_netbsd_amd64.go | 27 ++++ .../unrestricted/go1_15_syscall_netbsd_arm.go | 27 ++++ .../go1_15_syscall_netbsd_arm64.go | 27 ++++ .../go1_15_syscall_openbsd_386.go | 27 ++++ .../go1_15_syscall_openbsd_amd64.go | 27 ++++ .../go1_15_syscall_openbsd_arm.go | 27 ++++ .../go1_15_syscall_openbsd_arm64.go | 27 ++++ .../unrestricted/go1_15_syscall_plan9_386.go | 24 +++ .../go1_15_syscall_plan9_amd64.go | 24 +++ .../unrestricted/go1_15_syscall_plan9_arm.go | 24 +++ .../go1_15_syscall_solaris_amd64.go | 24 +++ .../go1_15_syscall_windows_386.go | 28 ++++ .../go1_15_syscall_windows_amd64.go | 28 ++++ .../go1_15_syscall_windows_arm.go | 28 ++++ stdlib/unrestricted/unrestricted.go | 2 + stdlib/unsafe/go1_14_unsafe.go | 2 +- stdlib/unsafe/go1_15_unsafe.go | 2 +- stdlib/unsafe/unsafe.go | 2 +- 479 files changed, 3428 insertions(+), 2032 deletions(-) delete mode 100644 cmd/goexports/goexports.go create mode 100644 internal/cmd/extract/extract.go rename internal/{ => cmd}/genop/genop.go (99%) rename {extract => internal/extract}/extract.go (84%) rename {extract => internal/extract}/extract_test.go (91%) rename {extract => internal/extract}/testdata/1/src/guthib.com/bar/main.go (100%) rename {extract => internal/extract}/testdata/1/src/guthib.com/baz/baz.go (100%) rename {extract => internal/extract}/testdata/1/src/guthib.com/baz/go.mod (100%) rename {extract => internal/extract}/testdata/2/src/guthib.com/bar/main.go (100%) rename {extract => internal/extract}/testdata/2/src/guthib.com/baz/baz.go (100%) rename {extract => internal/extract}/testdata/3/src/guthib.com/bar/main.go (100%) rename {extract => internal/extract}/testdata/3/src/guthib.com/baz/baz.go (100%) rename {extract => internal/extract}/testdata/3/src/guthib.com/baz/go.mod (100%) rename {extract => internal/extract}/testdata/4/src/guthib.com/bar/main.go (100%) rename {extract => internal/extract}/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/baz.go (100%) rename {extract => internal/extract}/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/go.mod (100%) rename {extract => internal/extract}/testdata/5/src/guthib.com/bar/main.go (100%) rename {extract => internal/extract}/testdata/5/src/guthib.com/bar/vendor/guthib.com/baz/baz.go (100%) create mode 100644 stdlib/unrestricted/go1_14_syscall_aix_ppc64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_android_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_android_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_android_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_android_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_darwin_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_darwin_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_darwin_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_darwin_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_dragonfly_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_freebsd_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_freebsd_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_freebsd_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_freebsd_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_illumos_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_js_wasm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_mips.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_mips64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_mips64le.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_mipsle.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_ppc64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_ppc64le.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_riscv64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_linux_s390x.go create mode 100644 stdlib/unrestricted/go1_14_syscall_netbsd_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_netbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_netbsd_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_netbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_openbsd_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_openbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_openbsd_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_openbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_plan9_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_plan9_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_plan9_arm.go create mode 100644 stdlib/unrestricted/go1_14_syscall_solaris_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_windows_386.go create mode 100644 stdlib/unrestricted/go1_14_syscall_windows_amd64.go create mode 100644 stdlib/unrestricted/go1_14_syscall_windows_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_aix_ppc64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_android_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_android_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_android_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_android_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_darwin_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_darwin_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_dragonfly_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_freebsd_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_freebsd_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_freebsd_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_freebsd_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_illumos_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_js_wasm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_mips.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_mips64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_mips64le.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_mipsle.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_ppc64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_ppc64le.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_riscv64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_linux_s390x.go create mode 100644 stdlib/unrestricted/go1_15_syscall_netbsd_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_netbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_netbsd_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_netbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_openbsd_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_openbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_openbsd_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_openbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_plan9_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_plan9_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_plan9_arm.go create mode 100644 stdlib/unrestricted/go1_15_syscall_solaris_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_windows_386.go create mode 100644 stdlib/unrestricted/go1_15_syscall_windows_amd64.go create mode 100644 stdlib/unrestricted/go1_15_syscall_windows_arm.go diff --git a/.gitignore b/.gitignore index 670aeeca..3a5347a1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ *.dot .idea/ /yaegi -cmd/goexports/goexports +internal/cmd/extract/extract example/inception/inception _test/tmp/ /dist diff --git a/.goreleaser.yml b/.goreleaser.yml index f259c61f..c74ca4b3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,31 +26,6 @@ builds: - goos: darwin goarch: 386 - - id: goexports - binary: goexports - main: ./cmd/goexports/ - - goos: - - darwin - - linux -# - windows - - freebsd - - openbsd - - solaris - goarch: - - amd64 - - 386 - - arm - - arm64 - goarm: - - 7 - - 6 - - 5 - - ignore: - - goos: darwin - goarch: 386 - changelog: sort: asc filters: diff --git a/Makefile b/Makefile index 496eb0e1..76745b97 100644 --- a/Makefile +++ b/Makefile @@ -3,15 +3,15 @@ check: golangci-lint run # Generate stdlib/syscall/syscall_GOOS_GOARCH.go for all platforms -gen_all_syscall: cmd/goexports/goexports - @cd stdlib/syscall && \ - for v in $$(go tool dist list); do \ +gen_all_syscall: internal/cmd/extract/extract + @for v in $$(go tool dist list); do \ echo syscall_$${v%/*}_$${v#*/}.go; \ - GOOS=$${v%/*} GOARCH=$${v#*/} go generate; \ + GOOS=$${v%/*} GOARCH=$${v#*/} go generate ./stdlib/syscall ./stdlib/unrestricted; \ done -cmd/goexports/goexports: cmd/goexports/goexports.go - go generate cmd/goexports/goexports.go +internal/cmd/extract/extract: + rm -f internal/cmd/extract/extract + go generate ./internal/cmd/extract generate: gen_all_syscall go generate @@ -21,7 +21,7 @@ tests: GO111MODULE=off go test -race ./interp # https://github.com/goreleaser/godownloader -generate_downloader: - godownloader --repo=traefik/yaegi -o install.sh +install.sh: .goreleaser.yml + godownloader --repo=traefik/yaegi -o install.sh .goreleaser.yml -.PHONY: check gen_all_syscall gen_tests generate_downloader +.PHONY: check gen_all_syscall gen_tests generate_downloader internal/cmd/extract/extract diff --git a/cmd/goexports/goexports.go b/cmd/goexports/goexports.go deleted file mode 100644 index 395b87c8..00000000 --- a/cmd/goexports/goexports.go +++ /dev/null @@ -1,137 +0,0 @@ -//go:generate go build - -/* -Goexports generates wrappers of package exported symbols. - -Output files are written in the current directory, and prefixed with the go version. - -Usage: - - goexports package... - -Example: - - goexports github.com/traefik/yaegi/interp - -The same goexport program is used for all target operating systems and architectures. -The GOOS and GOARCH environment variables set the desired target. -*/ -package main - -import ( - "bufio" - "bytes" - "flag" - "fmt" - "io" - "log" - "os" - "path" - "runtime" - "strings" - - "github.com/traefik/yaegi/extract" -) - -// genLicense generates the correct LICENSE header text from the provided -// path to a LICENSE file. -func genLicense(fname string) (string, error) { - if fname == "" { - return "", nil - } - - f, err := os.Open(fname) - if err != nil { - return "", fmt.Errorf("could not open LICENSE file: %v", err) - } - defer func() { _ = f.Close() }() - - license := new(strings.Builder) - sc := bufio.NewScanner(f) - for sc.Scan() { - txt := sc.Text() - if txt != "" { - txt = " " + txt - } - license.WriteString("//" + txt + "\n") - } - if sc.Err() != nil { - return "", fmt.Errorf("could not scan LICENSE file: %v", err) - } - - return license.String(), nil -} - -var ( - licenseFlag = flag.String("license", "", "path to a LICENSE file") - // TODO: deal with a module that has several packages (so there's only one go.mod file at the root of the project). - importPathFlag = flag.String("import_path", "", "the namespace for the symbols extracted from the argument. Not needed if the argument is from the stdlib, or if the name can be found in a go.mod") -) - -func main() { - flag.Parse() - - if flag.NArg() == 0 { - flag.Usage() - log.Fatalf("missing package path") - } - - license, err := genLicense(*licenseFlag) - if err != nil { - log.Fatal(err) - } - - wd, err := os.Getwd() - if err != nil { - log.Fatal(err) - } - - ext := extract.Extractor{ - Dest: path.Base(wd), - License: license, - } - goos, goarch := os.Getenv("GOOS"), os.Getenv("GOARCH") - skip := map[string]bool{} - if goos == "solaris" { - skip["syscall.RawSyscall6"] = true - skip["syscall.Syscall6"] = true - } - ext.Skip = skip - - for _, pkgIdent := range flag.Args() { - var buf bytes.Buffer - importPath, err := ext.Extract(pkgIdent, *importPathFlag, &buf) - if err != nil { - log.Println(err) - continue - } - - var oFile string - if pkgIdent == "syscall" { - oFile = strings.ReplaceAll(importPath, "/", "_") + "_" + goos + "_" + goarch + ".go" - } else { - oFile = strings.ReplaceAll(importPath, "/", "_") + ".go" - } - - prefix := runtime.Version() - if runtime.Version() != "devel" { - parts := strings.Split(runtime.Version(), ".") - - prefix = parts[0] + "_" + extract.GetMinor(parts[1]) - } - - f, err := os.Create(prefix + "_" + oFile) - if err != nil { - log.Fatal(err) - } - - if _, err := io.Copy(f, &buf); err != nil { - _ = f.Close() - log.Fatal(err) - } - - if err := f.Close(); err != nil { - log.Fatal(err) - } - } -} diff --git a/cmd/yaegi/extract.go b/cmd/yaegi/extract.go index f554b7d0..9de94a65 100644 --- a/cmd/yaegi/extract.go +++ b/cmd/yaegi/extract.go @@ -10,16 +10,20 @@ import ( "path" "strings" - "github.com/traefik/yaegi/extract" + "github.com/traefik/yaegi/internal/extract" ) func extractCmd(arg []string) error { var licensePath string - var importPath string + var name string + var exclude string + var include string eflag := flag.NewFlagSet("run", flag.ContinueOnError) eflag.StringVar(&licensePath, "license", "", "path to a LICENSE file") - eflag.StringVar(&importPath, "import_path", "", "the namespace for the extracted symbols") + eflag.StringVar(&name, "name", "", "the namespace for the extracted symbols") + eflag.StringVar(&exclude, "exclude", "", "comma separated list of regexp matching symbols to exclude") + eflag.StringVar(&include, "include", "", "comma separated list of regexp matching symbols to include") eflag.Usage = func() { fmt.Println("Usage: yaegi extract [options] packages...") fmt.Println("Options:") @@ -45,20 +49,32 @@ func extractCmd(arg []string) error { return err } + if name == "" { + name = path.Base(wd) + } ext := extract.Extractor{ - Dest: path.Base(wd), + Dest: name, License: license, } + if exclude != "" { + ext.Exclude = strings.Split(exclude, ",") + } + if include != "" { + ext.Include = strings.Split(include, ",") + } + + r := strings.NewReplacer("/", "-", ".", "_") + for _, pkgIdent := range args { var buf bytes.Buffer - importPath, err := ext.Extract(pkgIdent, importPath, &buf) + importPath, err := ext.Extract(pkgIdent, name, &buf) if err != nil { fmt.Fprintln(os.Stderr, err) continue } - oFile := strings.ReplaceAll(importPath, "/", "_") + ".go" + oFile := r.Replace(importPath) + ".go" f, err := os.Create(oFile) if err != nil { return err diff --git a/cmd/yaegi/run.go b/cmd/yaegi/run.go index a73bf91c..f757f7d7 100644 --- a/cmd/yaegi/run.go +++ b/cmd/yaegi/run.go @@ -51,7 +51,7 @@ func run(arg []string) error { i.Use(unsafe.Symbols) } if useUnrestricted { - // Use of unrestricted symbols should always follow use of stdlib symbols, to update them. + // Use of unrestricted symbols should always follow stdlib and syscall symbols, to update them. i.Use(unrestricted.Symbols) } diff --git a/generate.go b/generate.go index 4cf12280..dc7fad14 100644 --- a/generate.go +++ b/generate.go @@ -1,7 +1,7 @@ package yaegi +//go:generate go generate github.com/traefik/yaegi/internal/extract //go:generate go generate github.com/traefik/yaegi/interp -//go:generate go generate github.com/traefik/yaegi/cmd/goexports //go:generate go generate github.com/traefik/yaegi/stdlib //go:generate go generate github.com/traefik/yaegi/stdlib/syscall //go:generate go generate github.com/traefik/yaegi/stdlib/unsafe diff --git a/install.sh b/install.sh index 0a44156e..9485d3bd 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -# Code generated by godownloader on 2020-09-19T15:21:58Z. DO NOT EDIT. +# Code generated by godownloader on 2020-09-27T12:53:27Z. DO NOT EDIT. # usage() { @@ -62,35 +62,35 @@ execute() { } get_binaries() { case "$PLATFORM" in - darwin/amd64) BINARIES="yaegi goexports" ;; - darwin/arm64) BINARIES="yaegi goexports" ;; - darwin/armv5) BINARIES="yaegi goexports" ;; - darwin/armv6) BINARIES="yaegi goexports" ;; - darwin/armv7) BINARIES="yaegi goexports" ;; - freebsd/386) BINARIES="yaegi goexports" ;; - freebsd/amd64) BINARIES="yaegi goexports" ;; - freebsd/arm64) BINARIES="yaegi goexports" ;; - freebsd/armv5) BINARIES="yaegi goexports" ;; - freebsd/armv6) BINARIES="yaegi goexports" ;; - freebsd/armv7) BINARIES="yaegi goexports" ;; - linux/386) BINARIES="yaegi goexports" ;; - linux/amd64) BINARIES="yaegi goexports" ;; - linux/arm64) BINARIES="yaegi goexports" ;; - linux/armv5) BINARIES="yaegi goexports" ;; - linux/armv6) BINARIES="yaegi goexports" ;; - linux/armv7) BINARIES="yaegi goexports" ;; - openbsd/386) BINARIES="yaegi goexports" ;; - openbsd/amd64) BINARIES="yaegi goexports" ;; - openbsd/arm64) BINARIES="yaegi goexports" ;; - openbsd/armv5) BINARIES="yaegi goexports" ;; - openbsd/armv6) BINARIES="yaegi goexports" ;; - openbsd/armv7) BINARIES="yaegi goexports" ;; - solaris/386) BINARIES="yaegi goexports" ;; - solaris/amd64) BINARIES="yaegi goexports" ;; - solaris/arm64) BINARIES="yaegi goexports" ;; - solaris/armv5) BINARIES="yaegi goexports" ;; - solaris/armv6) BINARIES="yaegi goexports" ;; - solaris/armv7) BINARIES="yaegi goexports" ;; + darwin/amd64) BINARIES="yaegi" ;; + darwin/arm64) BINARIES="yaegi" ;; + darwin/armv5) BINARIES="yaegi" ;; + darwin/armv6) BINARIES="yaegi" ;; + darwin/armv7) BINARIES="yaegi" ;; + freebsd/386) BINARIES="yaegi" ;; + freebsd/amd64) BINARIES="yaegi" ;; + freebsd/arm64) BINARIES="yaegi" ;; + freebsd/armv5) BINARIES="yaegi" ;; + freebsd/armv6) BINARIES="yaegi" ;; + freebsd/armv7) BINARIES="yaegi" ;; + linux/386) BINARIES="yaegi" ;; + linux/amd64) BINARIES="yaegi" ;; + linux/arm64) BINARIES="yaegi" ;; + linux/armv5) BINARIES="yaegi" ;; + linux/armv6) BINARIES="yaegi" ;; + linux/armv7) BINARIES="yaegi" ;; + openbsd/386) BINARIES="yaegi" ;; + openbsd/amd64) BINARIES="yaegi" ;; + openbsd/arm64) BINARIES="yaegi" ;; + openbsd/armv5) BINARIES="yaegi" ;; + openbsd/armv6) BINARIES="yaegi" ;; + openbsd/armv7) BINARIES="yaegi" ;; + solaris/386) BINARIES="yaegi" ;; + solaris/amd64) BINARIES="yaegi" ;; + solaris/arm64) BINARIES="yaegi" ;; + solaris/armv5) BINARIES="yaegi" ;; + solaris/armv6) BINARIES="yaegi" ;; + solaris/armv7) BINARIES="yaegi" ;; *) log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new" exit 1 @@ -250,8 +250,8 @@ uname_arch_check() { untar() { tarball=$1 case "${tarball}" in - *.tar.gz | *.tgz) tar -xzf "${tarball}" ;; - *.tar) tar -xf "${tarball}" ;; + *.tar.gz | *.tgz) tar --no-same-owner -xzf "${tarball}" ;; + *.tar) tar --no-same-owner -xf "${tarball}" ;; *.zip) unzip "${tarball}" ;; *) log_err "untar unknown archive format for ${tarball}" diff --git a/internal/cmd/extract/extract.go b/internal/cmd/extract/extract.go new file mode 100644 index 00000000..271b6a44 --- /dev/null +++ b/internal/cmd/extract/extract.go @@ -0,0 +1,107 @@ +//go:generate go build + +/* +extract generates wrappers of stdlib package exported symbols. This command +is reserved for internal use in yaegi project. + +For a similar purpose with third party packages, see the yaegi extract subcommand, +based on the same code. + +Output files are written in the current directory, and prefixed with the go version. + +Usage: + + extract package... + +The same program is used for all target operating systems and architectures. +The GOOS and GOARCH environment variables set the desired target. +*/ +package main + +import ( + "bytes" + "flag" + "io" + "log" + "os" + "path" + "runtime" + "strings" + + "github.com/traefik/yaegi/internal/extract" +) + +var ( + exclude = flag.String("exclude", "", "comma separated list of regexp matching symbols to exclude") + include = flag.String("include", "", "comma separated list of regexp matching symbols to include") +) + +func main() { + flag.Parse() + + if flag.NArg() == 0 { + flag.Usage() + log.Fatalf("missing package path") + } + + wd, err := os.Getwd() + if err != nil { + log.Fatal(err) + } + + ext := extract.Extractor{ + Dest: path.Base(wd), + } + + goos, goarch := os.Getenv("GOOS"), os.Getenv("GOARCH") + + if *exclude != "" { + ext.Exclude = strings.Split(*exclude, ",") + } + + if *include != "" { + ext.Include = strings.Split(*include, ",") + } + + for _, pkgIdent := range flag.Args() { + var buf bytes.Buffer + + if pkgIdent == "syscall" && goos == "solaris" { + // Syscall6 is broken on solaris (https://github.com/golang/go/issues/24357), + // it breaks build, skip related symbols. + ext.Exclude = append(ext.Exclude, "Syscall6") + } + + importPath, err := ext.Extract(pkgIdent, "", &buf) + if err != nil { + log.Fatal(err) + } + + var oFile string + if pkgIdent == "syscall" { + oFile = strings.ReplaceAll(importPath, "/", "_") + "_" + goos + "_" + goarch + ".go" + } else { + oFile = strings.ReplaceAll(importPath, "/", "_") + ".go" + } + + prefix := runtime.Version() + if runtime.Version() != "devel" { + parts := strings.Split(runtime.Version(), ".") + prefix = parts[0] + "_" + extract.GetMinor(parts[1]) + } + + f, err := os.Create(prefix + "_" + oFile) + if err != nil { + log.Fatal(err) + } + + if _, err := io.Copy(f, &buf); err != nil { + _ = f.Close() + log.Fatal(err) + } + + if err := f.Close(); err != nil { + log.Fatal(err) + } + } +} diff --git a/internal/genop/genop.go b/internal/cmd/genop/genop.go similarity index 99% rename from internal/genop/genop.go rename to internal/cmd/genop/genop.go index 6ead6ded..5d71dc30 100644 --- a/internal/genop/genop.go +++ b/internal/cmd/genop/genop.go @@ -931,7 +931,7 @@ type Op struct { } func main() { - base := template.New("goexports") + base := template.New("genop") base.Funcs(template.FuncMap{ "tokenFromName": func(name string) string { switch name { diff --git a/extract/extract.go b/internal/extract/extract.go similarity index 84% rename from extract/extract.go rename to internal/extract/extract.go index 91c225c1..709080bb 100644 --- a/extract/extract.go +++ b/internal/extract/extract.go @@ -18,13 +18,14 @@ import ( "os" "path" "path/filepath" + "regexp" "runtime" "strconv" "strings" "text/template" ) -const model = `// Code generated by 'github.com/traefik/yaegi/extract {{.PkgName}}'. DO NOT EDIT. +const model = `// Code generated by 'yaegi extract {{.PkgName}}'. DO NOT EDIT. {{.License}} @@ -111,7 +112,17 @@ var restricted = map[string]bool{ "logNew": true, } -func genContent(dest, importPath, license string, p *types.Package, skip map[string]bool) ([]byte, error) { +func matchList(name string, list []string) (match bool, err error) { + for _, re := range list { + match, err = regexp.MatchString(re, name) + if err != nil || match { + return + } + } + return +} + +func (e *Extractor) genContent(importPath string, p *types.Package) ([]byte, error) { prefix := "_" + importPath + "_" prefix = strings.NewReplacer("/", "_", "-", "_", ".", "_").Replace(prefix) @@ -137,11 +148,26 @@ func genContent(dest, importPath, license string, p *types.Package, skip map[str continue } - pname := path.Base(importPath) + "." + name - if skip[pname] { + if len(e.Include) > 0 { + match, err := matchList(name, e.Include) + if err != nil { + return nil, err + } + if !match { + // Explicitly defined include expressions force non matching symbols to be skipped. + continue + } + } + + match, err := matchList(name, e.Exclude) + if err != nil { + return nil, err + } + if match { continue } + pname := path.Base(importPath) + "." + name if rname := path.Base(importPath) + name; restricted[rname] { // Restricted symbol, locally provided by stdlib wrapper. pname = rname @@ -150,7 +176,7 @@ func genContent(dest, importPath, license string, p *types.Package, skip map[str switch o := o.(type) { case *types.Const: if b, ok := o.Type().(*types.Basic); ok && (b.Info()&types.IsUntyped) != 0 { - // convert untyped constant to right type to avoid overflow + // Convert untyped constant to right type to avoid overflow. val[name] = Val{fixConst(pname, o.Val(), imports), false} } else { val[name] = Val{pname, false} @@ -201,12 +227,18 @@ func genContent(dest, importPath, license string, p *types.Package, skip map[str } } - buildTags, err := buildTags() - if err != nil { - return nil, err + // Generate buildTags with Go version only for stdlib packages. + // Third party packages do not depend on Go compiler version by default. + var buildTags string + if isInStdlib(importPath) { + var err error + buildTags, err = genBuildTags() + if err != nil { + return nil, err + } } - base := template.New("goexports") + base := template.New("extract") parse, err := base.Parse(model) if err != nil { return nil, fmt.Errorf("template parsing error: %v", err) @@ -231,14 +263,14 @@ func genContent(dest, importPath, license string, p *types.Package, skip map[str b := new(bytes.Buffer) data := map[string]interface{}{ - "Dest": dest, + "Dest": e.Dest, "Imports": imports, "PkgName": importPath, "Val": val, "Typ": typ, "Wrap": wrap, "BuildTags": buildTags, - "License": license, + "License": e.License, } err = parse.Execute(b, data) if err != nil { @@ -288,12 +320,20 @@ func fixConst(name string, val constant.Value, imports map[string]bool) string { return fmt.Sprintf("constant.MakeFromLiteral(%q, token.%s, 0)", str, tok) } +// Extractor creates a package with all the symbols from a dependency package. +type Extractor struct { + Dest string // The name of the created package. + License string // License text to be included in the created package, optional. + Exclude []string // Comma separated list of regexp matching symbols to exclude. + Include []string // Comma separated list of regexp matching symbols to include. +} + // importPath checks whether pkgIdent is an existing directory relative to // e.WorkingDir. If yes, it returns the actual import path of the Go package // located in the directory. If it is definitely a relative path, but it does not // exist, an error is returned. Otherwise, it is assumed to be an import path, and // pkgIdent is returned. -func (e Extractor) importPath(pkgIdent, importPath string) (string, error) { +func (e *Extractor) importPath(pkgIdent, importPath string) (string, error) { wd, err := os.Getwd() if err != nil { return "", err @@ -353,20 +393,13 @@ func (e Extractor) importPath(pkgIdent, importPath string) (string, error) { return parts[1], nil } -// Extractor creates a package with all the symbols from a dependency package. -type Extractor struct { - Dest string // the name of the created package. - License string // license text to be included in the created package, optional. - Skip map[string]bool -} - // Extract writes to rw a Go package with all the symbols found at pkgIdent. // pkgIdent can be an import path, or a local path, relative to e.WorkingDir. In // the latter case, Extract returns the actual import path of the package found at // pkgIdent, otherwise it just returns pkgIdent. // If pkgIdent is an import path, it is looked up in GOPATH. Vendoring is not // supported yet, and the behavior is only defined for GO111MODULE=off. -func (e Extractor) Extract(pkgIdent, importPath string, rw io.Writer) (string, error) { +func (e *Extractor) Extract(pkgIdent, importPath string, rw io.Writer) (string, error) { ipp, err := e.importPath(pkgIdent, importPath) if err != nil { return "", err @@ -377,7 +410,7 @@ func (e Extractor) Extract(pkgIdent, importPath string, rw io.Writer) (string, e return "", err } - content, err := genContent(e.Dest, ipp, e.License, pkg, e.Skip) + content, err := e.genContent(ipp, pkg) if err != nil { return "", err } @@ -403,7 +436,7 @@ func GetMinor(part string) string { return minor } -func buildTags() (string, error) { +func genBuildTags() (string, error) { version := runtime.Version() if version == "devel" { return "", nil @@ -423,3 +456,5 @@ func buildTags() (string, error) { return currentGoVersion + ",!" + nextGoVersion, nil } + +func isInStdlib(path string) bool { return !strings.Contains(path, ".") } diff --git a/extract/extract_test.go b/internal/extract/extract_test.go similarity index 91% rename from extract/extract_test.go rename to internal/extract/extract_test.go index d758e942..cb4b9cad 100644 --- a/extract/extract_test.go +++ b/internal/extract/extract_test.go @@ -8,9 +8,7 @@ import ( "testing" ) -var expectedOutput = `// Code generated by 'github.com/traefik/yaegi/extract guthib.com/baz'. DO NOT EDIT. - -// +build BUILD_TAGS +var expectedOutput = `// Code generated by 'yaegi extract guthib.com/baz'. DO NOT EDIT. package bar @@ -27,14 +25,6 @@ func init() { } ` -func init() { - buildTags, err := buildTags() - if err != nil { - panic(err) - } - expectedOutput = strings.Replace(expectedOutput, "BUILD_TAGS", buildTags, 1) -} - func TestPackages(t *testing.T) { testCases := []struct { desc string diff --git a/extract/testdata/1/src/guthib.com/bar/main.go b/internal/extract/testdata/1/src/guthib.com/bar/main.go similarity index 100% rename from extract/testdata/1/src/guthib.com/bar/main.go rename to internal/extract/testdata/1/src/guthib.com/bar/main.go diff --git a/extract/testdata/1/src/guthib.com/baz/baz.go b/internal/extract/testdata/1/src/guthib.com/baz/baz.go similarity index 100% rename from extract/testdata/1/src/guthib.com/baz/baz.go rename to internal/extract/testdata/1/src/guthib.com/baz/baz.go diff --git a/extract/testdata/1/src/guthib.com/baz/go.mod b/internal/extract/testdata/1/src/guthib.com/baz/go.mod similarity index 100% rename from extract/testdata/1/src/guthib.com/baz/go.mod rename to internal/extract/testdata/1/src/guthib.com/baz/go.mod diff --git a/extract/testdata/2/src/guthib.com/bar/main.go b/internal/extract/testdata/2/src/guthib.com/bar/main.go similarity index 100% rename from extract/testdata/2/src/guthib.com/bar/main.go rename to internal/extract/testdata/2/src/guthib.com/bar/main.go diff --git a/extract/testdata/2/src/guthib.com/baz/baz.go b/internal/extract/testdata/2/src/guthib.com/baz/baz.go similarity index 100% rename from extract/testdata/2/src/guthib.com/baz/baz.go rename to internal/extract/testdata/2/src/guthib.com/baz/baz.go diff --git a/extract/testdata/3/src/guthib.com/bar/main.go b/internal/extract/testdata/3/src/guthib.com/bar/main.go similarity index 100% rename from extract/testdata/3/src/guthib.com/bar/main.go rename to internal/extract/testdata/3/src/guthib.com/bar/main.go diff --git a/extract/testdata/3/src/guthib.com/baz/baz.go b/internal/extract/testdata/3/src/guthib.com/baz/baz.go similarity index 100% rename from extract/testdata/3/src/guthib.com/baz/baz.go rename to internal/extract/testdata/3/src/guthib.com/baz/baz.go diff --git a/extract/testdata/3/src/guthib.com/baz/go.mod b/internal/extract/testdata/3/src/guthib.com/baz/go.mod similarity index 100% rename from extract/testdata/3/src/guthib.com/baz/go.mod rename to internal/extract/testdata/3/src/guthib.com/baz/go.mod diff --git a/extract/testdata/4/src/guthib.com/bar/main.go b/internal/extract/testdata/4/src/guthib.com/bar/main.go similarity index 100% rename from extract/testdata/4/src/guthib.com/bar/main.go rename to internal/extract/testdata/4/src/guthib.com/bar/main.go diff --git a/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/baz.go b/internal/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/baz.go similarity index 100% rename from extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/baz.go rename to internal/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/baz.go diff --git a/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/go.mod b/internal/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/go.mod similarity index 100% rename from extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/go.mod rename to internal/extract/testdata/4/src/guthib.com/bar/vendor/guthib.com/baz/go.mod diff --git a/extract/testdata/5/src/guthib.com/bar/main.go b/internal/extract/testdata/5/src/guthib.com/bar/main.go similarity index 100% rename from extract/testdata/5/src/guthib.com/bar/main.go rename to internal/extract/testdata/5/src/guthib.com/bar/main.go diff --git a/extract/testdata/5/src/guthib.com/bar/vendor/guthib.com/baz/baz.go b/internal/extract/testdata/5/src/guthib.com/bar/vendor/guthib.com/baz/baz.go similarity index 100% rename from extract/testdata/5/src/guthib.com/bar/vendor/guthib.com/baz/baz.go rename to internal/extract/testdata/5/src/guthib.com/bar/vendor/guthib.com/baz/baz.go diff --git a/interp/doc.go b/interp/doc.go index a2d44f99..2253eca5 100644 --- a/interp/doc.go +++ b/interp/doc.go @@ -13,8 +13,8 @@ found in vendor, sources modules will be searched in GOPATH. Go modules are not supported yet by yaegi. Binary form packages are compiled and linked with the interpreter -executable, and exposed to scripts with the Use method. The goexports -command can be used to generate package wrappers. +executable, and exposed to scripts with the Use method. The extract +subcommand of yaegi can be used to generate package wrappers. Custom build tags diff --git a/interp/run.go b/interp/run.go index a6d17e68..058d89d3 100644 --- a/interp/run.go +++ b/interp/run.go @@ -1,6 +1,6 @@ package interp -//go:generate go run ../internal/genop/genop.go +//go:generate go run ../internal/cmd/genop/genop.go import ( "fmt" diff --git a/stdlib/go1_14_archive_tar.go b/stdlib/go1_14_archive_tar.go index c7226265..97e8e25e 100644 --- a/stdlib/go1_14_archive_tar.go +++ b/stdlib/go1_14_archive_tar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract archive/tar'. DO NOT EDIT. +// Code generated by 'yaegi extract archive/tar'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_archive_zip.go b/stdlib/go1_14_archive_zip.go index 9a20606b..b9971b91 100644 --- a/stdlib/go1_14_archive_zip.go +++ b/stdlib/go1_14_archive_zip.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract archive/zip'. DO NOT EDIT. +// Code generated by 'yaegi extract archive/zip'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_bufio.go b/stdlib/go1_14_bufio.go index 076c4d0e..47e6f2d6 100644 --- a/stdlib/go1_14_bufio.go +++ b/stdlib/go1_14_bufio.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract bufio'. DO NOT EDIT. +// Code generated by 'yaegi extract bufio'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_bytes.go b/stdlib/go1_14_bytes.go index 684a0cdd..4f5c2093 100644 --- a/stdlib/go1_14_bytes.go +++ b/stdlib/go1_14_bytes.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract bytes'. DO NOT EDIT. +// Code generated by 'yaegi extract bytes'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_compress_bzip2.go b/stdlib/go1_14_compress_bzip2.go index 915633f0..ffaf93dc 100644 --- a/stdlib/go1_14_compress_bzip2.go +++ b/stdlib/go1_14_compress_bzip2.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/bzip2'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/bzip2'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_compress_flate.go b/stdlib/go1_14_compress_flate.go index 84c00f74..3e30a3e7 100644 --- a/stdlib/go1_14_compress_flate.go +++ b/stdlib/go1_14_compress_flate.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/flate'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/flate'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_compress_gzip.go b/stdlib/go1_14_compress_gzip.go index aabdddd9..8fef1d54 100644 --- a/stdlib/go1_14_compress_gzip.go +++ b/stdlib/go1_14_compress_gzip.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/gzip'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/gzip'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_compress_lzw.go b/stdlib/go1_14_compress_lzw.go index 40ba67a4..a61eec6e 100644 --- a/stdlib/go1_14_compress_lzw.go +++ b/stdlib/go1_14_compress_lzw.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/lzw'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/lzw'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_compress_zlib.go b/stdlib/go1_14_compress_zlib.go index bd1e226b..70d48723 100644 --- a/stdlib/go1_14_compress_zlib.go +++ b/stdlib/go1_14_compress_zlib.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/zlib'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/zlib'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_container_heap.go b/stdlib/go1_14_container_heap.go index 26c548f9..81c92afb 100644 --- a/stdlib/go1_14_container_heap.go +++ b/stdlib/go1_14_container_heap.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/heap'. DO NOT EDIT. +// Code generated by 'yaegi extract container/heap'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_container_list.go b/stdlib/go1_14_container_list.go index 75a902ab..1d770a82 100644 --- a/stdlib/go1_14_container_list.go +++ b/stdlib/go1_14_container_list.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/list'. DO NOT EDIT. +// Code generated by 'yaegi extract container/list'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_container_ring.go b/stdlib/go1_14_container_ring.go index acd4edaf..83d22b69 100644 --- a/stdlib/go1_14_container_ring.go +++ b/stdlib/go1_14_container_ring.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/ring'. DO NOT EDIT. +// Code generated by 'yaegi extract container/ring'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_context.go b/stdlib/go1_14_context.go index 64aa1590..da320936 100644 --- a/stdlib/go1_14_context.go +++ b/stdlib/go1_14_context.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract context'. DO NOT EDIT. +// Code generated by 'yaegi extract context'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto.go b/stdlib/go1_14_crypto.go index 7bc118e5..7fa2a9c4 100644 --- a/stdlib/go1_14_crypto.go +++ b/stdlib/go1_14_crypto.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_aes.go b/stdlib/go1_14_crypto_aes.go index c0e442d8..5e8647bf 100644 --- a/stdlib/go1_14_crypto_aes.go +++ b/stdlib/go1_14_crypto_aes.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/aes'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_cipher.go b/stdlib/go1_14_crypto_cipher.go index 4d019ac3..28952e39 100644 --- a/stdlib/go1_14_crypto_cipher.go +++ b/stdlib/go1_14_crypto_cipher.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/cipher'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/cipher'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_des.go b/stdlib/go1_14_crypto_des.go index f50133ee..c6ca42f1 100644 --- a/stdlib/go1_14_crypto_des.go +++ b/stdlib/go1_14_crypto_des.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/des'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/des'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_dsa.go b/stdlib/go1_14_crypto_dsa.go index fff6a70c..dc7d9721 100644 --- a/stdlib/go1_14_crypto_dsa.go +++ b/stdlib/go1_14_crypto_dsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/dsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/dsa'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_ecdsa.go b/stdlib/go1_14_crypto_ecdsa.go index 7e65cddf..724d58f6 100644 --- a/stdlib/go1_14_crypto_ecdsa.go +++ b/stdlib/go1_14_crypto_ecdsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/ecdsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_ed25519.go b/stdlib/go1_14_crypto_ed25519.go index 58d6b564..59fc16ab 100644 --- a/stdlib/go1_14_crypto_ed25519.go +++ b/stdlib/go1_14_crypto_ed25519.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/ed25519'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/ed25519'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_elliptic.go b/stdlib/go1_14_crypto_elliptic.go index c0936987..34f960ef 100644 --- a/stdlib/go1_14_crypto_elliptic.go +++ b/stdlib/go1_14_crypto_elliptic.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/elliptic'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/elliptic'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_hmac.go b/stdlib/go1_14_crypto_hmac.go index 15e7ff3f..aa6eea61 100644 --- a/stdlib/go1_14_crypto_hmac.go +++ b/stdlib/go1_14_crypto_hmac.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/hmac'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/hmac'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_md5.go b/stdlib/go1_14_crypto_md5.go index 95ea9cc8..0d704584 100644 --- a/stdlib/go1_14_crypto_md5.go +++ b/stdlib/go1_14_crypto_md5.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/md5'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/md5'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_rand.go b/stdlib/go1_14_crypto_rand.go index 74edd4cc..3602b5cb 100644 --- a/stdlib/go1_14_crypto_rand.go +++ b/stdlib/go1_14_crypto_rand.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rand'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_rc4.go b/stdlib/go1_14_crypto_rc4.go index 78748a30..c19a105f 100644 --- a/stdlib/go1_14_crypto_rc4.go +++ b/stdlib/go1_14_crypto_rc4.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rc4'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rc4'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_rsa.go b/stdlib/go1_14_crypto_rsa.go index 9c94fd35..e48feabc 100644 --- a/stdlib/go1_14_crypto_rsa.go +++ b/stdlib/go1_14_crypto_rsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rsa'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_sha1.go b/stdlib/go1_14_crypto_sha1.go index b2e1b473..4d5ac037 100644 --- a/stdlib/go1_14_crypto_sha1.go +++ b/stdlib/go1_14_crypto_sha1.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha1'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha1'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_sha256.go b/stdlib/go1_14_crypto_sha256.go index 20dbac4b..e1ef4aa0 100644 --- a/stdlib/go1_14_crypto_sha256.go +++ b/stdlib/go1_14_crypto_sha256.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha256'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha256'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_sha512.go b/stdlib/go1_14_crypto_sha512.go index cb3c28a0..33f8353a 100644 --- a/stdlib/go1_14_crypto_sha512.go +++ b/stdlib/go1_14_crypto_sha512.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha512'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha512'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_subtle.go b/stdlib/go1_14_crypto_subtle.go index 19d81186..3c7e9473 100644 --- a/stdlib/go1_14_crypto_subtle.go +++ b/stdlib/go1_14_crypto_subtle.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/subtle'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/subtle'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_tls.go b/stdlib/go1_14_crypto_tls.go index 3e66b380..5e491025 100644 --- a/stdlib/go1_14_crypto_tls.go +++ b/stdlib/go1_14_crypto_tls.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/tls'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/tls'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_x509.go b/stdlib/go1_14_crypto_x509.go index 53dd904a..af200ac9 100644 --- a/stdlib/go1_14_crypto_x509.go +++ b/stdlib/go1_14_crypto_x509.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/x509'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_crypto_x509_pkix.go b/stdlib/go1_14_crypto_x509_pkix.go index 2ba600db..61200928 100644 --- a/stdlib/go1_14_crypto_x509_pkix.go +++ b/stdlib/go1_14_crypto_x509_pkix.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/x509/pkix'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/x509/pkix'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_database_sql.go b/stdlib/go1_14_database_sql.go index 00b887c6..42fbf1a3 100644 --- a/stdlib/go1_14_database_sql.go +++ b/stdlib/go1_14_database_sql.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract database/sql'. DO NOT EDIT. +// Code generated by 'yaegi extract database/sql'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_database_sql_driver.go b/stdlib/go1_14_database_sql_driver.go index c4c54027..fab615e7 100644 --- a/stdlib/go1_14_database_sql_driver.go +++ b/stdlib/go1_14_database_sql_driver.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract database/sql/driver'. DO NOT EDIT. +// Code generated by 'yaegi extract database/sql/driver'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_dwarf.go b/stdlib/go1_14_debug_dwarf.go index c71858bd..e54996db 100644 --- a/stdlib/go1_14_debug_dwarf.go +++ b/stdlib/go1_14_debug_dwarf.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/dwarf'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/dwarf'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_elf.go b/stdlib/go1_14_debug_elf.go index a44c04dd..6d3f279c 100644 --- a/stdlib/go1_14_debug_elf.go +++ b/stdlib/go1_14_debug_elf.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/elf'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/elf'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_gosym.go b/stdlib/go1_14_debug_gosym.go index 30914c06..98920d5a 100644 --- a/stdlib/go1_14_debug_gosym.go +++ b/stdlib/go1_14_debug_gosym.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/gosym'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/gosym'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_macho.go b/stdlib/go1_14_debug_macho.go index e4ca8476..c1462415 100644 --- a/stdlib/go1_14_debug_macho.go +++ b/stdlib/go1_14_debug_macho.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/macho'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/macho'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_pe.go b/stdlib/go1_14_debug_pe.go index 405b8fa2..c9821cb4 100644 --- a/stdlib/go1_14_debug_pe.go +++ b/stdlib/go1_14_debug_pe.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/pe'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/pe'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_debug_plan9obj.go b/stdlib/go1_14_debug_plan9obj.go index f2015ca1..ca8b759e 100644 --- a/stdlib/go1_14_debug_plan9obj.go +++ b/stdlib/go1_14_debug_plan9obj.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/plan9obj'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding.go b/stdlib/go1_14_encoding.go index 3024745e..b7bb0c84 100644 --- a/stdlib/go1_14_encoding.go +++ b/stdlib/go1_14_encoding.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_ascii85.go b/stdlib/go1_14_encoding_ascii85.go index a9291197..f28507a4 100644 --- a/stdlib/go1_14_encoding_ascii85.go +++ b/stdlib/go1_14_encoding_ascii85.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/ascii85'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/ascii85'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_asn1.go b/stdlib/go1_14_encoding_asn1.go index 66eaa4b8..5cb0731a 100644 --- a/stdlib/go1_14_encoding_asn1.go +++ b/stdlib/go1_14_encoding_asn1.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/asn1'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/asn1'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_base32.go b/stdlib/go1_14_encoding_base32.go index f68227f0..ddefc035 100644 --- a/stdlib/go1_14_encoding_base32.go +++ b/stdlib/go1_14_encoding_base32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/base32'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/base32'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_base64.go b/stdlib/go1_14_encoding_base64.go index 2c88682c..84f1f489 100644 --- a/stdlib/go1_14_encoding_base64.go +++ b/stdlib/go1_14_encoding_base64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/base64'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/base64'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_binary.go b/stdlib/go1_14_encoding_binary.go index ac1a5bca..91811dc4 100644 --- a/stdlib/go1_14_encoding_binary.go +++ b/stdlib/go1_14_encoding_binary.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/binary'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/binary'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_csv.go b/stdlib/go1_14_encoding_csv.go index 65724d8a..22d01c60 100644 --- a/stdlib/go1_14_encoding_csv.go +++ b/stdlib/go1_14_encoding_csv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/csv'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_gob.go b/stdlib/go1_14_encoding_gob.go index 7e50605e..dd6dd000 100644 --- a/stdlib/go1_14_encoding_gob.go +++ b/stdlib/go1_14_encoding_gob.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/gob'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/gob'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_hex.go b/stdlib/go1_14_encoding_hex.go index bfe7e26a..6f970cfa 100644 --- a/stdlib/go1_14_encoding_hex.go +++ b/stdlib/go1_14_encoding_hex.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/hex'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_json.go b/stdlib/go1_14_encoding_json.go index b7ffc5f9..ea43cab5 100644 --- a/stdlib/go1_14_encoding_json.go +++ b/stdlib/go1_14_encoding_json.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/json'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/json'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_pem.go b/stdlib/go1_14_encoding_pem.go index 53f9c801..f8dc50c1 100644 --- a/stdlib/go1_14_encoding_pem.go +++ b/stdlib/go1_14_encoding_pem.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/pem'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/pem'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_encoding_xml.go b/stdlib/go1_14_encoding_xml.go index 8d24c2e7..4ca98270 100644 --- a/stdlib/go1_14_encoding_xml.go +++ b/stdlib/go1_14_encoding_xml.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/xml'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/xml'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_errors.go b/stdlib/go1_14_errors.go index 0dc40f53..7fd3e480 100644 --- a/stdlib/go1_14_errors.go +++ b/stdlib/go1_14_errors.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract errors'. DO NOT EDIT. +// Code generated by 'yaegi extract errors'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_expvar.go b/stdlib/go1_14_expvar.go index a0837313..f26df8ed 100644 --- a/stdlib/go1_14_expvar.go +++ b/stdlib/go1_14_expvar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract expvar'. DO NOT EDIT. +// Code generated by 'yaegi extract expvar'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_flag.go b/stdlib/go1_14_flag.go index 677ba0d1..38a4371a 100644 --- a/stdlib/go1_14_flag.go +++ b/stdlib/go1_14_flag.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract flag'. DO NOT EDIT. +// Code generated by 'yaegi extract flag'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_fmt.go b/stdlib/go1_14_fmt.go index 53241130..2c1374b4 100644 --- a/stdlib/go1_14_fmt.go +++ b/stdlib/go1_14_fmt.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract fmt'. DO NOT EDIT. +// Code generated by 'yaegi extract fmt'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_ast.go b/stdlib/go1_14_go_ast.go index fa03bd7a..9077f98e 100644 --- a/stdlib/go1_14_go_ast.go +++ b/stdlib/go1_14_go_ast.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/ast'. DO NOT EDIT. +// Code generated by 'yaegi extract go/ast'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_build.go b/stdlib/go1_14_go_build.go index c0795c73..e9652050 100644 --- a/stdlib/go1_14_go_build.go +++ b/stdlib/go1_14_go_build.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/build'. DO NOT EDIT. +// Code generated by 'yaegi extract go/build'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_constant.go b/stdlib/go1_14_go_constant.go index 404af724..cc33169b 100644 --- a/stdlib/go1_14_go_constant.go +++ b/stdlib/go1_14_go_constant.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/constant'. DO NOT EDIT. +// Code generated by 'yaegi extract go/constant'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_doc.go b/stdlib/go1_14_go_doc.go index 09060420..25e55aa8 100644 --- a/stdlib/go1_14_go_doc.go +++ b/stdlib/go1_14_go_doc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/doc'. DO NOT EDIT. +// Code generated by 'yaegi extract go/doc'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_format.go b/stdlib/go1_14_go_format.go index ea20c50a..ca604fc3 100644 --- a/stdlib/go1_14_go_format.go +++ b/stdlib/go1_14_go_format.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/format'. DO NOT EDIT. +// Code generated by 'yaegi extract go/format'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_importer.go b/stdlib/go1_14_go_importer.go index 74f4c18b..aee3a627 100644 --- a/stdlib/go1_14_go_importer.go +++ b/stdlib/go1_14_go_importer.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/importer'. DO NOT EDIT. +// Code generated by 'yaegi extract go/importer'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_parser.go b/stdlib/go1_14_go_parser.go index 4f614567..25fc3fe5 100644 --- a/stdlib/go1_14_go_parser.go +++ b/stdlib/go1_14_go_parser.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/parser'. DO NOT EDIT. +// Code generated by 'yaegi extract go/parser'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_printer.go b/stdlib/go1_14_go_printer.go index 93069e38..23a3aa8a 100644 --- a/stdlib/go1_14_go_printer.go +++ b/stdlib/go1_14_go_printer.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/printer'. DO NOT EDIT. +// Code generated by 'yaegi extract go/printer'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_scanner.go b/stdlib/go1_14_go_scanner.go index f2619661..6c8e0acb 100644 --- a/stdlib/go1_14_go_scanner.go +++ b/stdlib/go1_14_go_scanner.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/scanner'. DO NOT EDIT. +// Code generated by 'yaegi extract go/scanner'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_token.go b/stdlib/go1_14_go_token.go index e326001e..3a7db2f7 100644 --- a/stdlib/go1_14_go_token.go +++ b/stdlib/go1_14_go_token.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/token'. DO NOT EDIT. +// Code generated by 'yaegi extract go/token'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_go_types.go b/stdlib/go1_14_go_types.go index 8d9eb4da..d6418c9c 100644 --- a/stdlib/go1_14_go_types.go +++ b/stdlib/go1_14_go_types.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/types'. DO NOT EDIT. +// Code generated by 'yaegi extract go/types'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash.go b/stdlib/go1_14_hash.go index fd5d6994..b054c48a 100644 --- a/stdlib/go1_14_hash.go +++ b/stdlib/go1_14_hash.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash'. DO NOT EDIT. +// Code generated by 'yaegi extract hash'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash_adler32.go b/stdlib/go1_14_hash_adler32.go index ae8ce005..76334974 100644 --- a/stdlib/go1_14_hash_adler32.go +++ b/stdlib/go1_14_hash_adler32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/adler32'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash_crc32.go b/stdlib/go1_14_hash_crc32.go index dfa6b427..dcc7030a 100644 --- a/stdlib/go1_14_hash_crc32.go +++ b/stdlib/go1_14_hash_crc32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/crc32'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash_crc64.go b/stdlib/go1_14_hash_crc64.go index 65b9770d..67202979 100644 --- a/stdlib/go1_14_hash_crc64.go +++ b/stdlib/go1_14_hash_crc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/crc64'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash_fnv.go b/stdlib/go1_14_hash_fnv.go index f7c7d8b1..367fd3ba 100644 --- a/stdlib/go1_14_hash_fnv.go +++ b/stdlib/go1_14_hash_fnv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/fnv'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/fnv'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_hash_maphash.go b/stdlib/go1_14_hash_maphash.go index 00d4a70d..7f9c4169 100644 --- a/stdlib/go1_14_hash_maphash.go +++ b/stdlib/go1_14_hash_maphash.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/maphash'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/maphash'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_html.go b/stdlib/go1_14_html.go index db647534..a1a44277 100644 --- a/stdlib/go1_14_html.go +++ b/stdlib/go1_14_html.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract html'. DO NOT EDIT. +// Code generated by 'yaegi extract html'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_html_template.go b/stdlib/go1_14_html_template.go index 001e2250..dcb63093 100644 --- a/stdlib/go1_14_html_template.go +++ b/stdlib/go1_14_html_template.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract html/template'. DO NOT EDIT. +// Code generated by 'yaegi extract html/template'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image.go b/stdlib/go1_14_image.go index 0c675dca..141ea02d 100644 --- a/stdlib/go1_14_image.go +++ b/stdlib/go1_14_image.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image'. DO NOT EDIT. +// Code generated by 'yaegi extract image'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_color.go b/stdlib/go1_14_image_color.go index 00d09277..ea8640ca 100644 --- a/stdlib/go1_14_image_color.go +++ b/stdlib/go1_14_image_color.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/color'. DO NOT EDIT. +// Code generated by 'yaegi extract image/color'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_color_palette.go b/stdlib/go1_14_image_color_palette.go index 1f2dea81..d2e22064 100644 --- a/stdlib/go1_14_image_color_palette.go +++ b/stdlib/go1_14_image_color_palette.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/color/palette'. DO NOT EDIT. +// Code generated by 'yaegi extract image/color/palette'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_draw.go b/stdlib/go1_14_image_draw.go index cbe0e56a..72346955 100644 --- a/stdlib/go1_14_image_draw.go +++ b/stdlib/go1_14_image_draw.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/draw'. DO NOT EDIT. +// Code generated by 'yaegi extract image/draw'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_gif.go b/stdlib/go1_14_image_gif.go index 413c9fa0..34ce7c1d 100644 --- a/stdlib/go1_14_image_gif.go +++ b/stdlib/go1_14_image_gif.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/gif'. DO NOT EDIT. +// Code generated by 'yaegi extract image/gif'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_jpeg.go b/stdlib/go1_14_image_jpeg.go index ff0d7e69..157a63fc 100644 --- a/stdlib/go1_14_image_jpeg.go +++ b/stdlib/go1_14_image_jpeg.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/jpeg'. DO NOT EDIT. +// Code generated by 'yaegi extract image/jpeg'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_image_png.go b/stdlib/go1_14_image_png.go index 0db2c4da..d33c2235 100644 --- a/stdlib/go1_14_image_png.go +++ b/stdlib/go1_14_image_png.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/png'. DO NOT EDIT. +// Code generated by 'yaegi extract image/png'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_index_suffixarray.go b/stdlib/go1_14_index_suffixarray.go index fe8c0048..4194ac80 100644 --- a/stdlib/go1_14_index_suffixarray.go +++ b/stdlib/go1_14_index_suffixarray.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract index/suffixarray'. DO NOT EDIT. +// Code generated by 'yaegi extract index/suffixarray'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_io.go b/stdlib/go1_14_io.go index 7f8c24a9..f8b40c74 100644 --- a/stdlib/go1_14_io.go +++ b/stdlib/go1_14_io.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract io'. DO NOT EDIT. +// Code generated by 'yaegi extract io'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_io_ioutil.go b/stdlib/go1_14_io_ioutil.go index 2575d809..f9bed37c 100644 --- a/stdlib/go1_14_io_ioutil.go +++ b/stdlib/go1_14_io_ioutil.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract io/ioutil'. DO NOT EDIT. +// Code generated by 'yaegi extract io/ioutil'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_log.go b/stdlib/go1_14_log.go index 9ffc04e0..31087496 100644 --- a/stdlib/go1_14_log.go +++ b/stdlib/go1_14_log.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract log'. DO NOT EDIT. +// Code generated by 'yaegi extract log'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_log_syslog.go b/stdlib/go1_14_log_syslog.go index b79dbfbd..a64ed6cc 100644 --- a/stdlib/go1_14_log_syslog.go +++ b/stdlib/go1_14_log_syslog.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract log/syslog'. DO NOT EDIT. +// Code generated by 'yaegi extract log/syslog'. DO NOT EDIT. // +build go1.14,!go1.15,!windows,!nacl,!plan9 diff --git a/stdlib/go1_14_math.go b/stdlib/go1_14_math.go index 684bef07..3dcd9233 100644 --- a/stdlib/go1_14_math.go +++ b/stdlib/go1_14_math.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math'. DO NOT EDIT. +// Code generated by 'yaegi extract math'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_math_big.go b/stdlib/go1_14_math_big.go index d5c98452..b4643741 100644 --- a/stdlib/go1_14_math_big.go +++ b/stdlib/go1_14_math_big.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/big'. DO NOT EDIT. +// Code generated by 'yaegi extract math/big'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_math_bits.go b/stdlib/go1_14_math_bits.go index 6ad589a5..70ff4ab5 100644 --- a/stdlib/go1_14_math_bits.go +++ b/stdlib/go1_14_math_bits.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/bits'. DO NOT EDIT. +// Code generated by 'yaegi extract math/bits'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_math_cmplx.go b/stdlib/go1_14_math_cmplx.go index 2dd0df73..72f8e429 100644 --- a/stdlib/go1_14_math_cmplx.go +++ b/stdlib/go1_14_math_cmplx.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/cmplx'. DO NOT EDIT. +// Code generated by 'yaegi extract math/cmplx'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_math_rand.go b/stdlib/go1_14_math_rand.go index cd1dc61f..7ad0e772 100644 --- a/stdlib/go1_14_math_rand.go +++ b/stdlib/go1_14_math_rand.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/rand'. DO NOT EDIT. +// Code generated by 'yaegi extract math/rand'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_mime.go b/stdlib/go1_14_mime.go index 754be0f6..54f72755 100644 --- a/stdlib/go1_14_mime.go +++ b/stdlib/go1_14_mime.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime'. DO NOT EDIT. +// Code generated by 'yaegi extract mime'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_mime_multipart.go b/stdlib/go1_14_mime_multipart.go index b6bb0f63..57c9991f 100644 --- a/stdlib/go1_14_mime_multipart.go +++ b/stdlib/go1_14_mime_multipart.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime/multipart'. DO NOT EDIT. +// Code generated by 'yaegi extract mime/multipart'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_mime_quotedprintable.go b/stdlib/go1_14_mime_quotedprintable.go index 38be8d36..5c695c48 100644 --- a/stdlib/go1_14_mime_quotedprintable.go +++ b/stdlib/go1_14_mime_quotedprintable.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime/quotedprintable'. DO NOT EDIT. +// Code generated by 'yaegi extract mime/quotedprintable'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net.go b/stdlib/go1_14_net.go index 8a417c7b..f0de3b9d 100644 --- a/stdlib/go1_14_net.go +++ b/stdlib/go1_14_net.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net'. DO NOT EDIT. +// Code generated by 'yaegi extract net'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http.go b/stdlib/go1_14_net_http.go index 7a89f047..f9162f80 100644 --- a/stdlib/go1_14_net_http.go +++ b/stdlib/go1_14_net_http.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_cgi.go b/stdlib/go1_14_net_http_cgi.go index a8c6742c..a5ebd103 100644 --- a/stdlib/go1_14_net_http_cgi.go +++ b/stdlib/go1_14_net_http_cgi.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/cgi'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/cgi'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_cookiejar.go b/stdlib/go1_14_net_http_cookiejar.go index 6f5d35ee..1d51a70c 100644 --- a/stdlib/go1_14_net_http_cookiejar.go +++ b/stdlib/go1_14_net_http_cookiejar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/cookiejar'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/cookiejar'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_fcgi.go b/stdlib/go1_14_net_http_fcgi.go index 74b10b3f..c291c5f9 100644 --- a/stdlib/go1_14_net_http_fcgi.go +++ b/stdlib/go1_14_net_http_fcgi.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/fcgi'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/fcgi'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_httptest.go b/stdlib/go1_14_net_http_httptest.go index 9b937290..134b4f27 100644 --- a/stdlib/go1_14_net_http_httptest.go +++ b/stdlib/go1_14_net_http_httptest.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httptest'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httptest'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_httptrace.go b/stdlib/go1_14_net_http_httptrace.go index 21178b3d..c2d89676 100644 --- a/stdlib/go1_14_net_http_httptrace.go +++ b/stdlib/go1_14_net_http_httptrace.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httptrace'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httptrace'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_httputil.go b/stdlib/go1_14_net_http_httputil.go index 2f66c4f6..c08beb88 100644 --- a/stdlib/go1_14_net_http_httputil.go +++ b/stdlib/go1_14_net_http_httputil.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httputil'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httputil'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_http_pprof.go b/stdlib/go1_14_net_http_pprof.go index bb16fa61..613a1629 100644 --- a/stdlib/go1_14_net_http_pprof.go +++ b/stdlib/go1_14_net_http_pprof.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/pprof'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_mail.go b/stdlib/go1_14_net_mail.go index 12483e20..13cdf1ff 100644 --- a/stdlib/go1_14_net_mail.go +++ b/stdlib/go1_14_net_mail.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/mail'. DO NOT EDIT. +// Code generated by 'yaegi extract net/mail'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_rpc.go b/stdlib/go1_14_net_rpc.go index 8a127a3d..56b1d7f0 100644 --- a/stdlib/go1_14_net_rpc.go +++ b/stdlib/go1_14_net_rpc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/rpc'. DO NOT EDIT. +// Code generated by 'yaegi extract net/rpc'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_rpc_jsonrpc.go b/stdlib/go1_14_net_rpc_jsonrpc.go index 8be09668..1c86c488 100644 --- a/stdlib/go1_14_net_rpc_jsonrpc.go +++ b/stdlib/go1_14_net_rpc_jsonrpc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/rpc/jsonrpc'. DO NOT EDIT. +// Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_smtp.go b/stdlib/go1_14_net_smtp.go index f0efd37e..b050fad6 100644 --- a/stdlib/go1_14_net_smtp.go +++ b/stdlib/go1_14_net_smtp.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/smtp'. DO NOT EDIT. +// Code generated by 'yaegi extract net/smtp'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_textproto.go b/stdlib/go1_14_net_textproto.go index 6e4651d3..d841e9e8 100644 --- a/stdlib/go1_14_net_textproto.go +++ b/stdlib/go1_14_net_textproto.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/textproto'. DO NOT EDIT. +// Code generated by 'yaegi extract net/textproto'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_net_url.go b/stdlib/go1_14_net_url.go index 9dfd79b9..5d6408e1 100644 --- a/stdlib/go1_14_net_url.go +++ b/stdlib/go1_14_net_url.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/url'. DO NOT EDIT. +// Code generated by 'yaegi extract net/url'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_os.go b/stdlib/go1_14_os.go index aeca4c0a..ce409c6c 100644 --- a/stdlib/go1_14_os.go +++ b/stdlib/go1_14_os.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os'. DO NOT EDIT. +// Code generated by 'yaegi extract os'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_os_signal.go b/stdlib/go1_14_os_signal.go index da1939c2..49e1f397 100644 --- a/stdlib/go1_14_os_signal.go +++ b/stdlib/go1_14_os_signal.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os/signal'. DO NOT EDIT. +// Code generated by 'yaegi extract os/signal'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_os_user.go b/stdlib/go1_14_os_user.go index 11e12ed9..77e2697f 100644 --- a/stdlib/go1_14_os_user.go +++ b/stdlib/go1_14_os_user.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os/user'. DO NOT EDIT. +// Code generated by 'yaegi extract os/user'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_path.go b/stdlib/go1_14_path.go index 9926f0dd..9ae76cc2 100644 --- a/stdlib/go1_14_path.go +++ b/stdlib/go1_14_path.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract path'. DO NOT EDIT. +// Code generated by 'yaegi extract path'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_path_filepath.go b/stdlib/go1_14_path_filepath.go index 6cd1f5a6..36896209 100644 --- a/stdlib/go1_14_path_filepath.go +++ b/stdlib/go1_14_path_filepath.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract path/filepath'. DO NOT EDIT. +// Code generated by 'yaegi extract path/filepath'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_reflect.go b/stdlib/go1_14_reflect.go index c70e68a2..2d620335 100644 --- a/stdlib/go1_14_reflect.go +++ b/stdlib/go1_14_reflect.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract reflect'. DO NOT EDIT. +// Code generated by 'yaegi extract reflect'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_regexp.go b/stdlib/go1_14_regexp.go index 5bc4fdf8..70a24adf 100644 --- a/stdlib/go1_14_regexp.go +++ b/stdlib/go1_14_regexp.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract regexp'. DO NOT EDIT. +// Code generated by 'yaegi extract regexp'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_regexp_syntax.go b/stdlib/go1_14_regexp_syntax.go index 0ee77921..05997855 100644 --- a/stdlib/go1_14_regexp_syntax.go +++ b/stdlib/go1_14_regexp_syntax.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract regexp/syntax'. DO NOT EDIT. +// Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_runtime.go b/stdlib/go1_14_runtime.go index d713e264..576ed78e 100644 --- a/stdlib/go1_14_runtime.go +++ b/stdlib/go1_14_runtime.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_runtime_debug.go b/stdlib/go1_14_runtime_debug.go index 034a5ddd..904836ad 100644 --- a/stdlib/go1_14_runtime_debug.go +++ b/stdlib/go1_14_runtime_debug.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/debug'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/debug'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_runtime_pprof.go b/stdlib/go1_14_runtime_pprof.go index 1432c000..04cec870 100644 --- a/stdlib/go1_14_runtime_pprof.go +++ b/stdlib/go1_14_runtime_pprof.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/pprof'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/pprof'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_runtime_trace.go b/stdlib/go1_14_runtime_trace.go index 57f338c2..a72d007e 100644 --- a/stdlib/go1_14_runtime_trace.go +++ b/stdlib/go1_14_runtime_trace.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/trace'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_sort.go b/stdlib/go1_14_sort.go index 48a66ac2..579133a5 100644 --- a/stdlib/go1_14_sort.go +++ b/stdlib/go1_14_sort.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sort'. DO NOT EDIT. +// Code generated by 'yaegi extract sort'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_strconv.go b/stdlib/go1_14_strconv.go index ab792529..d34df3dd 100644 --- a/stdlib/go1_14_strconv.go +++ b/stdlib/go1_14_strconv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract strconv'. DO NOT EDIT. +// Code generated by 'yaegi extract strconv'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_strings.go b/stdlib/go1_14_strings.go index 0fc8e29b..6a42105e 100644 --- a/stdlib/go1_14_strings.go +++ b/stdlib/go1_14_strings.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract strings'. DO NOT EDIT. +// Code generated by 'yaegi extract strings'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_sync.go b/stdlib/go1_14_sync.go index 33ddad34..dba722a8 100644 --- a/stdlib/go1_14_sync.go +++ b/stdlib/go1_14_sync.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sync'. DO NOT EDIT. +// Code generated by 'yaegi extract sync'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_sync_atomic.go b/stdlib/go1_14_sync_atomic.go index 781993a6..98b41499 100644 --- a/stdlib/go1_14_sync_atomic.go +++ b/stdlib/go1_14_sync_atomic.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sync/atomic'. DO NOT EDIT. +// Code generated by 'yaegi extract sync/atomic'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_testing.go b/stdlib/go1_14_testing.go index 65792ff1..11eadd23 100644 --- a/stdlib/go1_14_testing.go +++ b/stdlib/go1_14_testing.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing'. DO NOT EDIT. +// Code generated by 'yaegi extract testing'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_testing_iotest.go b/stdlib/go1_14_testing_iotest.go index a6991afd..89db80ec 100644 --- a/stdlib/go1_14_testing_iotest.go +++ b/stdlib/go1_14_testing_iotest.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing/iotest'. DO NOT EDIT. +// Code generated by 'yaegi extract testing/iotest'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_testing_quick.go b/stdlib/go1_14_testing_quick.go index fff81c13..a9baf47e 100644 --- a/stdlib/go1_14_testing_quick.go +++ b/stdlib/go1_14_testing_quick.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing/quick'. DO NOT EDIT. +// Code generated by 'yaegi extract testing/quick'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_text_scanner.go b/stdlib/go1_14_text_scanner.go index 8b8dd893..6ef741c5 100644 --- a/stdlib/go1_14_text_scanner.go +++ b/stdlib/go1_14_text_scanner.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/scanner'. DO NOT EDIT. +// Code generated by 'yaegi extract text/scanner'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_text_tabwriter.go b/stdlib/go1_14_text_tabwriter.go index 357869e0..5a5d1a13 100644 --- a/stdlib/go1_14_text_tabwriter.go +++ b/stdlib/go1_14_text_tabwriter.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/tabwriter'. DO NOT EDIT. +// Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_text_template.go b/stdlib/go1_14_text_template.go index 4cf00939..381aaae3 100644 --- a/stdlib/go1_14_text_template.go +++ b/stdlib/go1_14_text_template.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/template'. DO NOT EDIT. +// Code generated by 'yaegi extract text/template'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_text_template_parse.go b/stdlib/go1_14_text_template_parse.go index fcf0dce8..0ef93a74 100644 --- a/stdlib/go1_14_text_template_parse.go +++ b/stdlib/go1_14_text_template_parse.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/template/parse'. DO NOT EDIT. +// Code generated by 'yaegi extract text/template/parse'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_time.go b/stdlib/go1_14_time.go index def2de17..250695c2 100644 --- a/stdlib/go1_14_time.go +++ b/stdlib/go1_14_time.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract time'. DO NOT EDIT. +// Code generated by 'yaegi extract time'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_unicode.go b/stdlib/go1_14_unicode.go index 7d32cef5..c10803d8 100644 --- a/stdlib/go1_14_unicode.go +++ b/stdlib/go1_14_unicode.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_unicode_utf16.go b/stdlib/go1_14_unicode_utf16.go index 72fb807c..27ab67ff 100644 --- a/stdlib/go1_14_unicode_utf16.go +++ b/stdlib/go1_14_unicode_utf16.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode/utf16'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_14_unicode_utf8.go b/stdlib/go1_14_unicode_utf8.go index 5caa6898..a62dd593 100644 --- a/stdlib/go1_14_unicode_utf8.go +++ b/stdlib/go1_14_unicode_utf8.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode/utf8'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/go1_15_archive_tar.go b/stdlib/go1_15_archive_tar.go index 51a9f228..cf36f2ff 100644 --- a/stdlib/go1_15_archive_tar.go +++ b/stdlib/go1_15_archive_tar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract archive/tar'. DO NOT EDIT. +// Code generated by 'yaegi extract archive/tar'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_archive_zip.go b/stdlib/go1_15_archive_zip.go index 7087718d..f1467b4f 100644 --- a/stdlib/go1_15_archive_zip.go +++ b/stdlib/go1_15_archive_zip.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract archive/zip'. DO NOT EDIT. +// Code generated by 'yaegi extract archive/zip'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_bufio.go b/stdlib/go1_15_bufio.go index e8a69ade..f1a4fbcd 100644 --- a/stdlib/go1_15_bufio.go +++ b/stdlib/go1_15_bufio.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract bufio'. DO NOT EDIT. +// Code generated by 'yaegi extract bufio'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_bytes.go b/stdlib/go1_15_bytes.go index 7daf939b..46ae0d58 100644 --- a/stdlib/go1_15_bytes.go +++ b/stdlib/go1_15_bytes.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract bytes'. DO NOT EDIT. +// Code generated by 'yaegi extract bytes'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_compress_bzip2.go b/stdlib/go1_15_compress_bzip2.go index c4e4b853..231d72dc 100644 --- a/stdlib/go1_15_compress_bzip2.go +++ b/stdlib/go1_15_compress_bzip2.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/bzip2'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/bzip2'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_compress_flate.go b/stdlib/go1_15_compress_flate.go index 4c2f15c0..512b7d30 100644 --- a/stdlib/go1_15_compress_flate.go +++ b/stdlib/go1_15_compress_flate.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/flate'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/flate'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_compress_gzip.go b/stdlib/go1_15_compress_gzip.go index 5a474f46..6371f007 100644 --- a/stdlib/go1_15_compress_gzip.go +++ b/stdlib/go1_15_compress_gzip.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/gzip'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/gzip'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_compress_lzw.go b/stdlib/go1_15_compress_lzw.go index 41e55336..25ef5518 100644 --- a/stdlib/go1_15_compress_lzw.go +++ b/stdlib/go1_15_compress_lzw.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/lzw'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/lzw'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_compress_zlib.go b/stdlib/go1_15_compress_zlib.go index f5a83b0e..36d8d7d4 100644 --- a/stdlib/go1_15_compress_zlib.go +++ b/stdlib/go1_15_compress_zlib.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract compress/zlib'. DO NOT EDIT. +// Code generated by 'yaegi extract compress/zlib'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_container_heap.go b/stdlib/go1_15_container_heap.go index 9266f816..275f5b0b 100644 --- a/stdlib/go1_15_container_heap.go +++ b/stdlib/go1_15_container_heap.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/heap'. DO NOT EDIT. +// Code generated by 'yaegi extract container/heap'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_container_list.go b/stdlib/go1_15_container_list.go index 8ce8b937..196696ee 100644 --- a/stdlib/go1_15_container_list.go +++ b/stdlib/go1_15_container_list.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/list'. DO NOT EDIT. +// Code generated by 'yaegi extract container/list'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_container_ring.go b/stdlib/go1_15_container_ring.go index 5d8049fa..6fe34ad4 100644 --- a/stdlib/go1_15_container_ring.go +++ b/stdlib/go1_15_container_ring.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract container/ring'. DO NOT EDIT. +// Code generated by 'yaegi extract container/ring'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_context.go b/stdlib/go1_15_context.go index f998e3fe..aa2d3a91 100644 --- a/stdlib/go1_15_context.go +++ b/stdlib/go1_15_context.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract context'. DO NOT EDIT. +// Code generated by 'yaegi extract context'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto.go b/stdlib/go1_15_crypto.go index 24329edf..4f9efc3d 100644 --- a/stdlib/go1_15_crypto.go +++ b/stdlib/go1_15_crypto.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_aes.go b/stdlib/go1_15_crypto_aes.go index 1c7b6e38..92f02ad5 100644 --- a/stdlib/go1_15_crypto_aes.go +++ b/stdlib/go1_15_crypto_aes.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/aes'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_cipher.go b/stdlib/go1_15_crypto_cipher.go index 8118cc98..f0b3bccb 100644 --- a/stdlib/go1_15_crypto_cipher.go +++ b/stdlib/go1_15_crypto_cipher.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/cipher'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/cipher'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_des.go b/stdlib/go1_15_crypto_des.go index 8f480a06..3a0717f3 100644 --- a/stdlib/go1_15_crypto_des.go +++ b/stdlib/go1_15_crypto_des.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/des'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/des'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_dsa.go b/stdlib/go1_15_crypto_dsa.go index 6dae81e0..e22314ab 100644 --- a/stdlib/go1_15_crypto_dsa.go +++ b/stdlib/go1_15_crypto_dsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/dsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/dsa'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_ecdsa.go b/stdlib/go1_15_crypto_ecdsa.go index ccfc38b2..087aa91d 100644 --- a/stdlib/go1_15_crypto_ecdsa.go +++ b/stdlib/go1_15_crypto_ecdsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/ecdsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_ed25519.go b/stdlib/go1_15_crypto_ed25519.go index abc84e8b..3da5f4c1 100644 --- a/stdlib/go1_15_crypto_ed25519.go +++ b/stdlib/go1_15_crypto_ed25519.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/ed25519'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/ed25519'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_elliptic.go b/stdlib/go1_15_crypto_elliptic.go index fbfcb802..fa6ce5af 100644 --- a/stdlib/go1_15_crypto_elliptic.go +++ b/stdlib/go1_15_crypto_elliptic.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/elliptic'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/elliptic'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_hmac.go b/stdlib/go1_15_crypto_hmac.go index 6b41cfb3..23a674ef 100644 --- a/stdlib/go1_15_crypto_hmac.go +++ b/stdlib/go1_15_crypto_hmac.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/hmac'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/hmac'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_md5.go b/stdlib/go1_15_crypto_md5.go index b125bfd9..6b86b79a 100644 --- a/stdlib/go1_15_crypto_md5.go +++ b/stdlib/go1_15_crypto_md5.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/md5'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/md5'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_rand.go b/stdlib/go1_15_crypto_rand.go index d72a21fe..5a83e127 100644 --- a/stdlib/go1_15_crypto_rand.go +++ b/stdlib/go1_15_crypto_rand.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rand'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_rc4.go b/stdlib/go1_15_crypto_rc4.go index 1e3936f4..2777e052 100644 --- a/stdlib/go1_15_crypto_rc4.go +++ b/stdlib/go1_15_crypto_rc4.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rc4'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rc4'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_rsa.go b/stdlib/go1_15_crypto_rsa.go index 4179a176..b6257814 100644 --- a/stdlib/go1_15_crypto_rsa.go +++ b/stdlib/go1_15_crypto_rsa.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/rsa'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/rsa'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_sha1.go b/stdlib/go1_15_crypto_sha1.go index 7fa759f6..8c710d8d 100644 --- a/stdlib/go1_15_crypto_sha1.go +++ b/stdlib/go1_15_crypto_sha1.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha1'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha1'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_sha256.go b/stdlib/go1_15_crypto_sha256.go index 61ac6b0e..508ce978 100644 --- a/stdlib/go1_15_crypto_sha256.go +++ b/stdlib/go1_15_crypto_sha256.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha256'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha256'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_sha512.go b/stdlib/go1_15_crypto_sha512.go index 57389226..5bacb1a3 100644 --- a/stdlib/go1_15_crypto_sha512.go +++ b/stdlib/go1_15_crypto_sha512.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/sha512'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/sha512'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_subtle.go b/stdlib/go1_15_crypto_subtle.go index fe4395ff..82249aba 100644 --- a/stdlib/go1_15_crypto_subtle.go +++ b/stdlib/go1_15_crypto_subtle.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/subtle'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/subtle'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_tls.go b/stdlib/go1_15_crypto_tls.go index e1468aad..e56b8bb9 100644 --- a/stdlib/go1_15_crypto_tls.go +++ b/stdlib/go1_15_crypto_tls.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/tls'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/tls'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_x509.go b/stdlib/go1_15_crypto_x509.go index d1b1d340..d90250e8 100644 --- a/stdlib/go1_15_crypto_x509.go +++ b/stdlib/go1_15_crypto_x509.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/x509'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_crypto_x509_pkix.go b/stdlib/go1_15_crypto_x509_pkix.go index b571a096..ebc92944 100644 --- a/stdlib/go1_15_crypto_x509_pkix.go +++ b/stdlib/go1_15_crypto_x509_pkix.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract crypto/x509/pkix'. DO NOT EDIT. +// Code generated by 'yaegi extract crypto/x509/pkix'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_database_sql.go b/stdlib/go1_15_database_sql.go index d0acf3bf..5ac2208f 100644 --- a/stdlib/go1_15_database_sql.go +++ b/stdlib/go1_15_database_sql.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract database/sql'. DO NOT EDIT. +// Code generated by 'yaegi extract database/sql'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_database_sql_driver.go b/stdlib/go1_15_database_sql_driver.go index ad1fce4c..7ba5d3ff 100644 --- a/stdlib/go1_15_database_sql_driver.go +++ b/stdlib/go1_15_database_sql_driver.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract database/sql/driver'. DO NOT EDIT. +// Code generated by 'yaegi extract database/sql/driver'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_dwarf.go b/stdlib/go1_15_debug_dwarf.go index 1a5e6a60..1d289cbc 100644 --- a/stdlib/go1_15_debug_dwarf.go +++ b/stdlib/go1_15_debug_dwarf.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/dwarf'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/dwarf'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_elf.go b/stdlib/go1_15_debug_elf.go index 5f0f4bbf..2b1719e7 100644 --- a/stdlib/go1_15_debug_elf.go +++ b/stdlib/go1_15_debug_elf.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/elf'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/elf'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_gosym.go b/stdlib/go1_15_debug_gosym.go index 572b7898..a06dfada 100644 --- a/stdlib/go1_15_debug_gosym.go +++ b/stdlib/go1_15_debug_gosym.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/gosym'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/gosym'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_macho.go b/stdlib/go1_15_debug_macho.go index dce28cfe..d4a03d76 100644 --- a/stdlib/go1_15_debug_macho.go +++ b/stdlib/go1_15_debug_macho.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/macho'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/macho'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_pe.go b/stdlib/go1_15_debug_pe.go index 6120cc7b..41bc6526 100644 --- a/stdlib/go1_15_debug_pe.go +++ b/stdlib/go1_15_debug_pe.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/pe'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/pe'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_debug_plan9obj.go b/stdlib/go1_15_debug_plan9obj.go index bc73a137..29ab308f 100644 --- a/stdlib/go1_15_debug_plan9obj.go +++ b/stdlib/go1_15_debug_plan9obj.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract debug/plan9obj'. DO NOT EDIT. +// Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding.go b/stdlib/go1_15_encoding.go index 802c110c..8b4fc83c 100644 --- a/stdlib/go1_15_encoding.go +++ b/stdlib/go1_15_encoding.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_ascii85.go b/stdlib/go1_15_encoding_ascii85.go index bedea79c..9886d768 100644 --- a/stdlib/go1_15_encoding_ascii85.go +++ b/stdlib/go1_15_encoding_ascii85.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/ascii85'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/ascii85'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_asn1.go b/stdlib/go1_15_encoding_asn1.go index 3e15726b..a42662f1 100644 --- a/stdlib/go1_15_encoding_asn1.go +++ b/stdlib/go1_15_encoding_asn1.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/asn1'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/asn1'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_base32.go b/stdlib/go1_15_encoding_base32.go index 717e67b2..410df14e 100644 --- a/stdlib/go1_15_encoding_base32.go +++ b/stdlib/go1_15_encoding_base32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/base32'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/base32'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_base64.go b/stdlib/go1_15_encoding_base64.go index 56f3cd71..a741ca24 100644 --- a/stdlib/go1_15_encoding_base64.go +++ b/stdlib/go1_15_encoding_base64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/base64'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/base64'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_binary.go b/stdlib/go1_15_encoding_binary.go index ab85c1a9..8c1af0bc 100644 --- a/stdlib/go1_15_encoding_binary.go +++ b/stdlib/go1_15_encoding_binary.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/binary'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/binary'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_csv.go b/stdlib/go1_15_encoding_csv.go index c54d1e5b..ee1796dd 100644 --- a/stdlib/go1_15_encoding_csv.go +++ b/stdlib/go1_15_encoding_csv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/csv'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_gob.go b/stdlib/go1_15_encoding_gob.go index bd2ddaab..41a37bdd 100644 --- a/stdlib/go1_15_encoding_gob.go +++ b/stdlib/go1_15_encoding_gob.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/gob'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/gob'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_hex.go b/stdlib/go1_15_encoding_hex.go index 6a9c65e1..f15310da 100644 --- a/stdlib/go1_15_encoding_hex.go +++ b/stdlib/go1_15_encoding_hex.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/hex'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_json.go b/stdlib/go1_15_encoding_json.go index 4aa0908a..c1fdd9fe 100644 --- a/stdlib/go1_15_encoding_json.go +++ b/stdlib/go1_15_encoding_json.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/json'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/json'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_pem.go b/stdlib/go1_15_encoding_pem.go index 8b758241..e5521f79 100644 --- a/stdlib/go1_15_encoding_pem.go +++ b/stdlib/go1_15_encoding_pem.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/pem'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/pem'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_encoding_xml.go b/stdlib/go1_15_encoding_xml.go index 7c937379..88f665f3 100644 --- a/stdlib/go1_15_encoding_xml.go +++ b/stdlib/go1_15_encoding_xml.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract encoding/xml'. DO NOT EDIT. +// Code generated by 'yaegi extract encoding/xml'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_errors.go b/stdlib/go1_15_errors.go index df0f5949..35480b9b 100644 --- a/stdlib/go1_15_errors.go +++ b/stdlib/go1_15_errors.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract errors'. DO NOT EDIT. +// Code generated by 'yaegi extract errors'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_expvar.go b/stdlib/go1_15_expvar.go index ffddefee..a988d812 100644 --- a/stdlib/go1_15_expvar.go +++ b/stdlib/go1_15_expvar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract expvar'. DO NOT EDIT. +// Code generated by 'yaegi extract expvar'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_flag.go b/stdlib/go1_15_flag.go index ed74b867..e259dd3b 100644 --- a/stdlib/go1_15_flag.go +++ b/stdlib/go1_15_flag.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract flag'. DO NOT EDIT. +// Code generated by 'yaegi extract flag'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_fmt.go b/stdlib/go1_15_fmt.go index e988b915..fdd172ff 100644 --- a/stdlib/go1_15_fmt.go +++ b/stdlib/go1_15_fmt.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract fmt'. DO NOT EDIT. +// Code generated by 'yaegi extract fmt'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_ast.go b/stdlib/go1_15_go_ast.go index 340673d7..3574f16f 100644 --- a/stdlib/go1_15_go_ast.go +++ b/stdlib/go1_15_go_ast.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/ast'. DO NOT EDIT. +// Code generated by 'yaegi extract go/ast'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_build.go b/stdlib/go1_15_go_build.go index 02483e15..0baa2d31 100644 --- a/stdlib/go1_15_go_build.go +++ b/stdlib/go1_15_go_build.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/build'. DO NOT EDIT. +// Code generated by 'yaegi extract go/build'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_constant.go b/stdlib/go1_15_go_constant.go index 05dab75f..93f77a33 100644 --- a/stdlib/go1_15_go_constant.go +++ b/stdlib/go1_15_go_constant.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/constant'. DO NOT EDIT. +// Code generated by 'yaegi extract go/constant'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_doc.go b/stdlib/go1_15_go_doc.go index 249895e3..d8ea9b18 100644 --- a/stdlib/go1_15_go_doc.go +++ b/stdlib/go1_15_go_doc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/doc'. DO NOT EDIT. +// Code generated by 'yaegi extract go/doc'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_format.go b/stdlib/go1_15_go_format.go index cc1221a7..f9310cb6 100644 --- a/stdlib/go1_15_go_format.go +++ b/stdlib/go1_15_go_format.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/format'. DO NOT EDIT. +// Code generated by 'yaegi extract go/format'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_importer.go b/stdlib/go1_15_go_importer.go index 221c211d..d3bedcdf 100644 --- a/stdlib/go1_15_go_importer.go +++ b/stdlib/go1_15_go_importer.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/importer'. DO NOT EDIT. +// Code generated by 'yaegi extract go/importer'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_parser.go b/stdlib/go1_15_go_parser.go index 83587a66..9312cf02 100644 --- a/stdlib/go1_15_go_parser.go +++ b/stdlib/go1_15_go_parser.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/parser'. DO NOT EDIT. +// Code generated by 'yaegi extract go/parser'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_printer.go b/stdlib/go1_15_go_printer.go index 5a3aed0a..59df3473 100644 --- a/stdlib/go1_15_go_printer.go +++ b/stdlib/go1_15_go_printer.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/printer'. DO NOT EDIT. +// Code generated by 'yaegi extract go/printer'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_scanner.go b/stdlib/go1_15_go_scanner.go index 67703e0d..a7fa1868 100644 --- a/stdlib/go1_15_go_scanner.go +++ b/stdlib/go1_15_go_scanner.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/scanner'. DO NOT EDIT. +// Code generated by 'yaegi extract go/scanner'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_token.go b/stdlib/go1_15_go_token.go index 5b588154..ccf004b1 100644 --- a/stdlib/go1_15_go_token.go +++ b/stdlib/go1_15_go_token.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/token'. DO NOT EDIT. +// Code generated by 'yaegi extract go/token'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_go_types.go b/stdlib/go1_15_go_types.go index 77d9bfa1..525ebdb3 100644 --- a/stdlib/go1_15_go_types.go +++ b/stdlib/go1_15_go_types.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract go/types'. DO NOT EDIT. +// Code generated by 'yaegi extract go/types'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash.go b/stdlib/go1_15_hash.go index d9156c6b..77578e29 100644 --- a/stdlib/go1_15_hash.go +++ b/stdlib/go1_15_hash.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash'. DO NOT EDIT. +// Code generated by 'yaegi extract hash'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash_adler32.go b/stdlib/go1_15_hash_adler32.go index 5a2f60de..40c8667f 100644 --- a/stdlib/go1_15_hash_adler32.go +++ b/stdlib/go1_15_hash_adler32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/adler32'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash_crc32.go b/stdlib/go1_15_hash_crc32.go index e7782d9a..bf5724b5 100644 --- a/stdlib/go1_15_hash_crc32.go +++ b/stdlib/go1_15_hash_crc32.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/crc32'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash_crc64.go b/stdlib/go1_15_hash_crc64.go index bc8f1b50..b2ddd1ff 100644 --- a/stdlib/go1_15_hash_crc64.go +++ b/stdlib/go1_15_hash_crc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/crc64'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash_fnv.go b/stdlib/go1_15_hash_fnv.go index 11acc971..2bfe4d5e 100644 --- a/stdlib/go1_15_hash_fnv.go +++ b/stdlib/go1_15_hash_fnv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/fnv'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/fnv'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_hash_maphash.go b/stdlib/go1_15_hash_maphash.go index d700666e..0ae671c8 100644 --- a/stdlib/go1_15_hash_maphash.go +++ b/stdlib/go1_15_hash_maphash.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract hash/maphash'. DO NOT EDIT. +// Code generated by 'yaegi extract hash/maphash'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_html.go b/stdlib/go1_15_html.go index 5cd038ab..91d4b88b 100644 --- a/stdlib/go1_15_html.go +++ b/stdlib/go1_15_html.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract html'. DO NOT EDIT. +// Code generated by 'yaegi extract html'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_html_template.go b/stdlib/go1_15_html_template.go index 0242719b..da5346a6 100644 --- a/stdlib/go1_15_html_template.go +++ b/stdlib/go1_15_html_template.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract html/template'. DO NOT EDIT. +// Code generated by 'yaegi extract html/template'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image.go b/stdlib/go1_15_image.go index 35831efc..4210908f 100644 --- a/stdlib/go1_15_image.go +++ b/stdlib/go1_15_image.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image'. DO NOT EDIT. +// Code generated by 'yaegi extract image'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_color.go b/stdlib/go1_15_image_color.go index 9b464e11..77805555 100644 --- a/stdlib/go1_15_image_color.go +++ b/stdlib/go1_15_image_color.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/color'. DO NOT EDIT. +// Code generated by 'yaegi extract image/color'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_color_palette.go b/stdlib/go1_15_image_color_palette.go index b4428a2b..952115d4 100644 --- a/stdlib/go1_15_image_color_palette.go +++ b/stdlib/go1_15_image_color_palette.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/color/palette'. DO NOT EDIT. +// Code generated by 'yaegi extract image/color/palette'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_draw.go b/stdlib/go1_15_image_draw.go index d06f703f..123c1c65 100644 --- a/stdlib/go1_15_image_draw.go +++ b/stdlib/go1_15_image_draw.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/draw'. DO NOT EDIT. +// Code generated by 'yaegi extract image/draw'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_gif.go b/stdlib/go1_15_image_gif.go index bdd04565..69487167 100644 --- a/stdlib/go1_15_image_gif.go +++ b/stdlib/go1_15_image_gif.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/gif'. DO NOT EDIT. +// Code generated by 'yaegi extract image/gif'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_jpeg.go b/stdlib/go1_15_image_jpeg.go index ef4a6301..eb3d03b0 100644 --- a/stdlib/go1_15_image_jpeg.go +++ b/stdlib/go1_15_image_jpeg.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/jpeg'. DO NOT EDIT. +// Code generated by 'yaegi extract image/jpeg'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_image_png.go b/stdlib/go1_15_image_png.go index 3a117c07..a03414f3 100644 --- a/stdlib/go1_15_image_png.go +++ b/stdlib/go1_15_image_png.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract image/png'. DO NOT EDIT. +// Code generated by 'yaegi extract image/png'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_index_suffixarray.go b/stdlib/go1_15_index_suffixarray.go index dfc72ce2..18c426a3 100644 --- a/stdlib/go1_15_index_suffixarray.go +++ b/stdlib/go1_15_index_suffixarray.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract index/suffixarray'. DO NOT EDIT. +// Code generated by 'yaegi extract index/suffixarray'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_io.go b/stdlib/go1_15_io.go index 2c05383b..db24be14 100644 --- a/stdlib/go1_15_io.go +++ b/stdlib/go1_15_io.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract io'. DO NOT EDIT. +// Code generated by 'yaegi extract io'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_io_ioutil.go b/stdlib/go1_15_io_ioutil.go index cf9de99b..3e07985a 100644 --- a/stdlib/go1_15_io_ioutil.go +++ b/stdlib/go1_15_io_ioutil.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract io/ioutil'. DO NOT EDIT. +// Code generated by 'yaegi extract io/ioutil'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_log.go b/stdlib/go1_15_log.go index 5adcd506..1b8eacc0 100644 --- a/stdlib/go1_15_log.go +++ b/stdlib/go1_15_log.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract log'. DO NOT EDIT. +// Code generated by 'yaegi extract log'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_log_syslog.go b/stdlib/go1_15_log_syslog.go index ebf939f9..e9bfedc3 100644 --- a/stdlib/go1_15_log_syslog.go +++ b/stdlib/go1_15_log_syslog.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract log/syslog'. DO NOT EDIT. +// Code generated by 'yaegi extract log/syslog'. DO NOT EDIT. // +build go1.15,!go1.16,!windows,!nacl,!plan9 diff --git a/stdlib/go1_15_math.go b/stdlib/go1_15_math.go index 62e3d55f..60106723 100644 --- a/stdlib/go1_15_math.go +++ b/stdlib/go1_15_math.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math'. DO NOT EDIT. +// Code generated by 'yaegi extract math'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_math_big.go b/stdlib/go1_15_math_big.go index d3ea2bf7..348bbd26 100644 --- a/stdlib/go1_15_math_big.go +++ b/stdlib/go1_15_math_big.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/big'. DO NOT EDIT. +// Code generated by 'yaegi extract math/big'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_math_bits.go b/stdlib/go1_15_math_bits.go index 104075e7..beb48187 100644 --- a/stdlib/go1_15_math_bits.go +++ b/stdlib/go1_15_math_bits.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/bits'. DO NOT EDIT. +// Code generated by 'yaegi extract math/bits'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_math_cmplx.go b/stdlib/go1_15_math_cmplx.go index de7c963f..d5c8509a 100644 --- a/stdlib/go1_15_math_cmplx.go +++ b/stdlib/go1_15_math_cmplx.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/cmplx'. DO NOT EDIT. +// Code generated by 'yaegi extract math/cmplx'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_math_rand.go b/stdlib/go1_15_math_rand.go index c48d088c..24a6fade 100644 --- a/stdlib/go1_15_math_rand.go +++ b/stdlib/go1_15_math_rand.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract math/rand'. DO NOT EDIT. +// Code generated by 'yaegi extract math/rand'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_mime.go b/stdlib/go1_15_mime.go index 41d4f261..9f0b03bd 100644 --- a/stdlib/go1_15_mime.go +++ b/stdlib/go1_15_mime.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime'. DO NOT EDIT. +// Code generated by 'yaegi extract mime'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_mime_multipart.go b/stdlib/go1_15_mime_multipart.go index 60608036..e3501c71 100644 --- a/stdlib/go1_15_mime_multipart.go +++ b/stdlib/go1_15_mime_multipart.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime/multipart'. DO NOT EDIT. +// Code generated by 'yaegi extract mime/multipart'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_mime_quotedprintable.go b/stdlib/go1_15_mime_quotedprintable.go index d8fad26b..7c0bcb4d 100644 --- a/stdlib/go1_15_mime_quotedprintable.go +++ b/stdlib/go1_15_mime_quotedprintable.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract mime/quotedprintable'. DO NOT EDIT. +// Code generated by 'yaegi extract mime/quotedprintable'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net.go b/stdlib/go1_15_net.go index d0631ba5..2977d9ae 100644 --- a/stdlib/go1_15_net.go +++ b/stdlib/go1_15_net.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net'. DO NOT EDIT. +// Code generated by 'yaegi extract net'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http.go b/stdlib/go1_15_net_http.go index 134c93ec..3693127d 100644 --- a/stdlib/go1_15_net_http.go +++ b/stdlib/go1_15_net_http.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_cgi.go b/stdlib/go1_15_net_http_cgi.go index aef568b0..7a3d63d3 100644 --- a/stdlib/go1_15_net_http_cgi.go +++ b/stdlib/go1_15_net_http_cgi.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/cgi'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/cgi'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_cookiejar.go b/stdlib/go1_15_net_http_cookiejar.go index 718495b2..10eb3b30 100644 --- a/stdlib/go1_15_net_http_cookiejar.go +++ b/stdlib/go1_15_net_http_cookiejar.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/cookiejar'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/cookiejar'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_fcgi.go b/stdlib/go1_15_net_http_fcgi.go index d9a3a309..62dc7eca 100644 --- a/stdlib/go1_15_net_http_fcgi.go +++ b/stdlib/go1_15_net_http_fcgi.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/fcgi'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/fcgi'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_httptest.go b/stdlib/go1_15_net_http_httptest.go index fbf9db71..c145d6ec 100644 --- a/stdlib/go1_15_net_http_httptest.go +++ b/stdlib/go1_15_net_http_httptest.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httptest'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httptest'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_httptrace.go b/stdlib/go1_15_net_http_httptrace.go index 019a4112..72416099 100644 --- a/stdlib/go1_15_net_http_httptrace.go +++ b/stdlib/go1_15_net_http_httptrace.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httptrace'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httptrace'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_httputil.go b/stdlib/go1_15_net_http_httputil.go index 131e6218..80c65058 100644 --- a/stdlib/go1_15_net_http_httputil.go +++ b/stdlib/go1_15_net_http_httputil.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/httputil'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/httputil'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_http_pprof.go b/stdlib/go1_15_net_http_pprof.go index cdaeedbf..8011f95d 100644 --- a/stdlib/go1_15_net_http_pprof.go +++ b/stdlib/go1_15_net_http_pprof.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/http/pprof'. DO NOT EDIT. +// Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_mail.go b/stdlib/go1_15_net_mail.go index 0e0ce09b..85322ee4 100644 --- a/stdlib/go1_15_net_mail.go +++ b/stdlib/go1_15_net_mail.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/mail'. DO NOT EDIT. +// Code generated by 'yaegi extract net/mail'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_rpc.go b/stdlib/go1_15_net_rpc.go index 80b62c9c..e79e45cd 100644 --- a/stdlib/go1_15_net_rpc.go +++ b/stdlib/go1_15_net_rpc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/rpc'. DO NOT EDIT. +// Code generated by 'yaegi extract net/rpc'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_rpc_jsonrpc.go b/stdlib/go1_15_net_rpc_jsonrpc.go index 5192e7a8..2159599f 100644 --- a/stdlib/go1_15_net_rpc_jsonrpc.go +++ b/stdlib/go1_15_net_rpc_jsonrpc.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/rpc/jsonrpc'. DO NOT EDIT. +// Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_smtp.go b/stdlib/go1_15_net_smtp.go index 8813c77c..cc1b7cc4 100644 --- a/stdlib/go1_15_net_smtp.go +++ b/stdlib/go1_15_net_smtp.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/smtp'. DO NOT EDIT. +// Code generated by 'yaegi extract net/smtp'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_textproto.go b/stdlib/go1_15_net_textproto.go index 7aaf7409..ccc3e527 100644 --- a/stdlib/go1_15_net_textproto.go +++ b/stdlib/go1_15_net_textproto.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/textproto'. DO NOT EDIT. +// Code generated by 'yaegi extract net/textproto'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_net_url.go b/stdlib/go1_15_net_url.go index 1de91b64..f8150794 100644 --- a/stdlib/go1_15_net_url.go +++ b/stdlib/go1_15_net_url.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract net/url'. DO NOT EDIT. +// Code generated by 'yaegi extract net/url'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_os.go b/stdlib/go1_15_os.go index 1c134008..1f5fe57e 100644 --- a/stdlib/go1_15_os.go +++ b/stdlib/go1_15_os.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os'. DO NOT EDIT. +// Code generated by 'yaegi extract os'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_os_signal.go b/stdlib/go1_15_os_signal.go index 1e586dd0..8fe5b590 100644 --- a/stdlib/go1_15_os_signal.go +++ b/stdlib/go1_15_os_signal.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os/signal'. DO NOT EDIT. +// Code generated by 'yaegi extract os/signal'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_os_user.go b/stdlib/go1_15_os_user.go index a28b27ec..ce82db3f 100644 --- a/stdlib/go1_15_os_user.go +++ b/stdlib/go1_15_os_user.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract os/user'. DO NOT EDIT. +// Code generated by 'yaegi extract os/user'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_path.go b/stdlib/go1_15_path.go index 0d61a0e2..e61ebbe0 100644 --- a/stdlib/go1_15_path.go +++ b/stdlib/go1_15_path.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract path'. DO NOT EDIT. +// Code generated by 'yaegi extract path'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_path_filepath.go b/stdlib/go1_15_path_filepath.go index 289553a8..1b015959 100644 --- a/stdlib/go1_15_path_filepath.go +++ b/stdlib/go1_15_path_filepath.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract path/filepath'. DO NOT EDIT. +// Code generated by 'yaegi extract path/filepath'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_reflect.go b/stdlib/go1_15_reflect.go index d150d75b..47f4c236 100644 --- a/stdlib/go1_15_reflect.go +++ b/stdlib/go1_15_reflect.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract reflect'. DO NOT EDIT. +// Code generated by 'yaegi extract reflect'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_regexp.go b/stdlib/go1_15_regexp.go index e39c8668..23955e24 100644 --- a/stdlib/go1_15_regexp.go +++ b/stdlib/go1_15_regexp.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract regexp'. DO NOT EDIT. +// Code generated by 'yaegi extract regexp'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_regexp_syntax.go b/stdlib/go1_15_regexp_syntax.go index 339adaed..f66fe08a 100644 --- a/stdlib/go1_15_regexp_syntax.go +++ b/stdlib/go1_15_regexp_syntax.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract regexp/syntax'. DO NOT EDIT. +// Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_runtime.go b/stdlib/go1_15_runtime.go index 0151fd05..564ff302 100644 --- a/stdlib/go1_15_runtime.go +++ b/stdlib/go1_15_runtime.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_runtime_debug.go b/stdlib/go1_15_runtime_debug.go index 8a691723..1d34cabd 100644 --- a/stdlib/go1_15_runtime_debug.go +++ b/stdlib/go1_15_runtime_debug.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/debug'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/debug'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_runtime_pprof.go b/stdlib/go1_15_runtime_pprof.go index def2e2c5..756d6901 100644 --- a/stdlib/go1_15_runtime_pprof.go +++ b/stdlib/go1_15_runtime_pprof.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/pprof'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/pprof'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_runtime_trace.go b/stdlib/go1_15_runtime_trace.go index bc0fe7da..d78a25ae 100644 --- a/stdlib/go1_15_runtime_trace.go +++ b/stdlib/go1_15_runtime_trace.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract runtime/trace'. DO NOT EDIT. +// Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_sort.go b/stdlib/go1_15_sort.go index cc6f369a..02cd095c 100644 --- a/stdlib/go1_15_sort.go +++ b/stdlib/go1_15_sort.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sort'. DO NOT EDIT. +// Code generated by 'yaegi extract sort'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_strconv.go b/stdlib/go1_15_strconv.go index 3c667856..8fee2957 100644 --- a/stdlib/go1_15_strconv.go +++ b/stdlib/go1_15_strconv.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract strconv'. DO NOT EDIT. +// Code generated by 'yaegi extract strconv'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_strings.go b/stdlib/go1_15_strings.go index c3c6157c..e3620ed9 100644 --- a/stdlib/go1_15_strings.go +++ b/stdlib/go1_15_strings.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract strings'. DO NOT EDIT. +// Code generated by 'yaegi extract strings'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_sync.go b/stdlib/go1_15_sync.go index e752789c..6d6ef98d 100644 --- a/stdlib/go1_15_sync.go +++ b/stdlib/go1_15_sync.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sync'. DO NOT EDIT. +// Code generated by 'yaegi extract sync'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_sync_atomic.go b/stdlib/go1_15_sync_atomic.go index df72bba1..1fa6d4e2 100644 --- a/stdlib/go1_15_sync_atomic.go +++ b/stdlib/go1_15_sync_atomic.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract sync/atomic'. DO NOT EDIT. +// Code generated by 'yaegi extract sync/atomic'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_testing.go b/stdlib/go1_15_testing.go index 77b5ac1f..8d07739a 100644 --- a/stdlib/go1_15_testing.go +++ b/stdlib/go1_15_testing.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing'. DO NOT EDIT. +// Code generated by 'yaegi extract testing'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_testing_iotest.go b/stdlib/go1_15_testing_iotest.go index 1f8e7941..9d2b081c 100644 --- a/stdlib/go1_15_testing_iotest.go +++ b/stdlib/go1_15_testing_iotest.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing/iotest'. DO NOT EDIT. +// Code generated by 'yaegi extract testing/iotest'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_testing_quick.go b/stdlib/go1_15_testing_quick.go index c4b70d5f..14463abe 100644 --- a/stdlib/go1_15_testing_quick.go +++ b/stdlib/go1_15_testing_quick.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract testing/quick'. DO NOT EDIT. +// Code generated by 'yaegi extract testing/quick'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_text_scanner.go b/stdlib/go1_15_text_scanner.go index c33d5772..8ce7ddf0 100644 --- a/stdlib/go1_15_text_scanner.go +++ b/stdlib/go1_15_text_scanner.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/scanner'. DO NOT EDIT. +// Code generated by 'yaegi extract text/scanner'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_text_tabwriter.go b/stdlib/go1_15_text_tabwriter.go index 954c66f5..e63652f2 100644 --- a/stdlib/go1_15_text_tabwriter.go +++ b/stdlib/go1_15_text_tabwriter.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/tabwriter'. DO NOT EDIT. +// Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_text_template.go b/stdlib/go1_15_text_template.go index f88e24ee..10c51fa8 100644 --- a/stdlib/go1_15_text_template.go +++ b/stdlib/go1_15_text_template.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/template'. DO NOT EDIT. +// Code generated by 'yaegi extract text/template'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_text_template_parse.go b/stdlib/go1_15_text_template_parse.go index 7ec0bd49..6522c804 100644 --- a/stdlib/go1_15_text_template_parse.go +++ b/stdlib/go1_15_text_template_parse.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract text/template/parse'. DO NOT EDIT. +// Code generated by 'yaegi extract text/template/parse'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_time.go b/stdlib/go1_15_time.go index bcdd1ed2..96dd8142 100644 --- a/stdlib/go1_15_time.go +++ b/stdlib/go1_15_time.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract time'. DO NOT EDIT. +// Code generated by 'yaegi extract time'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_unicode.go b/stdlib/go1_15_unicode.go index cd444fab..5f433ade 100644 --- a/stdlib/go1_15_unicode.go +++ b/stdlib/go1_15_unicode.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_unicode_utf16.go b/stdlib/go1_15_unicode_utf16.go index 1b6a2a78..630741ba 100644 --- a/stdlib/go1_15_unicode_utf16.go +++ b/stdlib/go1_15_unicode_utf16.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode/utf16'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/go1_15_unicode_utf8.go b/stdlib/go1_15_unicode_utf8.go index 8fb393d2..beea3179 100644 --- a/stdlib/go1_15_unicode_utf8.go +++ b/stdlib/go1_15_unicode_utf8.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unicode/utf8'. DO NOT EDIT. +// Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index 1adb3a28..d4883551 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -17,36 +17,36 @@ func init() { // Provide access to go standard library (http://golang.org/pkg/) // go list std | grep -v internal | grep -v '\.' | grep -v unsafe | grep -v syscall -//go:generate ../cmd/goexports/goexports archive/tar archive/zip -//go:generate ../cmd/goexports/goexports bufio bytes -//go:generate ../cmd/goexports/goexports compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib -//go:generate ../cmd/goexports/goexports container/heap container/list container/ring -//go:generate ../cmd/goexports/goexports context crypto crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa -//go:generate ../cmd/goexports/goexports crypto/ed25519 crypto/elliptic crypto/hmac crypto/md5 crypto/rand -//go:generate ../cmd/goexports/goexports crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 -//go:generate ../cmd/goexports/goexports crypto/subtle crypto/tls crypto/x509 crypto/x509/pkix -//go:generate ../cmd/goexports/goexports database/sql database/sql/driver -//go:generate ../cmd/goexports/goexports debug/dwarf debug/elf debug/gosym debug/macho debug/pe debug/plan9obj -//go:generate ../cmd/goexports/goexports encoding encoding/ascii85 encoding/asn1 encoding/base32 -//go:generate ../cmd/goexports/goexports encoding/base64 encoding/binary encoding/csv encoding/gob -//go:generate ../cmd/goexports/goexports encoding/hex encoding/json encoding/pem encoding/xml -//go:generate ../cmd/goexports/goexports errors expvar flag fmt -//go:generate ../cmd/goexports/goexports go/ast go/build go/constant go/doc go/format go/importer -//go:generate ../cmd/goexports/goexports go/parser go/printer go/scanner go/token go/types -//go:generate ../cmd/goexports/goexports hash hash/adler32 hash/crc32 hash/crc64 hash/fnv hash/maphash -//go:generate ../cmd/goexports/goexports html html/template -//go:generate ../cmd/goexports/goexports image image/color image/color/palette -//go:generate ../cmd/goexports/goexports image/draw image/gif image/jpeg image/png index/suffixarray -//go:generate ../cmd/goexports/goexports io io/ioutil log log/syslog -//go:generate ../cmd/goexports/goexports math math/big math/bits math/cmplx math/rand -//go:generate ../cmd/goexports/goexports mime mime/multipart mime/quotedprintable -//go:generate ../cmd/goexports/goexports net net/http net/http/cgi net/http/cookiejar net/http/fcgi -//go:generate ../cmd/goexports/goexports net/http/httptest net/http/httptrace net/http/httputil net/http/pprof -//go:generate ../cmd/goexports/goexports net/mail net/rpc net/rpc/jsonrpc net/smtp net/textproto net/url -//go:generate ../cmd/goexports/goexports os os/signal os/user -//go:generate ../cmd/goexports/goexports path path/filepath reflect regexp regexp/syntax -//go:generate ../cmd/goexports/goexports runtime runtime/debug runtime/pprof runtime/trace -//go:generate ../cmd/goexports/goexports sort strconv strings sync sync/atomic -//go:generate ../cmd/goexports/goexports testing testing/iotest testing/quick -//go:generate ../cmd/goexports/goexports text/scanner text/tabwriter text/template text/template/parse -//go:generate ../cmd/goexports/goexports time unicode unicode/utf16 unicode/utf8 +//go:generate ../internal/cmd/extract/extract archive/tar archive/zip +//go:generate ../internal/cmd/extract/extract bufio bytes +//go:generate ../internal/cmd/extract/extract compress/bzip2 compress/flate compress/gzip compress/lzw compress/zlib +//go:generate ../internal/cmd/extract/extract container/heap container/list container/ring +//go:generate ../internal/cmd/extract/extract context crypto crypto/aes crypto/cipher crypto/des crypto/dsa crypto/ecdsa +//go:generate ../internal/cmd/extract/extract crypto/ed25519 crypto/elliptic crypto/hmac crypto/md5 crypto/rand +//go:generate ../internal/cmd/extract/extract crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/sha512 +//go:generate ../internal/cmd/extract/extract crypto/subtle crypto/tls crypto/x509 crypto/x509/pkix +//go:generate ../internal/cmd/extract/extract database/sql database/sql/driver +//go:generate ../internal/cmd/extract/extract debug/dwarf debug/elf debug/gosym debug/macho debug/pe debug/plan9obj +//go:generate ../internal/cmd/extract/extract encoding encoding/ascii85 encoding/asn1 encoding/base32 +//go:generate ../internal/cmd/extract/extract encoding/base64 encoding/binary encoding/csv encoding/gob +//go:generate ../internal/cmd/extract/extract encoding/hex encoding/json encoding/pem encoding/xml +//go:generate ../internal/cmd/extract/extract errors expvar flag fmt +//go:generate ../internal/cmd/extract/extract go/ast go/build go/constant go/doc go/format go/importer +//go:generate ../internal/cmd/extract/extract go/parser go/printer go/scanner go/token go/types +//go:generate ../internal/cmd/extract/extract hash hash/adler32 hash/crc32 hash/crc64 hash/fnv hash/maphash +//go:generate ../internal/cmd/extract/extract html html/template +//go:generate ../internal/cmd/extract/extract image image/color image/color/palette +//go:generate ../internal/cmd/extract/extract image/draw image/gif image/jpeg image/png index/suffixarray +//go:generate ../internal/cmd/extract/extract io io/ioutil log log/syslog +//go:generate ../internal/cmd/extract/extract math math/big math/bits math/cmplx math/rand +//go:generate ../internal/cmd/extract/extract mime mime/multipart mime/quotedprintable +//go:generate ../internal/cmd/extract/extract net net/http net/http/cgi net/http/cookiejar net/http/fcgi +//go:generate ../internal/cmd/extract/extract net/http/httptest net/http/httptrace net/http/httputil net/http/pprof +//go:generate ../internal/cmd/extract/extract net/mail net/rpc net/rpc/jsonrpc net/smtp net/textproto net/url +//go:generate ../internal/cmd/extract/extract os os/signal os/user +//go:generate ../internal/cmd/extract/extract path path/filepath reflect regexp regexp/syntax +//go:generate ../internal/cmd/extract/extract runtime runtime/debug runtime/pprof runtime/trace +//go:generate ../internal/cmd/extract/extract sort strconv strings sync sync/atomic +//go:generate ../internal/cmd/extract/extract testing testing/iotest testing/quick +//go:generate ../internal/cmd/extract/extract text/scanner text/tabwriter text/template text/template/parse +//go:generate ../internal/cmd/extract/extract time unicode unicode/utf16 unicode/utf8 diff --git a/stdlib/syscall/go1_14_syscall_aix_ppc64.go b/stdlib/syscall/go1_14_syscall_aix_ppc64.go index 2c1dbaac..1366d6fe 100644 --- a/stdlib/syscall/go1_14_syscall_aix_ppc64.go +++ b/stdlib/syscall/go1_14_syscall_aix_ppc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -231,8 +231,6 @@ func init() { "EYEC_RTENTRYF": reflect.ValueOf(constant.MakeFromLiteral("2698347105741992518", token.INT, 0)), "E_ACC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65534", token.INT, 0)), "FLUSHBAND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), @@ -273,7 +271,6 @@ func init() { "Fchown": reflect.ValueOf(syscall.Fchown), "Fchownat": reflect.ValueOf(syscall.Fchownat), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -576,7 +573,6 @@ func init() { "IXON": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), "I_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("536892165", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "LNOFLSH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -740,14 +736,6 @@ func init() { "PathMax": reflect.ValueOf(constant.MakeFromLiteral("1023", token.INT, 0)), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -842,12 +830,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Rename": reflect.ValueOf(syscall.Rename), @@ -1141,7 +1126,6 @@ func init() { "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1158,7 +1142,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1168,8 +1151,6 @@ func init() { "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "TCOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_android_386.go b/stdlib/syscall/go1_14_syscall_android_386.go index 10258500..5ef7765f 100644 --- a/stdlib/syscall/go1_14_syscall_android_386.go +++ b/stdlib/syscall/go1_14_syscall_android_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15,!linux @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1166,19 +1162,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1373,12 +1356,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1948,7 +1928,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1984,7 +1963,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1996,8 +1974,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2185,7 +2161,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_android_amd64.go b/stdlib/syscall/go1_14_syscall_android_amd64.go index 057ae5ab..8b33bfca 100644 --- a/stdlib/syscall/go1_14_syscall_android_amd64.go +++ b/stdlib/syscall/go1_14_syscall_android_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15,!linux @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1167,19 +1163,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1374,12 +1357,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1914,7 +1894,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1950,7 +1929,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1962,8 +1940,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2151,7 +2127,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_android_arm.go b/stdlib/syscall/go1_14_syscall_android_arm.go index e127bc38..619cbc44 100644 --- a/stdlib/syscall/go1_14_syscall_android_arm.go +++ b/stdlib/syscall/go1_14_syscall_android_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15,!linux @@ -479,8 +479,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -527,7 +525,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -814,7 +811,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1176,19 +1172,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1383,12 +1366,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1967,7 +1947,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2003,7 +1982,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2014,8 +1992,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2204,7 +2180,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_android_arm64.go b/stdlib/syscall/go1_14_syscall_android_arm64.go index 1248605c..0d2960a4 100644 --- a/stdlib/syscall/go1_14_syscall_android_arm64.go +++ b/stdlib/syscall/go1_14_syscall_android_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15,!linux @@ -514,8 +514,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -562,7 +560,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -885,7 +882,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1299,19 +1295,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1513,12 +1496,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2028,7 +2008,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2064,7 +2043,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2076,8 +2054,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2295,7 +2271,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_darwin_386.go b/stdlib/syscall/go1_14_syscall_darwin_386.go index 259e3935..7a6c40bd 100644 --- a/stdlib/syscall/go1_14_syscall_darwin_386.go +++ b/stdlib/syscall/go1_14_syscall_darwin_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -365,8 +365,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -424,7 +422,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -808,7 +805,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -995,8 +991,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1079,8 +1073,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1670,7 +1662,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1701,7 +1692,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1712,9 +1702,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_darwin_amd64.go b/stdlib/syscall/go1_14_syscall_darwin_amd64.go index 4f4e6b63..89859bf1 100644 --- a/stdlib/syscall/go1_14_syscall_darwin_amd64.go +++ b/stdlib/syscall/go1_14_syscall_darwin_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -365,8 +365,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -424,7 +422,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -808,7 +805,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -995,8 +991,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1079,8 +1073,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1670,7 +1662,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1701,7 +1692,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1712,9 +1702,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_darwin_arm.go b/stdlib/syscall/go1_14_syscall_darwin_arm.go index 4524eb52..85a411a9 100644 --- a/stdlib/syscall/go1_14_syscall_darwin_arm.go +++ b/stdlib/syscall/go1_14_syscall_darwin_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -359,8 +359,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -407,7 +405,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -769,7 +766,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -936,8 +932,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1020,8 +1014,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1587,7 +1579,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1618,7 +1609,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1629,9 +1619,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_darwin_arm64.go b/stdlib/syscall/go1_14_syscall_darwin_arm64.go index feb025de..01093acd 100644 --- a/stdlib/syscall/go1_14_syscall_darwin_arm64.go +++ b/stdlib/syscall/go1_14_syscall_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -367,8 +367,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -429,7 +427,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -813,7 +810,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1009,8 +1005,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1096,8 +1090,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1674,7 +1666,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1705,7 +1696,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1716,9 +1706,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_dragonfly_amd64.go b/stdlib/syscall/go1_14_syscall_dragonfly_amd64.go index 0247f797..75913ab3 100644 --- a/stdlib/syscall/go1_14_syscall_dragonfly_amd64.go +++ b/stdlib/syscall/go1_14_syscall_dragonfly_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -447,8 +447,6 @@ func init() { "EXTEXIT_SIMPLE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -476,7 +474,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -998,7 +995,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1236,8 +1232,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1735,7 +1729,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1765,7 +1758,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1776,9 +1768,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_freebsd_386.go b/stdlib/syscall/go1_14_syscall_freebsd_386.go index 741cedba..c82fc386 100644 --- a/stdlib/syscall/go1_14_syscall_freebsd_386.go +++ b/stdlib/syscall/go1_14_syscall_freebsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1410,8 +1406,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1975,7 +1969,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2008,7 +2001,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2019,9 +2011,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_freebsd_amd64.go b/stdlib/syscall/go1_14_syscall_freebsd_amd64.go index 02840874..27d68313 100644 --- a/stdlib/syscall/go1_14_syscall_freebsd_amd64.go +++ b/stdlib/syscall/go1_14_syscall_freebsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1411,8 +1407,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1976,7 +1970,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -2009,7 +2002,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2020,9 +2012,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_freebsd_arm.go b/stdlib/syscall/go1_14_syscall_freebsd_arm.go index 7730e3e2..6696e715 100644 --- a/stdlib/syscall/go1_14_syscall_freebsd_arm.go +++ b/stdlib/syscall/go1_14_syscall_freebsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1410,8 +1406,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1975,7 +1969,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2008,7 +2001,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2019,9 +2011,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_freebsd_arm64.go b/stdlib/syscall/go1_14_syscall_freebsd_arm64.go index 67e02768..02453f7f 100644 --- a/stdlib/syscall/go1_14_syscall_freebsd_arm64.go +++ b/stdlib/syscall/go1_14_syscall_freebsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1411,8 +1407,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -2021,7 +2015,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -2054,7 +2047,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2065,9 +2057,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_illumos_amd64.go b/stdlib/syscall/go1_14_syscall_illumos_amd64.go index f2d6fc1c..f779732a 100644 --- a/stdlib/syscall/go1_14_syscall_illumos_amd64.go +++ b/stdlib/syscall/go1_14_syscall_illumos_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15,!solaris @@ -407,8 +407,6 @@ func init() { "EXTA": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), "EXTB": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_NFDBITS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), @@ -471,7 +469,6 @@ func init() { "Fchmod": reflect.ValueOf(syscall.Fchmod), "Fchown": reflect.ValueOf(syscall.Fchown), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -759,7 +756,6 @@ func init() { "IXOFF": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "IXON": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -939,8 +935,6 @@ func init() { "RT_AWARE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1242,7 +1236,6 @@ func init() { "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1270,7 +1263,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1280,8 +1272,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_js_wasm.go b/stdlib/syscall/go1_14_syscall_js_wasm.go index 0dba1ea1..a4448043 100644 --- a/stdlib/syscall/go1_14_syscall_js_wasm.go +++ b/stdlib/syscall/go1_14_syscall_js_wasm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -154,7 +154,6 @@ func init() { "EXDEV": reflect.ValueOf(syscall.EXDEV), "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), - "Exit": reflect.ValueOf(syscall.Exit), "F_CNVT": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "F_DUPFD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "F_DUPFD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), @@ -201,7 +200,6 @@ func init() { "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -225,8 +223,6 @@ func init() { "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), "Pwrite": reflect.ValueOf(syscall.Pwrite), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -291,9 +287,7 @@ func init() { "SetWriteDeadline": reflect.ValueOf(syscall.SetWriteDeadline), "Setenv": reflect.ValueOf(syscall.Setenv), "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "Socket": reflect.ValueOf(syscall.Socket), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "Stdin": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -302,8 +296,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysctl": reflect.ValueOf(syscall.Sysctl), "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), "TimevalToNsec": reflect.ValueOf(syscall.TimevalToNsec), diff --git a/stdlib/syscall/go1_14_syscall_linux_386.go b/stdlib/syscall/go1_14_syscall_linux_386.go index 0e9c221e..fc36c424 100644 --- a/stdlib/syscall/go1_14_syscall_linux_386.go +++ b/stdlib/syscall/go1_14_syscall_linux_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1166,19 +1162,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1373,12 +1356,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1948,7 +1928,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1984,7 +1963,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1996,8 +1974,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2185,7 +2161,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_amd64.go b/stdlib/syscall/go1_14_syscall_linux_amd64.go index 9c8cbf20..3d2ba2b9 100644 --- a/stdlib/syscall/go1_14_syscall_linux_amd64.go +++ b/stdlib/syscall/go1_14_syscall_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1167,19 +1163,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1374,12 +1357,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1914,7 +1894,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1950,7 +1929,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1962,8 +1940,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2151,7 +2127,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_arm.go b/stdlib/syscall/go1_14_syscall_linux_arm.go index 35c46768..285c7a82 100644 --- a/stdlib/syscall/go1_14_syscall_linux_arm.go +++ b/stdlib/syscall/go1_14_syscall_linux_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -479,8 +479,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -527,7 +525,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -814,7 +811,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1176,19 +1172,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1383,12 +1366,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1967,7 +1947,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2003,7 +1982,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2014,8 +1992,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2204,7 +2180,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_arm64.go b/stdlib/syscall/go1_14_syscall_linux_arm64.go index 25a6b0cd..defd1048 100644 --- a/stdlib/syscall/go1_14_syscall_linux_arm64.go +++ b/stdlib/syscall/go1_14_syscall_linux_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -514,8 +514,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -562,7 +560,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -885,7 +882,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1299,19 +1295,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1513,12 +1496,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2028,7 +2008,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2064,7 +2043,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2076,8 +2054,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2295,7 +2271,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_mips.go b/stdlib/syscall/go1_14_syscall_linux_mips.go index 7469bfe5..67a298d5 100644 --- a/stdlib/syscall/go1_14_syscall_linux_mips.go +++ b/stdlib/syscall/go1_14_syscall_linux_mips.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -520,8 +520,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -568,7 +566,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -872,7 +869,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1305,19 +1301,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1519,12 +1502,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2117,7 +2097,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2153,7 +2132,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2165,9 +2143,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2390,7 +2365,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_mips64.go b/stdlib/syscall/go1_14_syscall_linux_mips64.go index 76475fb9..fb161f3e 100644 --- a/stdlib/syscall/go1_14_syscall_linux_mips64.go +++ b/stdlib/syscall/go1_14_syscall_linux_mips64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -516,8 +516,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -564,7 +562,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1309,19 +1305,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1523,12 +1506,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2085,7 +2065,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2121,7 +2100,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2133,8 +2111,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2338,7 +2314,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_mips64le.go b/stdlib/syscall/go1_14_syscall_linux_mips64le.go index 76475fb9..fb161f3e 100644 --- a/stdlib/syscall/go1_14_syscall_linux_mips64le.go +++ b/stdlib/syscall/go1_14_syscall_linux_mips64le.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -516,8 +516,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -564,7 +562,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1309,19 +1305,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1523,12 +1506,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2085,7 +2065,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2121,7 +2100,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2133,8 +2111,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2338,7 +2314,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_mipsle.go b/stdlib/syscall/go1_14_syscall_linux_mipsle.go index 7469bfe5..67a298d5 100644 --- a/stdlib/syscall/go1_14_syscall_linux_mipsle.go +++ b/stdlib/syscall/go1_14_syscall_linux_mipsle.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -520,8 +520,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -568,7 +566,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -872,7 +869,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1305,19 +1301,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1519,12 +1502,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2117,7 +2097,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2153,7 +2132,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2165,9 +2143,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2390,7 +2365,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_ppc64.go b/stdlib/syscall/go1_14_syscall_linux_ppc64.go index 681e039e..a2d3e461 100644 --- a/stdlib/syscall/go1_14_syscall_linux_ppc64.go +++ b/stdlib/syscall/go1_14_syscall_linux_ppc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -515,8 +515,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -563,7 +561,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1363,19 +1359,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1577,12 +1560,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2168,7 +2148,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2204,7 +2183,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2216,8 +2194,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("536900639", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("1076655123", token.INT, 0)), @@ -2429,7 +2405,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_ppc64le.go b/stdlib/syscall/go1_14_syscall_linux_ppc64le.go index b7f68edb..9ca6b153 100644 --- a/stdlib/syscall/go1_14_syscall_linux_ppc64le.go +++ b/stdlib/syscall/go1_14_syscall_linux_ppc64le.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -515,8 +515,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -563,7 +561,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -887,7 +884,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1368,19 +1364,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1582,12 +1565,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2173,7 +2153,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2209,7 +2188,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2221,8 +2199,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("536900639", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("1076655123", token.INT, 0)), @@ -2453,7 +2429,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_riscv64.go b/stdlib/syscall/go1_14_syscall_linux_riscv64.go index 6685c8b5..3faf3a13 100644 --- a/stdlib/syscall/go1_14_syscall_linux_riscv64.go +++ b/stdlib/syscall/go1_14_syscall_linux_riscv64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -524,8 +524,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -575,7 +573,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -892,7 +889,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1324,19 +1320,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1544,12 +1527,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2076,7 +2056,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2112,7 +2091,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2124,8 +2102,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2349,7 +2325,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_linux_s390x.go b/stdlib/syscall/go1_14_syscall_linux_s390x.go index 09c0af0a..e5b8a525 100644 --- a/stdlib/syscall/go1_14_syscall_linux_s390x.go +++ b/stdlib/syscall/go1_14_syscall_linux_s390x.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -523,8 +523,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -574,7 +572,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -883,7 +880,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1399,19 +1395,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1623,12 +1606,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2193,7 +2173,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2229,7 +2208,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2241,8 +2219,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2465,10 +2441,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceFpregs": reflect.ValueOf((*syscall.PtraceFpregs)(nil)), - "PtracePer": reflect.ValueOf((*syscall.PtracePer)(nil)), - "PtracePsw": reflect.ValueOf((*syscall.PtracePsw)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_14_syscall_netbsd_386.go b/stdlib/syscall/go1_14_syscall_netbsd_386.go index 500904da..44d38457 100644 --- a/stdlib/syscall/go1_14_syscall_netbsd_386.go +++ b/stdlib/syscall/go1_14_syscall_netbsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -680,8 +680,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -720,7 +718,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1147,7 +1144,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1379,8 +1375,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1864,7 +1858,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1893,7 +1886,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1903,9 +1895,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_netbsd_amd64.go b/stdlib/syscall/go1_14_syscall_netbsd_amd64.go index 18c45160..d62d5c70 100644 --- a/stdlib/syscall/go1_14_syscall_netbsd_amd64.go +++ b/stdlib/syscall/go1_14_syscall_netbsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -670,8 +670,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -710,7 +708,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1137,7 +1134,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1369,8 +1365,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1854,7 +1848,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1883,7 +1876,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1893,9 +1885,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_netbsd_arm.go b/stdlib/syscall/go1_14_syscall_netbsd_arm.go index 72c0538b..8e3b23ca 100644 --- a/stdlib/syscall/go1_14_syscall_netbsd_arm.go +++ b/stdlib/syscall/go1_14_syscall_netbsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -662,8 +662,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -702,7 +700,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1129,7 +1126,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1356,8 +1352,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1840,7 +1834,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1869,7 +1862,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1879,9 +1871,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_netbsd_arm64.go b/stdlib/syscall/go1_14_syscall_netbsd_arm64.go index 18c45160..d62d5c70 100644 --- a/stdlib/syscall/go1_14_syscall_netbsd_arm64.go +++ b/stdlib/syscall/go1_14_syscall_netbsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -670,8 +670,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -710,7 +708,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1137,7 +1134,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1369,8 +1365,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1854,7 +1848,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1883,7 +1876,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1893,9 +1885,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_openbsd_386.go b/stdlib/syscall/go1_14_syscall_openbsd_386.go index 6dee379e..829e178a 100644 --- a/stdlib/syscall/go1_14_syscall_openbsd_386.go +++ b/stdlib/syscall/go1_14_syscall_openbsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -576,7 +574,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1034,7 +1031,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1257,8 +1253,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1713,7 +1707,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1742,7 +1735,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1753,9 +1745,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_openbsd_amd64.go b/stdlib/syscall/go1_14_syscall_openbsd_amd64.go index e882a94f..15451d51 100644 --- a/stdlib/syscall/go1_14_syscall_openbsd_amd64.go +++ b/stdlib/syscall/go1_14_syscall_openbsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -576,7 +574,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1034,7 +1031,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1256,8 +1252,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1712,7 +1706,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1741,7 +1734,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1752,9 +1744,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_openbsd_arm.go b/stdlib/syscall/go1_14_syscall_openbsd_arm.go index fbbfcd0e..dd670652 100644 --- a/stdlib/syscall/go1_14_syscall_openbsd_arm.go +++ b/stdlib/syscall/go1_14_syscall_openbsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -575,7 +573,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1033,7 +1030,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1257,8 +1253,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1718,7 +1712,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1747,7 +1740,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1758,9 +1750,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_openbsd_arm64.go b/stdlib/syscall/go1_14_syscall_openbsd_arm64.go index 5f00c9b9..88862f1a 100644 --- a/stdlib/syscall/go1_14_syscall_openbsd_arm64.go +++ b/stdlib/syscall/go1_14_syscall_openbsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -586,8 +586,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -613,7 +611,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1071,7 +1068,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1316,8 +1312,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1810,7 +1804,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1839,7 +1832,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1850,9 +1842,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_plan9_386.go b/stdlib/syscall/go1_14_syscall_plan9_386.go index 59c32a47..f1e6d083 100644 --- a/stdlib/syscall/go1_14_syscall_plan9_386.go +++ b/stdlib/syscall/go1_14_syscall_plan9_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_14_syscall_plan9_amd64.go b/stdlib/syscall/go1_14_syscall_plan9_amd64.go index 59c32a47..f1e6d083 100644 --- a/stdlib/syscall/go1_14_syscall_plan9_amd64.go +++ b/stdlib/syscall/go1_14_syscall_plan9_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_14_syscall_plan9_arm.go b/stdlib/syscall/go1_14_syscall_plan9_arm.go index 59c32a47..f1e6d083 100644 --- a/stdlib/syscall/go1_14_syscall_plan9_arm.go +++ b/stdlib/syscall/go1_14_syscall_plan9_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_14_syscall_solaris_amd64.go b/stdlib/syscall/go1_14_syscall_solaris_amd64.go index 88a2eefc..ca840a27 100644 --- a/stdlib/syscall/go1_14_syscall_solaris_amd64.go +++ b/stdlib/syscall/go1_14_syscall_solaris_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -407,8 +407,6 @@ func init() { "EXTA": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), "EXTB": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_NFDBITS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), @@ -471,7 +469,6 @@ func init() { "Fchmod": reflect.ValueOf(syscall.Fchmod), "Fchown": reflect.ValueOf(syscall.Fchown), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -759,7 +756,6 @@ func init() { "IXOFF": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "IXON": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -939,7 +935,6 @@ func init() { "RT_AWARE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1241,7 +1236,6 @@ func init() { "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1269,7 +1263,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1279,7 +1272,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_windows_386.go b/stdlib/syscall/go1_14_syscall_windows_386.go index b716d0bb..9df51654 100644 --- a/stdlib/syscall/go1_14_syscall_windows_386.go +++ b/stdlib/syscall/go1_14_syscall_windows_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_windows_amd64.go b/stdlib/syscall/go1_14_syscall_windows_amd64.go index b716d0bb..9df51654 100644 --- a/stdlib/syscall/go1_14_syscall_windows_amd64.go +++ b/stdlib/syscall/go1_14_syscall_windows_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_14_syscall_windows_arm.go b/stdlib/syscall/go1_14_syscall_windows_arm.go index b716d0bb..9df51654 100644 --- a/stdlib/syscall/go1_14_syscall_windows_arm.go +++ b/stdlib/syscall/go1_14_syscall_windows_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.14,!go1.15 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_aix_ppc64.go b/stdlib/syscall/go1_15_syscall_aix_ppc64.go index f39b49ba..6e35abaa 100644 --- a/stdlib/syscall/go1_15_syscall_aix_ppc64.go +++ b/stdlib/syscall/go1_15_syscall_aix_ppc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -231,8 +231,6 @@ func init() { "EYEC_RTENTRYF": reflect.ValueOf(constant.MakeFromLiteral("2698347105741992518", token.INT, 0)), "E_ACC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65534", token.INT, 0)), "FLUSHBAND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), @@ -273,7 +271,6 @@ func init() { "Fchown": reflect.ValueOf(syscall.Fchown), "Fchownat": reflect.ValueOf(syscall.Fchownat), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -576,7 +573,6 @@ func init() { "IXON": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), "I_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("536892165", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "LNOFLSH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -740,14 +736,6 @@ func init() { "PathMax": reflect.ValueOf(constant.MakeFromLiteral("1023", token.INT, 0)), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -842,12 +830,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Rename": reflect.ValueOf(syscall.Rename), @@ -1141,7 +1126,6 @@ func init() { "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1158,7 +1142,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1168,8 +1151,6 @@ func init() { "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "TCOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_android_386.go b/stdlib/syscall/go1_15_syscall_android_386.go index 46409190..ad525adc 100644 --- a/stdlib/syscall/go1_15_syscall_android_386.go +++ b/stdlib/syscall/go1_15_syscall_android_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16,!linux @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1166,19 +1162,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1373,12 +1356,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1948,7 +1928,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1984,7 +1963,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1996,8 +1974,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2185,7 +2161,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_android_amd64.go b/stdlib/syscall/go1_15_syscall_android_amd64.go index accae30e..6a236e3d 100644 --- a/stdlib/syscall/go1_15_syscall_android_amd64.go +++ b/stdlib/syscall/go1_15_syscall_android_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16,!linux @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1167,19 +1163,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1374,12 +1357,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1914,7 +1894,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1950,7 +1929,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1962,8 +1940,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2151,7 +2127,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_android_arm.go b/stdlib/syscall/go1_15_syscall_android_arm.go index 3e9a00d8..f8eb8669 100644 --- a/stdlib/syscall/go1_15_syscall_android_arm.go +++ b/stdlib/syscall/go1_15_syscall_android_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16,!linux @@ -479,8 +479,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -527,7 +525,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -814,7 +811,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1176,19 +1172,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1383,12 +1366,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1967,7 +1947,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2003,7 +1982,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2014,8 +1992,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2204,7 +2180,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_android_arm64.go b/stdlib/syscall/go1_15_syscall_android_arm64.go index 2bb265f2..a5935cb6 100644 --- a/stdlib/syscall/go1_15_syscall_android_arm64.go +++ b/stdlib/syscall/go1_15_syscall_android_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16,!linux @@ -514,8 +514,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -562,7 +560,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -885,7 +882,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1299,19 +1295,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1513,12 +1496,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2028,7 +2008,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2064,7 +2043,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2076,8 +2054,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2295,7 +2271,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_darwin_amd64.go b/stdlib/syscall/go1_15_syscall_darwin_amd64.go index 0f5bc0c4..82155a9d 100644 --- a/stdlib/syscall/go1_15_syscall_darwin_amd64.go +++ b/stdlib/syscall/go1_15_syscall_darwin_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -365,8 +365,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -424,7 +422,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -808,7 +805,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -995,8 +991,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1079,8 +1073,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1670,7 +1662,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1701,7 +1692,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1712,9 +1702,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_darwin_arm64.go b/stdlib/syscall/go1_15_syscall_darwin_arm64.go index 371bb9f8..cfc377a6 100644 --- a/stdlib/syscall/go1_15_syscall_darwin_arm64.go +++ b/stdlib/syscall/go1_15_syscall_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -367,8 +367,6 @@ func init() { "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), "Exchangedata": reflect.ValueOf(syscall.Exchangedata), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -429,7 +427,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -813,7 +810,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1009,8 +1005,6 @@ func init() { "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1096,8 +1090,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1674,7 +1666,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1705,7 +1696,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1716,9 +1706,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_dragonfly_amd64.go b/stdlib/syscall/go1_15_syscall_dragonfly_amd64.go index 7b9e846a..f1c4ea65 100644 --- a/stdlib/syscall/go1_15_syscall_dragonfly_amd64.go +++ b/stdlib/syscall/go1_15_syscall_dragonfly_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -447,8 +447,6 @@ func init() { "EXTEXIT_SIMPLE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -476,7 +474,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -998,7 +995,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1236,8 +1232,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1735,7 +1729,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1765,7 +1758,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1776,9 +1768,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_freebsd_386.go b/stdlib/syscall/go1_15_syscall_freebsd_386.go index 5bc813d5..ae6324db 100644 --- a/stdlib/syscall/go1_15_syscall_freebsd_386.go +++ b/stdlib/syscall/go1_15_syscall_freebsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1410,8 +1406,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1975,7 +1969,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2008,7 +2001,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2019,9 +2011,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_freebsd_amd64.go b/stdlib/syscall/go1_15_syscall_freebsd_amd64.go index c754e71e..ec72ebf0 100644 --- a/stdlib/syscall/go1_15_syscall_freebsd_amd64.go +++ b/stdlib/syscall/go1_15_syscall_freebsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1411,8 +1407,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1976,7 +1970,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -2009,7 +2002,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2020,9 +2012,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_freebsd_arm.go b/stdlib/syscall/go1_15_syscall_freebsd_arm.go index 0c17ca78..e02f0b6b 100644 --- a/stdlib/syscall/go1_15_syscall_freebsd_arm.go +++ b/stdlib/syscall/go1_15_syscall_freebsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1410,8 +1406,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1975,7 +1969,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2008,7 +2001,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2019,9 +2011,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_freebsd_arm64.go b/stdlib/syscall/go1_15_syscall_freebsd_arm64.go index 9e292eee..4a27f1d1 100644 --- a/stdlib/syscall/go1_15_syscall_freebsd_arm64.go +++ b/stdlib/syscall/go1_15_syscall_freebsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -575,8 +575,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -612,7 +610,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1175,7 +1172,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1411,8 +1407,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -2021,7 +2015,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -2054,7 +2047,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2065,9 +2057,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_illumos_amd64.go b/stdlib/syscall/go1_15_syscall_illumos_amd64.go index d3fee357..db41bc93 100644 --- a/stdlib/syscall/go1_15_syscall_illumos_amd64.go +++ b/stdlib/syscall/go1_15_syscall_illumos_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16,!solaris @@ -407,8 +407,6 @@ func init() { "EXTA": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), "EXTB": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_NFDBITS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), @@ -471,7 +469,6 @@ func init() { "Fchmod": reflect.ValueOf(syscall.Fchmod), "Fchown": reflect.ValueOf(syscall.Fchown), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -759,7 +756,6 @@ func init() { "IXOFF": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "IXON": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -939,8 +935,6 @@ func init() { "RT_AWARE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1242,7 +1236,6 @@ func init() { "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1270,7 +1263,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1280,8 +1272,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_js_wasm.go b/stdlib/syscall/go1_15_syscall_js_wasm.go index 833a66b2..5ac67941 100644 --- a/stdlib/syscall/go1_15_syscall_js_wasm.go +++ b/stdlib/syscall/go1_15_syscall_js_wasm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -154,7 +154,6 @@ func init() { "EXDEV": reflect.ValueOf(syscall.EXDEV), "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), - "Exit": reflect.ValueOf(syscall.Exit), "F_CNVT": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "F_DUPFD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "F_DUPFD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), @@ -201,7 +200,6 @@ func init() { "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -225,8 +223,6 @@ func init() { "Pipe": reflect.ValueOf(syscall.Pipe), "Pread": reflect.ValueOf(syscall.Pread), "Pwrite": reflect.ValueOf(syscall.Pwrite), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -291,9 +287,7 @@ func init() { "SetWriteDeadline": reflect.ValueOf(syscall.SetWriteDeadline), "Setenv": reflect.ValueOf(syscall.Setenv), "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "Socket": reflect.ValueOf(syscall.Socket), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "Stdin": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -302,8 +296,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysctl": reflect.ValueOf(syscall.Sysctl), "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), "TimevalToNsec": reflect.ValueOf(syscall.TimevalToNsec), diff --git a/stdlib/syscall/go1_15_syscall_linux_386.go b/stdlib/syscall/go1_15_syscall_linux_386.go index ccfc5361..fe8d9ebe 100644 --- a/stdlib/syscall/go1_15_syscall_linux_386.go +++ b/stdlib/syscall/go1_15_syscall_linux_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1166,19 +1162,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1373,12 +1356,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1948,7 +1928,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1984,7 +1963,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1996,8 +1974,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2185,7 +2161,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_amd64.go b/stdlib/syscall/go1_15_syscall_linux_amd64.go index 8b896b7e..3bdd6fcd 100644 --- a/stdlib/syscall/go1_15_syscall_linux_amd64.go +++ b/stdlib/syscall/go1_15_syscall_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -476,8 +476,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -524,7 +522,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -813,7 +810,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1167,19 +1163,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1374,12 +1357,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1914,7 +1894,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1950,7 +1929,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1962,8 +1940,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2151,7 +2127,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_arm.go b/stdlib/syscall/go1_15_syscall_linux_arm.go index af893585..118a12dc 100644 --- a/stdlib/syscall/go1_15_syscall_linux_arm.go +++ b/stdlib/syscall/go1_15_syscall_linux_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -479,8 +479,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -527,7 +525,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -814,7 +811,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1176,19 +1172,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1383,12 +1366,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -1967,7 +1947,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2003,7 +1982,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2014,8 +1992,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -2204,7 +2180,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_arm64.go b/stdlib/syscall/go1_15_syscall_linux_arm64.go index f583b3ba..288beede 100644 --- a/stdlib/syscall/go1_15_syscall_linux_arm64.go +++ b/stdlib/syscall/go1_15_syscall_linux_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -514,8 +514,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -562,7 +560,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -885,7 +882,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1299,19 +1295,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1513,12 +1496,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2028,7 +2008,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2064,7 +2043,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2076,8 +2054,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2295,7 +2271,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_mips.go b/stdlib/syscall/go1_15_syscall_linux_mips.go index b5cf7ed6..112f8f3e 100644 --- a/stdlib/syscall/go1_15_syscall_linux_mips.go +++ b/stdlib/syscall/go1_15_syscall_linux_mips.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -520,8 +520,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -568,7 +566,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -872,7 +869,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1305,19 +1301,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1519,12 +1502,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2117,7 +2097,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2153,7 +2132,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2165,9 +2143,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2390,7 +2365,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_mips64.go b/stdlib/syscall/go1_15_syscall_linux_mips64.go index 09f4237e..7a960a0d 100644 --- a/stdlib/syscall/go1_15_syscall_linux_mips64.go +++ b/stdlib/syscall/go1_15_syscall_linux_mips64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -516,8 +516,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -564,7 +562,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1309,19 +1305,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1523,12 +1506,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2085,7 +2065,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2121,7 +2100,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2133,8 +2111,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2338,7 +2314,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_mips64le.go b/stdlib/syscall/go1_15_syscall_linux_mips64le.go index 09f4237e..7a960a0d 100644 --- a/stdlib/syscall/go1_15_syscall_linux_mips64le.go +++ b/stdlib/syscall/go1_15_syscall_linux_mips64le.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -516,8 +516,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -564,7 +562,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1309,19 +1305,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1523,12 +1506,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2085,7 +2065,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2121,7 +2100,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2133,8 +2111,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2338,7 +2314,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_mipsle.go b/stdlib/syscall/go1_15_syscall_linux_mipsle.go index b5cf7ed6..112f8f3e 100644 --- a/stdlib/syscall/go1_15_syscall_linux_mipsle.go +++ b/stdlib/syscall/go1_15_syscall_linux_mipsle.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -520,8 +520,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), @@ -568,7 +566,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -872,7 +869,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1305,19 +1301,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1519,12 +1502,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2117,7 +2097,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2153,7 +2132,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2165,9 +2143,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), @@ -2390,7 +2365,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_ppc64.go b/stdlib/syscall/go1_15_syscall_linux_ppc64.go index 70a6b667..711b54cf 100644 --- a/stdlib/syscall/go1_15_syscall_linux_ppc64.go +++ b/stdlib/syscall/go1_15_syscall_linux_ppc64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -515,8 +515,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -563,7 +561,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -885,7 +882,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1363,19 +1359,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1577,12 +1560,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2168,7 +2148,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2204,7 +2183,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2216,8 +2194,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("536900639", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("1076655123", token.INT, 0)), @@ -2429,7 +2405,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_ppc64le.go b/stdlib/syscall/go1_15_syscall_linux_ppc64le.go index ff731268..a05febcd 100644 --- a/stdlib/syscall/go1_15_syscall_linux_ppc64le.go +++ b/stdlib/syscall/go1_15_syscall_linux_ppc64le.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -515,8 +515,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -563,7 +561,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -887,7 +884,6 @@ func init() { "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), "Ioperm": reflect.ValueOf(syscall.Ioperm), "Iopl": reflect.ValueOf(syscall.Iopl), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1368,19 +1364,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1582,12 +1565,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2173,7 +2153,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2209,7 +2188,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2221,8 +2199,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("536900639", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("1076655123", token.INT, 0)), @@ -2453,7 +2429,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_riscv64.go b/stdlib/syscall/go1_15_syscall_linux_riscv64.go index 55aee437..5daa378c 100644 --- a/stdlib/syscall/go1_15_syscall_linux_riscv64.go +++ b/stdlib/syscall/go1_15_syscall_linux_riscv64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -524,8 +524,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -575,7 +573,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatat": reflect.ValueOf(syscall.Fstatat), @@ -892,7 +889,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1324,19 +1320,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1544,12 +1527,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2076,7 +2056,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2112,7 +2091,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2124,8 +2102,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2349,7 +2325,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_linux_s390x.go b/stdlib/syscall/go1_15_syscall_linux_s390x.go index f88f3adb..330a92c6 100644 --- a/stdlib/syscall/go1_15_syscall_linux_s390x.go +++ b/stdlib/syscall/go1_15_syscall_linux_s390x.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -523,8 +523,6 @@ func init() { "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), "EpollCtl": reflect.ValueOf(syscall.EpollCtl), "EpollWait": reflect.ValueOf(syscall.EpollWait), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), @@ -574,7 +572,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Fdatasync": reflect.ValueOf(syscall.Fdatasync), "Flock": reflect.ValueOf(syscall.Flock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fstatfs": reflect.ValueOf(syscall.Fstatfs), @@ -883,7 +880,6 @@ func init() { "InotifyInit": reflect.ValueOf(syscall.InotifyInit), "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), - "Kill": reflect.ValueOf(syscall.Kill), "Klogctl": reflect.ValueOf(syscall.Klogctl), "LINUX_REBOOT_CMD_CAD_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "LINUX_REBOOT_CMD_CAD_ON": reflect.ValueOf(constant.MakeFromLiteral("2309737967", token.INT, 0)), @@ -1399,19 +1395,6 @@ func init() { "Pipe2": reflect.ValueOf(syscall.Pipe2), "PivotRoot": reflect.ValueOf(syscall.PivotRoot), "Pread": reflect.ValueOf(syscall.Pread), - "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), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "RLIMIT_CORE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1623,12 +1606,9 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), - "Reboot": reflect.ValueOf(syscall.Reboot), "Recvfrom": reflect.ValueOf(syscall.Recvfrom), "Recvmsg": reflect.ValueOf(syscall.Recvmsg), "Removexattr": reflect.ValueOf(syscall.Removexattr), @@ -2193,7 +2173,6 @@ func init() { "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), "Setxattr": reflect.ValueOf(syscall.Setxattr), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofCmsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "SizeofICMPv6Filter": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofIPMreq": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -2229,7 +2208,6 @@ func init() { "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), "Splice": reflect.ValueOf(syscall.Splice), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -2241,8 +2219,6 @@ func init() { "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "Sysinfo": reflect.ValueOf(syscall.Sysinfo), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), @@ -2465,10 +2441,6 @@ func init() { "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "PtraceFpregs": reflect.ValueOf((*syscall.PtraceFpregs)(nil)), - "PtracePer": reflect.ValueOf((*syscall.PtracePer)(nil)), - "PtracePsw": reflect.ValueOf((*syscall.PtracePsw)(nil)), - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), diff --git a/stdlib/syscall/go1_15_syscall_netbsd_386.go b/stdlib/syscall/go1_15_syscall_netbsd_386.go index 8175e93f..4a023248 100644 --- a/stdlib/syscall/go1_15_syscall_netbsd_386.go +++ b/stdlib/syscall/go1_15_syscall_netbsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -680,8 +680,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -720,7 +718,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1147,7 +1144,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1379,8 +1375,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1864,7 +1858,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1893,7 +1886,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1903,9 +1895,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_netbsd_amd64.go b/stdlib/syscall/go1_15_syscall_netbsd_amd64.go index c9ee037b..0df2c278 100644 --- a/stdlib/syscall/go1_15_syscall_netbsd_amd64.go +++ b/stdlib/syscall/go1_15_syscall_netbsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -670,8 +670,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -710,7 +708,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1137,7 +1134,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1369,8 +1365,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1854,7 +1848,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1883,7 +1876,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1893,9 +1885,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_netbsd_arm.go b/stdlib/syscall/go1_15_syscall_netbsd_arm.go index 81408b07..b7ee3aea 100644 --- a/stdlib/syscall/go1_15_syscall_netbsd_arm.go +++ b/stdlib/syscall/go1_15_syscall_netbsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -662,8 +662,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -702,7 +700,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1129,7 +1126,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1356,8 +1352,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1840,7 +1834,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1869,7 +1862,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1879,9 +1871,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_netbsd_arm64.go b/stdlib/syscall/go1_15_syscall_netbsd_arm64.go index c9ee037b..0df2c278 100644 --- a/stdlib/syscall/go1_15_syscall_netbsd_arm64.go +++ b/stdlib/syscall/go1_15_syscall_netbsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -670,8 +670,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -710,7 +708,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1137,7 +1134,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), @@ -1369,8 +1365,6 @@ func init() { "RTV_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1854,7 +1848,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1883,7 +1876,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1893,9 +1885,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_openbsd_386.go b/stdlib/syscall/go1_15_syscall_openbsd_386.go index f3606029..fc08055f 100644 --- a/stdlib/syscall/go1_15_syscall_openbsd_386.go +++ b/stdlib/syscall/go1_15_syscall_openbsd_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -576,7 +574,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1034,7 +1031,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1257,8 +1253,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1713,7 +1707,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1742,7 +1735,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1753,9 +1745,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_openbsd_amd64.go b/stdlib/syscall/go1_15_syscall_openbsd_amd64.go index e5a3d963..8bd8d90c 100644 --- a/stdlib/syscall/go1_15_syscall_openbsd_amd64.go +++ b/stdlib/syscall/go1_15_syscall_openbsd_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -576,7 +574,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1034,7 +1031,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1256,8 +1252,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1712,7 +1706,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1741,7 +1734,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1752,9 +1744,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_openbsd_arm.go b/stdlib/syscall/go1_15_syscall_openbsd_arm.go index 26facd80..505c716d 100644 --- a/stdlib/syscall/go1_15_syscall_openbsd_arm.go +++ b/stdlib/syscall/go1_15_syscall_openbsd_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -549,8 +549,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -575,7 +573,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1033,7 +1030,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1257,8 +1253,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1718,7 +1712,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), @@ -1747,7 +1740,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1758,9 +1750,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_openbsd_arm64.go b/stdlib/syscall/go1_15_syscall_openbsd_arm64.go index 0d3ab261..ef02f443 100644 --- a/stdlib/syscall/go1_15_syscall_openbsd_arm64.go +++ b/stdlib/syscall/go1_15_syscall_openbsd_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -586,8 +586,6 @@ func init() { "EXTB": reflect.ValueOf(constant.MakeFromLiteral("38400", token.INT, 0)), "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "FLUSHO": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), @@ -613,7 +611,6 @@ func init() { "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), "Flock": reflect.ValueOf(syscall.Flock), "FlushBpf": reflect.ValueOf(syscall.FlushBpf), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -1071,7 +1068,6 @@ func init() { "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), "Issetugid": reflect.ValueOf(syscall.Issetugid), "Kevent": reflect.ValueOf(syscall.Kevent), - "Kill": reflect.ValueOf(syscall.Kill), "Kqueue": reflect.ValueOf(syscall.Kqueue), "LCNT_OVERLOAD_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -1316,8 +1312,6 @@ func init() { "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "RUSAGE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1810,7 +1804,6 @@ func init() { "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Settimeofday": reflect.ValueOf(syscall.Settimeofday), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1839,7 +1832,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Statfs": reflect.ValueOf(syscall.Statfs), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), @@ -1850,9 +1842,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "Sysctl": reflect.ValueOf(syscall.Sysctl), "SysctlUint32": reflect.ValueOf(syscall.SysctlUint32), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_plan9_386.go b/stdlib/syscall/go1_15_syscall_plan9_386.go index 3a1f0ddd..f78a690b 100644 --- a/stdlib/syscall/go1_15_syscall_plan9_386.go +++ b/stdlib/syscall/go1_15_syscall_plan9_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_15_syscall_plan9_amd64.go b/stdlib/syscall/go1_15_syscall_plan9_amd64.go index 3a1f0ddd..f78a690b 100644 --- a/stdlib/syscall/go1_15_syscall_plan9_amd64.go +++ b/stdlib/syscall/go1_15_syscall_plan9_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_15_syscall_plan9_arm.go b/stdlib/syscall/go1_15_syscall_plan9_arm.go index 3a1f0ddd..f78a690b 100644 --- a/stdlib/syscall/go1_15_syscall_plan9_arm.go +++ b/stdlib/syscall/go1_15_syscall_plan9_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -53,12 +53,9 @@ func init() { "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "Fchdir": reflect.ValueOf(syscall.Fchdir), "Fd2path": reflect.ValueOf(syscall.Fd2path), "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fstat": reflect.ValueOf(syscall.Fstat), "Fwstat": reflect.ValueOf(syscall.Fwstat), @@ -120,8 +117,6 @@ func init() { "RFNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "RFPROC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "RFREND": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), "Read": reflect.ValueOf(syscall.Read), "Remove": reflect.ValueOf(syscall.Remove), "SIGABRT": reflect.ValueOf(syscall.SIGABRT), @@ -186,7 +181,6 @@ func init() { "Setenv": reflect.ValueOf(syscall.Setenv), "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -194,8 +188,6 @@ func init() { "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), "Unmount": reflect.ValueOf(syscall.Unmount), "Unsetenv": reflect.ValueOf(syscall.Unsetenv), diff --git a/stdlib/syscall/go1_15_syscall_solaris_amd64.go b/stdlib/syscall/go1_15_syscall_solaris_amd64.go index 51f7e02e..54daca51 100644 --- a/stdlib/syscall/go1_15_syscall_solaris_amd64.go +++ b/stdlib/syscall/go1_15_syscall_solaris_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -407,8 +407,6 @@ func init() { "EXTA": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), "EXTB": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), "Environ": reflect.ValueOf(syscall.Environ), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), "FD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FD_NFDBITS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), "FD_SETSIZE": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), @@ -471,7 +469,6 @@ func init() { "Fchmod": reflect.ValueOf(syscall.Fchmod), "Fchown": reflect.ValueOf(syscall.Fchown), "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), - "ForkExec": reflect.ValueOf(syscall.ForkExec), "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), "Fpathconf": reflect.ValueOf(syscall.Fpathconf), "Fstat": reflect.ValueOf(syscall.Fstat), @@ -759,7 +756,6 @@ func init() { "IXOFF": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "IXON": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "Kill": reflect.ValueOf(syscall.Kill), "Lchown": reflect.ValueOf(syscall.Lchown), "Link": reflect.ValueOf(syscall.Link), "Listen": reflect.ValueOf(syscall.Listen), @@ -939,7 +935,6 @@ func init() { "RT_AWARE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "RUSAGE_CHILDREN": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), "RUSAGE_SELF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), "Read": reflect.ValueOf(syscall.Read), "ReadDirent": reflect.ValueOf(syscall.ReadDirent), "Readlink": reflect.ValueOf(syscall.Readlink), @@ -1241,7 +1236,6 @@ func init() { "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), "Setuid": reflect.ValueOf(syscall.Setuid), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SizeofBpfHdr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), "SizeofBpfInsn": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "SizeofBpfProgram": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), @@ -1269,7 +1263,6 @@ func init() { "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), "Socketpair": reflect.ValueOf(syscall.Socketpair), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stat": reflect.ValueOf(syscall.Stat), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), @@ -1279,7 +1272,6 @@ func init() { "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), "Symlink": reflect.ValueOf(syscall.Symlink), "Sync": reflect.ValueOf(syscall.Sync), - "Syscall": reflect.ValueOf(syscall.Syscall), "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21511", token.INT, 0)), "TCIFLUSH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), "TCIOFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_windows_386.go b/stdlib/syscall/go1_15_syscall_windows_386.go index 959dfada..00bf31ce 100644 --- a/stdlib/syscall/go1_15_syscall_windows_386.go +++ b/stdlib/syscall/go1_15_syscall_windows_386.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_windows_amd64.go b/stdlib/syscall/go1_15_syscall_windows_amd64.go index 959dfada..00bf31ce 100644 --- a/stdlib/syscall/go1_15_syscall_windows_amd64.go +++ b/stdlib/syscall/go1_15_syscall_windows_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/go1_15_syscall_windows_arm.go b/stdlib/syscall/go1_15_syscall_windows_arm.go index 959dfada..00bf31ce 100644 --- a/stdlib/syscall/go1_15_syscall_windows_arm.go +++ b/stdlib/syscall/go1_15_syscall_windows_arm.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract syscall'. DO NOT EDIT. +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. // +build go1.15,!go1.16 @@ -352,9 +352,6 @@ func init() { "EXFULL": reflect.ValueOf(syscall.EXFULL), "Environ": reflect.ValueOf(syscall.Environ), "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ExitProcess": reflect.ValueOf(syscall.ExitProcess), "FILE_ACTION_ADDED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "FILE_ACTION_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "FILE_ACTION_REMOVED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), @@ -435,7 +432,6 @@ func init() { "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -769,7 +765,6 @@ func init() { "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "Shutdown": reflect.ValueOf(syscall.Shutdown), "SidTypeAlias": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SidTypeComputer": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), "SidTypeDeletedAccount": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), @@ -782,7 +777,6 @@ func init() { "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "Socket": reflect.ValueOf(syscall.Socket), "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "StartProcess": reflect.ValueOf(syscall.StartProcess), "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), @@ -792,12 +786,6 @@ func init() { "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), "Symlink": reflect.ValueOf(syscall.Symlink), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall12": reflect.ValueOf(syscall.Syscall12), - "Syscall15": reflect.ValueOf(syscall.Syscall15), - "Syscall18": reflect.ValueOf(syscall.Syscall18), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - "Syscall9": reflect.ValueOf(syscall.Syscall9), "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_DISCONNECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "TF_REUSE_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), diff --git a/stdlib/syscall/syscall.go b/stdlib/syscall/syscall.go index 631a06a3..b7b0f796 100644 --- a/stdlib/syscall/syscall.go +++ b/stdlib/syscall/syscall.go @@ -14,4 +14,4 @@ func init() { } } -//go:generate ../../cmd/goexports/goexports syscall +//go:generate ../../internal/cmd/extract/extract -exclude=^Exec,Exit,ForkExec,Kill,Ptrace,Reboot,Shutdown,StartProcess,Syscall syscall diff --git a/stdlib/unrestricted/go1_14_syscall_aix_ppc64.go b/stdlib/unrestricted/go1_14_syscall_aix_ppc64.go new file mode 100644 index 00000000..1de94dce --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_aix_ppc64.go @@ -0,0 +1,35 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "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), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_android_386.go b/stdlib/unrestricted/go1_14_syscall_android_386.go new file mode 100644 index 00000000..8f9f2b0b --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_android_386.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_android_amd64.go b/stdlib/unrestricted/go1_14_syscall_android_amd64.go new file mode 100644 index 00000000..8f9f2b0b --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_android_amd64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_android_arm.go b/stdlib/unrestricted/go1_14_syscall_android_arm.go new file mode 100644 index 00000000..8f9f2b0b --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_android_arm.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_android_arm64.go b/stdlib/unrestricted/go1_14_syscall_android_arm64.go new file mode 100644 index 00000000..8f9f2b0b --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_android_arm64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_darwin_386.go b/stdlib/unrestricted/go1_14_syscall_darwin_386.go new file mode 100644 index 00000000..0346ed8c --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_darwin_386.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_darwin_amd64.go b/stdlib/unrestricted/go1_14_syscall_darwin_amd64.go new file mode 100644 index 00000000..0346ed8c --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_darwin_amd64.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_darwin_arm.go b/stdlib/unrestricted/go1_14_syscall_darwin_arm.go new file mode 100644 index 00000000..0346ed8c --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_darwin_arm.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_darwin_arm64.go b/stdlib/unrestricted/go1_14_syscall_darwin_arm64.go new file mode 100644 index 00000000..0346ed8c --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_darwin_arm64.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_dragonfly_amd64.go b/stdlib/unrestricted/go1_14_syscall_dragonfly_amd64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_dragonfly_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_freebsd_386.go b/stdlib/unrestricted/go1_14_syscall_freebsd_386.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_freebsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_freebsd_amd64.go b/stdlib/unrestricted/go1_14_syscall_freebsd_amd64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_freebsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_freebsd_arm.go b/stdlib/unrestricted/go1_14_syscall_freebsd_arm.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_freebsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_14_syscall_freebsd_arm64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_freebsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_illumos_amd64.go b/stdlib/unrestricted/go1_14_syscall_illumos_amd64.go new file mode 100644 index 00000000..79c4bcde --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_illumos_amd64.go @@ -0,0 +1,26 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15,!solaris + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_js_wasm.go b/stdlib/unrestricted/go1_14_syscall_js_wasm.go new file mode 100644 index 00000000..f8f6e315 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_js_wasm.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exit": reflect.ValueOf(syscall.Exit), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_386.go b/stdlib/unrestricted/go1_14_syscall_linux_386.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_386.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_amd64.go b/stdlib/unrestricted/go1_14_syscall_linux_amd64.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_amd64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_arm.go b/stdlib/unrestricted/go1_14_syscall_linux_arm.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_arm.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_arm64.go b/stdlib/unrestricted/go1_14_syscall_linux_arm64.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_arm64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_mips.go b/stdlib/unrestricted/go1_14_syscall_linux_mips.go new file mode 100644 index 00000000..23634c49 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_mips.go @@ -0,0 +1,44 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_mips64.go b/stdlib/unrestricted/go1_14_syscall_linux_mips64.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_mips64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_14_syscall_linux_mips64le.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_mips64le.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_mipsle.go b/stdlib/unrestricted/go1_14_syscall_linux_mipsle.go new file mode 100644 index 00000000..23634c49 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_mipsle.go @@ -0,0 +1,44 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_14_syscall_linux_ppc64.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_ppc64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_14_syscall_linux_ppc64le.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_ppc64le.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_14_syscall_linux_riscv64.go new file mode 100644 index 00000000..cccf7c7e --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_riscv64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_linux_s390x.go b/stdlib/unrestricted/go1_14_syscall_linux_s390x.go new file mode 100644 index 00000000..d157064c --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_linux_s390x.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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 + "PtraceFpregs": reflect.ValueOf((*syscall.PtraceFpregs)(nil)), + "PtracePer": reflect.ValueOf((*syscall.PtracePer)(nil)), + "PtracePsw": reflect.ValueOf((*syscall.PtracePsw)(nil)), + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_netbsd_386.go b/stdlib/unrestricted/go1_14_syscall_netbsd_386.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_netbsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_14_syscall_netbsd_amd64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_netbsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_14_syscall_netbsd_arm.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_netbsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_14_syscall_netbsd_arm64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_netbsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_openbsd_386.go b/stdlib/unrestricted/go1_14_syscall_openbsd_386.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_openbsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_14_syscall_openbsd_amd64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_openbsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_14_syscall_openbsd_arm.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_openbsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_14_syscall_openbsd_arm64.go new file mode 100644 index 00000000..9d55d11d --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_openbsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_plan9_386.go b/stdlib/unrestricted/go1_14_syscall_plan9_386.go new file mode 100644 index 00000000..70a0d093 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_plan9_386.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_plan9_amd64.go b/stdlib/unrestricted/go1_14_syscall_plan9_amd64.go new file mode 100644 index 00000000..70a0d093 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_plan9_amd64.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_plan9_arm.go b/stdlib/unrestricted/go1_14_syscall_plan9_arm.go new file mode 100644 index 00000000..70a0d093 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_plan9_arm.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_solaris_amd64.go b/stdlib/unrestricted/go1_14_syscall_solaris_amd64.go new file mode 100644 index 00000000..330b5129 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_solaris_amd64.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_windows_386.go b/stdlib/unrestricted/go1_14_syscall_windows_386.go new file mode 100644 index 00000000..b17c6d81 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_windows_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_windows_amd64.go b/stdlib/unrestricted/go1_14_syscall_windows_amd64.go new file mode 100644 index 00000000..b17c6d81 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_windows_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_14_syscall_windows_arm.go b/stdlib/unrestricted/go1_14_syscall_windows_arm.go new file mode 100644 index 00000000..b17c6d81 --- /dev/null +++ b/stdlib/unrestricted/go1_14_syscall_windows_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.14,!go1.15 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_aix_ppc64.go b/stdlib/unrestricted/go1_15_syscall_aix_ppc64.go new file mode 100644 index 00000000..7036c779 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_aix_ppc64.go @@ -0,0 +1,35 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "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), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_android_386.go b/stdlib/unrestricted/go1_15_syscall_android_386.go new file mode 100644 index 00000000..89004b00 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_android_386.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_android_amd64.go b/stdlib/unrestricted/go1_15_syscall_android_amd64.go new file mode 100644 index 00000000..89004b00 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_android_amd64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_android_arm.go b/stdlib/unrestricted/go1_15_syscall_android_arm.go new file mode 100644 index 00000000..89004b00 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_android_arm.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_android_arm64.go b/stdlib/unrestricted/go1_15_syscall_android_arm64.go new file mode 100644 index 00000000..89004b00 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_android_arm64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_darwin_amd64.go b/stdlib/unrestricted/go1_15_syscall_darwin_amd64.go new file mode 100644 index 00000000..45dee3c8 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_darwin_amd64.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_darwin_arm64.go b/stdlib/unrestricted/go1_15_syscall_darwin_arm64.go new file mode 100644 index 00000000..45dee3c8 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_darwin_arm64.go @@ -0,0 +1,29 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_dragonfly_amd64.go b/stdlib/unrestricted/go1_15_syscall_dragonfly_amd64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_dragonfly_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_freebsd_386.go b/stdlib/unrestricted/go1_15_syscall_freebsd_386.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_freebsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_freebsd_amd64.go b/stdlib/unrestricted/go1_15_syscall_freebsd_amd64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_freebsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_freebsd_arm.go b/stdlib/unrestricted/go1_15_syscall_freebsd_arm.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_freebsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_15_syscall_freebsd_arm64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_freebsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_illumos_amd64.go b/stdlib/unrestricted/go1_15_syscall_illumos_amd64.go new file mode 100644 index 00000000..27e2ec74 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_illumos_amd64.go @@ -0,0 +1,26 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16,!solaris + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_js_wasm.go b/stdlib/unrestricted/go1_15_syscall_js_wasm.go new file mode 100644 index 00000000..704d5ff4 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_js_wasm.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exit": reflect.ValueOf(syscall.Exit), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_386.go b/stdlib/unrestricted/go1_15_syscall_linux_386.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_386.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_amd64.go b/stdlib/unrestricted/go1_15_syscall_linux_amd64.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_amd64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_arm.go b/stdlib/unrestricted/go1_15_syscall_linux_arm.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_arm.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_arm64.go b/stdlib/unrestricted/go1_15_syscall_linux_arm64.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_arm64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_mips.go b/stdlib/unrestricted/go1_15_syscall_linux_mips.go new file mode 100644 index 00000000..64347731 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_mips.go @@ -0,0 +1,44 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_mips64.go b/stdlib/unrestricted/go1_15_syscall_linux_mips64.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_mips64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_15_syscall_linux_mips64le.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_mips64le.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_mipsle.go b/stdlib/unrestricted/go1_15_syscall_linux_mipsle.go new file mode 100644 index 00000000..64347731 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_mipsle.go @@ -0,0 +1,44 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_15_syscall_linux_ppc64.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_ppc64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_15_syscall_linux_ppc64le.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_ppc64le.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_15_syscall_linux_riscv64.go new file mode 100644 index 00000000..2017b022 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_riscv64.go @@ -0,0 +1,43 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_linux_s390x.go b/stdlib/unrestricted/go1_15_syscall_linux_s390x.go new file mode 100644 index 00000000..e9945102 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_linux_s390x.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "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 + "PtraceFpregs": reflect.ValueOf((*syscall.PtraceFpregs)(nil)), + "PtracePer": reflect.ValueOf((*syscall.PtracePer)(nil)), + "PtracePsw": reflect.ValueOf((*syscall.PtracePsw)(nil)), + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_netbsd_386.go b/stdlib/unrestricted/go1_15_syscall_netbsd_386.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_netbsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_15_syscall_netbsd_amd64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_netbsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_15_syscall_netbsd_arm.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_netbsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_15_syscall_netbsd_arm64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_netbsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_openbsd_386.go b/stdlib/unrestricted/go1_15_syscall_openbsd_386.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_openbsd_386.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_15_syscall_openbsd_amd64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_openbsd_amd64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_15_syscall_openbsd_arm.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_openbsd_arm.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_15_syscall_openbsd_arm64.go new file mode 100644 index 00000000..aaffca7a --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_openbsd_arm64.go @@ -0,0 +1,27 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_plan9_386.go b/stdlib/unrestricted/go1_15_syscall_plan9_386.go new file mode 100644 index 00000000..566fefc2 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_plan9_386.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_plan9_amd64.go b/stdlib/unrestricted/go1_15_syscall_plan9_amd64.go new file mode 100644 index 00000000..566fefc2 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_plan9_amd64.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_plan9_arm.go b/stdlib/unrestricted/go1_15_syscall_plan9_arm.go new file mode 100644 index 00000000..566fefc2 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_plan9_arm.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_solaris_amd64.go b/stdlib/unrestricted/go1_15_syscall_solaris_amd64.go new file mode 100644 index 00000000..beab21f3 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_solaris_amd64.go @@ -0,0 +1,24 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_windows_386.go b/stdlib/unrestricted/go1_15_syscall_windows_386.go new file mode 100644 index 00000000..fd255d23 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_windows_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_windows_amd64.go b/stdlib/unrestricted/go1_15_syscall_windows_amd64.go new file mode 100644 index 00000000..fd255d23 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_windows_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/go1_15_syscall_windows_arm.go b/stdlib/unrestricted/go1_15_syscall_windows_arm.go new file mode 100644 index 00000000..fd255d23 --- /dev/null +++ b/stdlib/unrestricted/go1_15_syscall_windows_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +// +build go1.15,!go1.16 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ExitProcess": reflect.ValueOf(syscall.ExitProcess), + "GetExitCodeProcess": reflect.ValueOf(syscall.GetExitCodeProcess), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall12": reflect.ValueOf(syscall.Syscall12), + "Syscall15": reflect.ValueOf(syscall.Syscall15), + "Syscall18": reflect.ValueOf(syscall.Syscall18), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + "Syscall9": reflect.ValueOf(syscall.Syscall9), + } +} diff --git a/stdlib/unrestricted/unrestricted.go b/stdlib/unrestricted/unrestricted.go index 8f291078..0ac5ba50 100644 --- a/stdlib/unrestricted/unrestricted.go +++ b/stdlib/unrestricted/unrestricted.go @@ -39,3 +39,5 @@ func init() { "Symbols": reflect.ValueOf(Symbols), } } + +//go:generate ../../internal/cmd/extract/extract -include=^Exec,Exit,ForkExec,Kill,Ptrace,Reboot,Shutdown,StartProcess,Syscall syscall diff --git a/stdlib/unsafe/go1_14_unsafe.go b/stdlib/unsafe/go1_14_unsafe.go index caf14e5d..856a516b 100644 --- a/stdlib/unsafe/go1_14_unsafe.go +++ b/stdlib/unsafe/go1_14_unsafe.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unsafe'. DO NOT EDIT. +// Code generated by 'yaegi extract unsafe'. DO NOT EDIT. // +build go1.14,!go1.15 diff --git a/stdlib/unsafe/go1_15_unsafe.go b/stdlib/unsafe/go1_15_unsafe.go index 25ad0d5c..693a84a9 100644 --- a/stdlib/unsafe/go1_15_unsafe.go +++ b/stdlib/unsafe/go1_15_unsafe.go @@ -1,4 +1,4 @@ -// Code generated by 'github.com/traefik/yaegi/extract unsafe'. DO NOT EDIT. +// Code generated by 'yaegi extract unsafe'. DO NOT EDIT. // +build go1.15,!go1.16 diff --git a/stdlib/unsafe/unsafe.go b/stdlib/unsafe/unsafe.go index f144d128..83390542 100644 --- a/stdlib/unsafe/unsafe.go +++ b/stdlib/unsafe/unsafe.go @@ -61,4 +61,4 @@ func uintptrToUnsafePtr(src, dest reflect.Value) { dest.SetPointer(unsafe.Pointer(src.Interface().(uintptr))) //nolint:govet } -//go:generate ../../cmd/goexports/goexports unsafe +//go:generate ../../internal/cmd/extract/extract unsafe