From dc082b5deddba7a7820c4b4143d8a5415aae628e Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Wed, 20 Jul 2022 17:10:08 +0200 Subject: [PATCH] stdlib: support of go1.18 and go1.19, remove go1.16 and go1.17 In addition: - extract commmand now skips exported generics in runtime wrappers - interp_consistent_test.go fixed for go1.18 and go1.19 - move minimal version of go compiler to go1.18 Note that this version is incompatible with go1.17 and before due to the major changes in the stdlib go parser. To be merged once go1.19 is officially released (not before). --- .github/workflows/go-cross.yml | 3 +- .github/workflows/main.yml | 10 +- .golangci.toml | 11 +- README.md | 2 +- example/fs/fs_test.go | 4 +- extract/extract.go | 7 +- go.mod | 2 +- interp/interp.go | 1 + interp/interp_consistent_test.go | 34 +- interp/interp_eval_test.go | 10 +- interp/interp_file_test.go | 5 +- stdlib/go1_16_go_parser.go | 30 - ...7_archive_tar.go => go1_18_archive_tar.go} | 4 +- ...7_archive_zip.go => go1_18_archive_zip.go} | 4 +- stdlib/{go1_16_bufio.go => go1_18_bufio.go} | 3 +- stdlib/{go1_16_bytes.go => go1_18_bytes.go} | 4 +- ...ress_bzip2.go => go1_18_compress_bzip2.go} | 4 +- ...ress_flate.go => go1_18_compress_flate.go} | 3 +- ...mpress_gzip.go => go1_18_compress_gzip.go} | 4 +- ...compress_lzw.go => go1_18_compress_lzw.go} | 7 +- ...mpress_zlib.go => go1_18_compress_zlib.go} | 4 +- ...ainer_heap.go => go1_18_container_heap.go} | 11 +- ...ainer_list.go => go1_18_container_list.go} | 3 +- ...ainer_ring.go => go1_18_container_ring.go} | 3 +- .../{go1_16_context.go => go1_18_context.go} | 7 +- stdlib/{go1_17_crypto.go => go1_18_crypto.go} | 4 +- ..._16_crypto_aes.go => go1_18_crypto_aes.go} | 3 +- ...ypto_cipher.go => go1_18_crypto_cipher.go} | 3 +- ..._17_crypto_des.go => go1_18_crypto_des.go} | 4 +- ..._17_crypto_dsa.go => go1_18_crypto_dsa.go} | 4 +- ...crypto_ecdsa.go => go1_18_crypto_ecdsa.go} | 4 +- ...to_ed25519.go => go1_18_crypto_ed25519.go} | 3 +- ..._elliptic.go => go1_18_crypto_elliptic.go} | 3 +- ...7_crypto_hmac.go => go1_18_crypto_hmac.go} | 4 +- ..._16_crypto_md5.go => go1_18_crypto_md5.go} | 3 +- ...7_crypto_rand.go => go1_18_crypto_rand.go} | 4 +- ..._16_crypto_rc4.go => go1_18_crypto_rc4.go} | 3 +- ..._16_crypto_rsa.go => go1_18_crypto_rsa.go} | 3 +- ...6_crypto_sha1.go => go1_18_crypto_sha1.go} | 3 +- ...ypto_sha256.go => go1_18_crypto_sha256.go} | 3 +- ...ypto_sha512.go => go1_18_crypto_sha512.go} | 4 +- ...ypto_subtle.go => go1_18_crypto_subtle.go} | 4 +- ..._17_crypto_tls.go => go1_18_crypto_tls.go} | 4 +- ...6_crypto_x509.go => go1_18_crypto_x509.go} | 3 +- ...509_pkix.go => go1_18_crypto_x509_pkix.go} | 4 +- ...database_sql.go => go1_18_database_sql.go} | 9 +- ...river.go => go1_18_database_sql_driver.go} | 8 +- stdlib/go1_18_debug_buildinfo.go | 22 + ...6_debug_dwarf.go => go1_18_debug_dwarf.go} | 3 +- ...o1_17_debug_elf.go => go1_18_debug_elf.go} | 5 +- ...7_debug_gosym.go => go1_18_debug_gosym.go} | 4 +- ...6_debug_macho.go => go1_18_debug_macho.go} | 3 +- ...{go1_17_debug_pe.go => go1_18_debug_pe.go} | 4 +- ...g_plan9obj.go => go1_18_debug_plan9obj.go} | 17 +- stdlib/{go1_17_embed.go => go1_18_embed.go} | 4 +- ...{go1_16_encoding.go => go1_18_encoding.go} | 3 +- ..._ascii85.go => go1_18_encoding_ascii85.go} | 4 +- ...coding_asn1.go => go1_18_encoding_asn1.go} | 3 +- ...ng_base32.go => go1_18_encoding_base32.go} | 3 +- ...ng_base64.go => go1_18_encoding_base64.go} | 3 +- ...ng_binary.go => go1_18_encoding_binary.go} | 3 +- ...encoding_csv.go => go1_18_encoding_csv.go} | 3 +- ...encoding_gob.go => go1_18_encoding_gob.go} | 4 +- ...encoding_hex.go => go1_18_encoding_hex.go} | 4 +- ...coding_json.go => go1_18_encoding_json.go} | 3 +- ...encoding_pem.go => go1_18_encoding_pem.go} | 4 +- ...encoding_xml.go => go1_18_encoding_xml.go} | 3 +- stdlib/{go1_16_errors.go => go1_18_errors.go} | 3 +- stdlib/{go1_17_expvar.go => go1_18_expvar.go} | 4 +- stdlib/{go1_17_flag.go => go1_18_flag.go} | 8 +- stdlib/{go1_16_fmt.go => go1_18_fmt.go} | 3 +- stdlib/{go1_16_go_ast.go => go1_18_go_ast.go} | 4 +- ...{go1_16_go_build.go => go1_18_go_build.go} | 3 +- ...raint.go => go1_18_go_build_constraint.go} | 4 +- ...7_go_constant.go => go1_18_go_constant.go} | 4 +- stdlib/{go1_16_go_doc.go => go1_18_go_doc.go} | 3 +- ...o1_16_go_format.go => go1_18_go_format.go} | 3 +- ...7_go_importer.go => go1_18_go_importer.go} | 4 +- stdlib/go1_18_go_parser.go | 32 + ..._17_go_printer.go => go1_18_go_printer.go} | 4 +- ..._16_go_scanner.go => go1_18_go_scanner.go} | 3 +- ...{go1_16_go_token.go => go1_18_go_token.go} | 4 +- ...{go1_16_go_types.go => go1_18_go_types.go} | 17 +- stdlib/{go1_16_hash.go => go1_18_hash.go} | 3 +- ...hash_adler32.go => go1_18_hash_adler32.go} | 4 +- ..._17_hash_crc32.go => go1_18_hash_crc32.go} | 4 +- ..._16_hash_crc64.go => go1_18_hash_crc64.go} | 3 +- ...{go1_17_hash_fnv.go => go1_18_hash_fnv.go} | 4 +- ...hash_maphash.go => go1_18_hash_maphash.go} | 3 +- stdlib/{go1_17_html.go => go1_18_html.go} | 4 +- ...ml_template.go => go1_18_html_template.go} | 3 +- stdlib/{go1_16_image.go => go1_18_image.go} | 27 +- ...6_image_color.go => go1_18_image_color.go} | 3 +- ...lette.go => go1_18_image_color_palette.go} | 4 +- ..._16_image_draw.go => go1_18_image_draw.go} | 49 +- ...o1_16_image_gif.go => go1_18_image_gif.go} | 3 +- ..._16_image_jpeg.go => go1_18_image_jpeg.go} | 3 +- ...o1_16_image_png.go => go1_18_image_png.go} | 3 +- ...ixarray.go => go1_18_index_suffixarray.go} | 3 +- stdlib/{go1_17_io.go => go1_18_io.go} | 4 +- stdlib/{go1_16_io_fs.go => go1_18_io_fs.go} | 64 +- ...o1_17_io_ioutil.go => go1_18_io_ioutil.go} | 4 +- stdlib/{go1_17_log.go => go1_18_log.go} | 4 +- ..._17_log_syslog.go => go1_18_log_syslog.go} | 4 +- stdlib/{go1_16_math.go => go1_18_math.go} | 12 +- ...{go1_16_math_big.go => go1_18_math_big.go} | 3 +- ...o1_17_math_bits.go => go1_18_math_bits.go} | 4 +- ..._17_math_cmplx.go => go1_18_math_cmplx.go} | 4 +- ...o1_16_math_rand.go => go1_18_math_rand.go} | 3 +- stdlib/{go1_17_mime.go => go1_18_mime.go} | 4 +- ..._multipart.go => go1_18_mime_multipart.go} | 3 +- ...able.go => go1_18_mime_quotedprintable.go} | 4 +- stdlib/{go1_17_net.go => go1_18_net.go} | 6 +- ...{go1_17_net_http.go => go1_18_net_http.go} | 5 +- ...net_http_cgi.go => go1_18_net_http_cgi.go} | 4 +- ...kiejar.go => go1_18_net_http_cookiejar.go} | 4 +- ...t_http_fcgi.go => go1_18_net_http_fcgi.go} | 4 +- ...ttptest.go => go1_18_net_http_httptest.go} | 4 +- ...ptrace.go => go1_18_net_http_httptrace.go} | 4 +- ...ttputil.go => go1_18_net_http_httputil.go} | 4 +- ...http_pprof.go => go1_18_net_http_pprof.go} | 3 +- ...{go1_17_net_mail.go => go1_18_net_mail.go} | 4 +- stdlib/go1_18_net_netip.go | 36 + .../{go1_16_net_rpc.go => go1_18_net_rpc.go} | 19 +- ...c_jsonrpc.go => go1_18_net_rpc_jsonrpc.go} | 4 +- ...{go1_16_net_smtp.go => go1_18_net_smtp.go} | 3 +- ...t_textproto.go => go1_18_net_textproto.go} | 3 +- .../{go1_17_net_url.go => go1_18_net_url.go} | 4 +- stdlib/{go1_17_os.go => go1_18_os.go} | 8 +- ...o1_17_os_signal.go => go1_18_os_signal.go} | 4 +- .../{go1_17_os_user.go => go1_18_os_user.go} | 4 +- stdlib/{go1_17_path.go => go1_18_path.go} | 4 +- ...th_filepath.go => go1_18_path_filepath.go} | 4 +- .../{go1_16_reflect.go => go1_18_reflect.go} | 6 +- stdlib/{go1_17_regexp.go => go1_18_regexp.go} | 4 +- ...gexp_syntax.go => go1_18_regexp_syntax.go} | 4 +- .../{go1_17_runtime.go => go1_18_runtime.go} | 4 +- ...ntime_debug.go => go1_18_runtime_debug.go} | 11 +- ...e_metrics.go => go1_18_runtime_metrics.go} | 4 +- ...ntime_pprof.go => go1_18_runtime_pprof.go} | 4 +- ...ntime_trace.go => go1_18_runtime_trace.go} | 3 +- stdlib/{go1_17_sort.go => go1_18_sort.go} | 4 +- .../{go1_16_strconv.go => go1_18_strconv.go} | 4 +- .../{go1_17_strings.go => go1_18_strings.go} | 6 +- stdlib/{go1_16_sync.go => go1_18_sync.go} | 3 +- ...7_sync_atomic.go => go1_18_sync_atomic.go} | 4 +- .../{go1_16_testing.go => go1_18_testing.go} | 63 +- ...ing_fstest.go => go1_18_testing_fstest.go} | 3 +- ...ing_iotest.go => go1_18_testing_iotest.go} | 3 +- ...sting_quick.go => go1_18_testing_quick.go} | 3 +- ...text_scanner.go => go1_18_text_scanner.go} | 4 +- ..._tabwriter.go => go1_18_text_tabwriter.go} | 4 +- ...xt_template.go => go1_18_text_template.go} | 3 +- ...parse.go => go1_18_text_template_parse.go} | 8 +- stdlib/{go1_16_time.go => go1_18_time.go} | 6 +- .../{go1_16_unicode.go => go1_18_unicode.go} | 3 +- ...icode_utf16.go => go1_18_unicode_utf16.go} | 4 +- ...unicode_utf8.go => go1_18_unicode_utf8.go} | 5 +- ...6_archive_tar.go => go1_19_archive_tar.go} | 3 +- ...6_archive_zip.go => go1_19_archive_zip.go} | 3 +- stdlib/{go1_17_bufio.go => go1_19_bufio.go} | 4 +- stdlib/{go1_17_bytes.go => go1_19_bytes.go} | 5 +- ...ress_bzip2.go => go1_19_compress_bzip2.go} | 3 +- ...ress_flate.go => go1_19_compress_flate.go} | 4 +- ...mpress_gzip.go => go1_19_compress_gzip.go} | 3 +- ...compress_lzw.go => go1_19_compress_lzw.go} | 4 +- ...mpress_zlib.go => go1_19_compress_zlib.go} | 3 +- ...ainer_heap.go => go1_19_container_heap.go} | 12 +- ...ainer_list.go => go1_19_container_list.go} | 4 +- ...ainer_ring.go => go1_19_container_ring.go} | 4 +- .../{go1_17_context.go => go1_19_context.go} | 8 +- stdlib/{go1_16_crypto.go => go1_19_crypto.go} | 3 +- ..._17_crypto_aes.go => go1_19_crypto_aes.go} | 4 +- ...ypto_cipher.go => go1_19_crypto_cipher.go} | 4 +- ..._16_crypto_des.go => go1_19_crypto_des.go} | 3 +- ..._16_crypto_dsa.go => go1_19_crypto_dsa.go} | 3 +- ...crypto_ecdsa.go => go1_19_crypto_ecdsa.go} | 3 +- ...to_ed25519.go => go1_19_crypto_ed25519.go} | 4 +- ..._elliptic.go => go1_19_crypto_elliptic.go} | 4 +- ...6_crypto_hmac.go => go1_19_crypto_hmac.go} | 3 +- ..._17_crypto_md5.go => go1_19_crypto_md5.go} | 4 +- ...6_crypto_rand.go => go1_19_crypto_rand.go} | 3 +- ..._17_crypto_rc4.go => go1_19_crypto_rc4.go} | 4 +- ..._17_crypto_rsa.go => go1_19_crypto_rsa.go} | 4 +- ...7_crypto_sha1.go => go1_19_crypto_sha1.go} | 4 +- ...ypto_sha256.go => go1_19_crypto_sha256.go} | 4 +- ...ypto_sha512.go => go1_19_crypto_sha512.go} | 3 +- ...ypto_subtle.go => go1_19_crypto_subtle.go} | 3 +- ..._16_crypto_tls.go => go1_19_crypto_tls.go} | 3 +- ...7_crypto_x509.go => go1_19_crypto_x509.go} | 5 +- ...509_pkix.go => go1_19_crypto_x509_pkix.go} | 3 +- ...database_sql.go => go1_19_database_sql.go} | 8 +- ...river.go => go1_19_database_sql_driver.go} | 7 +- stdlib/go1_19_debug_buildinfo.go | 22 + ...7_debug_dwarf.go => go1_19_debug_dwarf.go} | 4 +- ...o1_16_debug_elf.go => go1_19_debug_elf.go} | 59 +- ...6_debug_gosym.go => go1_19_debug_gosym.go} | 3 +- ...7_debug_macho.go => go1_19_debug_macho.go} | 4 +- ...{go1_16_debug_pe.go => go1_19_debug_pe.go} | 48 +- ...g_plan9obj.go => go1_19_debug_plan9obj.go} | 16 +- stdlib/{go1_16_embed.go => go1_19_embed.go} | 3 +- ...{go1_17_encoding.go => go1_19_encoding.go} | 4 +- ..._ascii85.go => go1_19_encoding_ascii85.go} | 3 +- ...coding_asn1.go => go1_19_encoding_asn1.go} | 4 +- ...ng_base32.go => go1_19_encoding_base32.go} | 4 +- ...ng_base64.go => go1_19_encoding_base64.go} | 4 +- ...ng_binary.go => go1_19_encoding_binary.go} | 37 +- ...encoding_csv.go => go1_19_encoding_csv.go} | 4 +- ...encoding_gob.go => go1_19_encoding_gob.go} | 3 +- ...encoding_hex.go => go1_19_encoding_hex.go} | 3 +- ...coding_json.go => go1_19_encoding_json.go} | 4 +- ...encoding_pem.go => go1_19_encoding_pem.go} | 3 +- ...encoding_xml.go => go1_19_encoding_xml.go} | 4 +- stdlib/{go1_17_errors.go => go1_19_errors.go} | 4 +- stdlib/{go1_16_expvar.go => go1_19_expvar.go} | 3 +- stdlib/{go1_16_flag.go => go1_19_flag.go} | 8 +- stdlib/{go1_17_fmt.go => go1_19_fmt.go} | 7 +- stdlib/{go1_17_go_ast.go => go1_19_go_ast.go} | 5 +- ...{go1_17_go_build.go => go1_19_go_build.go} | 4 +- ...raint.go => go1_19_go_build_constraint.go} | 3 +- ...6_go_constant.go => go1_19_go_constant.go} | 3 +- stdlib/{go1_17_go_doc.go => go1_19_go_doc.go} | 4 +- ...o1_17_go_format.go => go1_19_go_format.go} | 4 +- ...6_go_importer.go => go1_19_go_importer.go} | 3 +- ...o1_17_go_parser.go => go1_19_go_parser.go} | 4 +- ..._16_go_printer.go => go1_19_go_printer.go} | 3 +- ..._17_go_scanner.go => go1_19_go_scanner.go} | 4 +- ...{go1_17_go_token.go => go1_19_go_token.go} | 5 +- ...{go1_17_go_types.go => go1_19_go_types.go} | 18 +- stdlib/{go1_17_hash.go => go1_19_hash.go} | 4 +- ...hash_adler32.go => go1_19_hash_adler32.go} | 3 +- ..._16_hash_crc32.go => go1_19_hash_crc32.go} | 3 +- ..._17_hash_crc64.go => go1_19_hash_crc64.go} | 4 +- ...{go1_16_hash_fnv.go => go1_19_hash_fnv.go} | 3 +- ...hash_maphash.go => go1_19_hash_maphash.go} | 6 +- stdlib/{go1_16_html.go => go1_19_html.go} | 3 +- ...ml_template.go => go1_19_html_template.go} | 4 +- stdlib/{go1_17_image.go => go1_19_image.go} | 4 +- ...7_image_color.go => go1_19_image_color.go} | 4 +- ...lette.go => go1_19_image_color_palette.go} | 3 +- ..._17_image_draw.go => go1_19_image_draw.go} | 4 +- ...o1_17_image_gif.go => go1_19_image_gif.go} | 4 +- ..._17_image_jpeg.go => go1_19_image_jpeg.go} | 4 +- ...o1_17_image_png.go => go1_19_image_png.go} | 4 +- ...ixarray.go => go1_19_index_suffixarray.go} | 4 +- stdlib/{go1_16_io.go => go1_19_io.go} | 3 +- stdlib/{go1_17_io_fs.go => go1_19_io_fs.go} | 8 +- ...o1_16_io_ioutil.go => go1_19_io_ioutil.go} | 3 +- stdlib/{go1_16_log.go => go1_19_log.go} | 3 +- ..._16_log_syslog.go => go1_19_log_syslog.go} | 3 +- stdlib/{go1_17_math.go => go1_19_math.go} | 4 +- ...{go1_17_math_big.go => go1_19_math_big.go} | 4 +- ...o1_16_math_bits.go => go1_19_math_bits.go} | 3 +- ..._16_math_cmplx.go => go1_19_math_cmplx.go} | 3 +- ...o1_17_math_rand.go => go1_19_math_rand.go} | 4 +- stdlib/{go1_16_mime.go => go1_19_mime.go} | 3 +- ..._multipart.go => go1_19_mime_multipart.go} | 4 +- ...able.go => go1_19_mime_quotedprintable.go} | 3 +- stdlib/{go1_16_net.go => go1_19_net.go} | 5 +- ...{go1_16_net_http.go => go1_19_net_http.go} | 6 +- ...net_http_cgi.go => go1_19_net_http_cgi.go} | 3 +- ...kiejar.go => go1_19_net_http_cookiejar.go} | 3 +- ...t_http_fcgi.go => go1_19_net_http_fcgi.go} | 3 +- ...ttptest.go => go1_19_net_http_httptest.go} | 3 +- ...ptrace.go => go1_19_net_http_httptrace.go} | 3 +- ...ttputil.go => go1_19_net_http_httputil.go} | 3 +- ...http_pprof.go => go1_19_net_http_pprof.go} | 4 +- ...{go1_16_net_mail.go => go1_19_net_mail.go} | 3 +- stdlib/go1_19_net_netip.go | 36 + .../{go1_17_net_rpc.go => go1_19_net_rpc.go} | 20 +- ...c_jsonrpc.go => go1_19_net_rpc_jsonrpc.go} | 3 +- ...{go1_17_net_smtp.go => go1_19_net_smtp.go} | 4 +- ...t_textproto.go => go1_19_net_textproto.go} | 4 +- .../{go1_16_net_url.go => go1_19_net_url.go} | 4 +- stdlib/{go1_16_os.go => go1_19_os.go} | 7 +- ...o1_16_os_signal.go => go1_19_os_signal.go} | 3 +- .../{go1_16_os_user.go => go1_19_os_user.go} | 3 +- stdlib/{go1_16_path.go => go1_19_path.go} | 3 +- ...th_filepath.go => go1_19_path_filepath.go} | 3 +- .../{go1_17_reflect.go => go1_19_reflect.go} | 6 +- stdlib/{go1_16_regexp.go => go1_19_regexp.go} | 3 +- ...gexp_syntax.go => go1_19_regexp_syntax.go} | 4 +- .../{go1_16_runtime.go => go1_19_runtime.go} | 3 +- ...ntime_debug.go => go1_19_runtime_debug.go} | 13 +- ...e_metrics.go => go1_19_runtime_metrics.go} | 3 +- ...ntime_pprof.go => go1_19_runtime_pprof.go} | 3 +- ...ntime_trace.go => go1_19_runtime_trace.go} | 4 +- stdlib/{go1_16_sort.go => go1_19_sort.go} | 4 +- .../{go1_17_strconv.go => go1_19_strconv.go} | 4 +- .../{go1_16_strings.go => go1_19_strings.go} | 5 +- stdlib/{go1_17_sync.go => go1_19_sync.go} | 4 +- ...6_sync_atomic.go => go1_19_sync_atomic.go} | 11 +- .../{go1_17_testing.go => go1_19_testing.go} | 60 +- ...ing_fstest.go => go1_19_testing_fstest.go} | 4 +- ...ing_iotest.go => go1_19_testing_iotest.go} | 4 +- ...sting_quick.go => go1_19_testing_quick.go} | 4 +- ...text_scanner.go => go1_19_text_scanner.go} | 3 +- ..._tabwriter.go => go1_19_text_tabwriter.go} | 3 +- ...xt_template.go => go1_19_text_template.go} | 4 +- ...parse.go => go1_19_text_template_parse.go} | 8 +- stdlib/{go1_17_time.go => go1_19_time.go} | 4 +- .../{go1_17_unicode.go => go1_19_unicode.go} | 4 +- ...icode_utf16.go => go1_19_unicode_utf16.go} | 3 +- ...unicode_utf8.go => go1_19_unicode_utf8.go} | 4 +- stdlib/stdlib.go | 8 +- stdlib/syscall/go1_17_syscall_plan9_amd64.go | 244 -- stdlib/syscall/go1_17_syscall_plan9_arm.go | 244 -- .../syscall/go1_17_syscall_windows_amd64.go | 1037 ------- stdlib/syscall/go1_17_syscall_windows_arm.go | 1037 ------- .../syscall/go1_17_syscall_windows_arm64.go | 1037 ------- ...x_ppc64.go => go1_18_syscall_aix_ppc64.go} | 4 +- ...d_386.go => go1_18_syscall_android_386.go} | 3 +- ...d64.go => go1_18_syscall_android_amd64.go} | 4 +- ...x_arm.go => go1_18_syscall_android_arm.go} | 4 +- ...m64.go => go1_18_syscall_android_arm64.go} | 3 +- ...md64.go => go1_18_syscall_darwin_amd64.go} | 3 +- ...rm64.go => go1_18_syscall_darwin_arm64.go} | 4 +- ...4.go => go1_18_syscall_dragonfly_amd64.go} | 9 +- ...d_386.go => go1_18_syscall_freebsd_386.go} | 3 +- ...d64.go => go1_18_syscall_freebsd_amd64.go} | 3 +- ...d_arm.go => go1_18_syscall_freebsd_arm.go} | 4 +- ...m64.go => go1_18_syscall_freebsd_arm64.go} | 3 +- ...d64.go => go1_18_syscall_illumos_amd64.go} | 3 +- ...s_amd64.go => go1_18_syscall_ios_amd64.go} | 4 +- ...s_arm64.go => go1_18_syscall_ios_arm64.go} | 3 +- ...l_js_wasm.go => go1_18_syscall_js_wasm.go} | 3 +- ...nux_386.go => go1_18_syscall_linux_386.go} | 3 +- ...amd64.go => go1_18_syscall_linux_amd64.go} | 3 +- ...oid_arm.go => go1_18_syscall_linux_arm.go} | 4 +- ...arm64.go => go1_18_syscall_linux_arm64.go} | 4 +- ...mipsle.go => go1_18_syscall_linux_mips.go} | 4 +- ...ps64.go => go1_18_syscall_linux_mips64.go} | 3 +- ...le.go => go1_18_syscall_linux_mips64le.go} | 4 +- ...psle.go => go1_18_syscall_linux_mipsle.go} | 3 +- ...ppc64.go => go1_18_syscall_linux_ppc64.go} | 4 +- ...4le.go => go1_18_syscall_linux_ppc64le.go} | 3 +- ...v64.go => go1_18_syscall_linux_riscv64.go} | 3 +- ...s390x.go => go1_18_syscall_linux_s390x.go} | 3 +- ...sd_386.go => go1_18_syscall_netbsd_386.go} | 5 +- ...md64.go => go1_18_syscall_netbsd_amd64.go} | 5 +- ...sd_arm.go => go1_18_syscall_netbsd_arm.go} | 5 +- ...rm64.go => go1_18_syscall_netbsd_arm64.go} | 5 +- ...d_386.go => go1_18_syscall_openbsd_386.go} | 4 +- ...d64.go => go1_18_syscall_openbsd_amd64.go} | 4 +- ...d_arm.go => go1_18_syscall_openbsd_arm.go} | 3 +- ...m64.go => go1_18_syscall_openbsd_arm64.go} | 3 +- ...64.go => go1_18_syscall_openbsd_mips64.go} | 3 +- ...an9_arm.go => go1_18_syscall_plan9_386.go} | 3 +- stdlib/syscall/go1_18_syscall_plan9_amd64.go | 244 ++ stdlib/syscall/go1_18_syscall_plan9_arm.go | 244 ++ ...d64.go => go1_18_syscall_solaris_amd64.go} | 3 +- stdlib/syscall/go1_18_syscall_windows_386.go | 1037 +++++++ .../syscall/go1_18_syscall_windows_amd64.go | 1037 +++++++ stdlib/syscall/go1_18_syscall_windows_arm.go | 1037 +++++++ .../syscall/go1_18_syscall_windows_arm64.go | 1037 +++++++ ...x_ppc64.go => go1_19_syscall_aix_ppc64.go} | 4 +- ...d_386.go => go1_19_syscall_android_386.go} | 4 +- ...d64.go => go1_19_syscall_android_amd64.go} | 4 +- ...d_arm.go => go1_19_syscall_android_arm.go} | 3 +- ...m64.go => go1_19_syscall_android_arm64.go} | 4 +- ...md64.go => go1_19_syscall_darwin_amd64.go} | 4 +- ...rm64.go => go1_19_syscall_darwin_arm64.go} | 3 +- ...4.go => go1_19_syscall_dragonfly_amd64.go} | 4 +- ...d_386.go => go1_19_syscall_freebsd_386.go} | 4 +- ...d64.go => go1_19_syscall_freebsd_amd64.go} | 4 +- ...d_arm.go => go1_19_syscall_freebsd_arm.go} | 3 +- ...m64.go => go1_19_syscall_freebsd_arm64.go} | 4 +- ...d64.go => go1_19_syscall_illumos_amd64.go} | 6 +- ...s_amd64.go => go1_19_syscall_ios_amd64.go} | 3 +- ...n_arm64.go => go1_19_syscall_ios_arm64.go} | 4 +- ...l_js_wasm.go => go1_19_syscall_js_wasm.go} | 4 +- ...nux_386.go => go1_19_syscall_linux_386.go} | 4 +- ...amd64.go => go1_19_syscall_linux_amd64.go} | 3 +- ...nux_arm.go => go1_19_syscall_linux_arm.go} | 3 +- ...arm64.go => go1_19_syscall_linux_arm64.go} | 3 +- .../syscall/go1_19_syscall_linux_loong64.go | 2695 +++++++++++++++++ ...x_mips.go => go1_19_syscall_linux_mips.go} | 4 +- ...64le.go => go1_19_syscall_linux_mips64.go} | 3 +- ...64.go => go1_19_syscall_linux_mips64le.go} | 4 +- ...mips.go => go1_19_syscall_linux_mipsle.go} | 3 +- ...ppc64.go => go1_19_syscall_linux_ppc64.go} | 3 +- ...4le.go => go1_19_syscall_linux_ppc64le.go} | 4 +- ...v64.go => go1_19_syscall_linux_riscv64.go} | 4 +- ...s390x.go => go1_19_syscall_linux_s390x.go} | 4 +- ...sd_386.go => go1_19_syscall_netbsd_386.go} | 4 +- ...rm64.go => go1_19_syscall_netbsd_amd64.go} | 4 +- ...sd_arm.go => go1_19_syscall_netbsd_arm.go} | 4 +- ...md64.go => go1_19_syscall_netbsd_arm64.go} | 4 +- ...d_386.go => go1_19_syscall_openbsd_386.go} | 4 +- ...d64.go => go1_19_syscall_openbsd_amd64.go} | 4 +- ...d_arm.go => go1_19_syscall_openbsd_arm.go} | 4 +- ...m64.go => go1_19_syscall_openbsd_arm64.go} | 4 +- ...64.go => go1_19_syscall_openbsd_mips64.go} | 4 +- ...an9_386.go => go1_19_syscall_plan9_386.go} | 4 +- ...9_386.go => go1_19_syscall_plan9_amd64.go} | 3 +- ...9_amd64.go => go1_19_syscall_plan9_arm.go} | 3 +- ...d64.go => go1_19_syscall_solaris_amd64.go} | 7 +- ...s_386.go => go1_19_syscall_windows_386.go} | 3 +- ...arm.go => go1_19_syscall_windows_amd64.go} | 3 +- ...s_386.go => go1_19_syscall_windows_arm.go} | 4 +- ...d64.go => go1_19_syscall_windows_arm64.go} | 3 +- stdlib/syscall/syscall.go | 4 +- .../go1_16_syscall_freebsd_arm64.go | 27 - .../unrestricted/go1_16_syscall_linux_386.go | 45 - .../go1_16_syscall_linux_amd64.go | 45 - .../unrestricted/go1_16_syscall_linux_arm.go | 45 - .../go1_16_syscall_linux_arm64.go | 45 - .../go1_16_syscall_linux_mips64.go | 45 - .../go1_16_syscall_linux_mips64le.go | 45 - .../go1_16_syscall_linux_ppc64.go | 45 - .../go1_16_syscall_linux_ppc64le.go | 45 - .../go1_16_syscall_linux_riscv64.go | 45 - .../unrestricted/go1_16_syscall_netbsd_386.go | 27 - .../go1_16_syscall_netbsd_amd64.go | 27 - .../unrestricted/go1_16_syscall_netbsd_arm.go | 27 - .../go1_16_syscall_netbsd_arm64.go | 27 - .../go1_16_syscall_openbsd_386.go | 27 - .../go1_16_syscall_openbsd_amd64.go | 27 - .../go1_16_syscall_openbsd_arm.go | 27 - .../go1_16_syscall_openbsd_arm64.go | 27 - .../go1_16_syscall_openbsd_mips64.go | 27 - .../go1_17_syscall_android_386.go | 46 - .../go1_17_syscall_android_amd64.go | 46 - .../go1_17_syscall_android_arm.go | 46 - .../go1_17_syscall_android_arm64.go | 46 - .../go1_17_syscall_darwin_amd64.go | 30 - .../go1_17_syscall_darwin_arm64.go | 30 - .../go1_17_syscall_dragonfly_amd64.go | 28 - .../go1_17_syscall_freebsd_386.go | 28 - .../go1_17_syscall_freebsd_amd64.go | 28 - .../go1_17_syscall_freebsd_arm.go | 28 - .../go1_17_syscall_freebsd_arm64.go | 28 - .../unrestricted/go1_17_syscall_ios_amd64.go | 30 - .../unrestricted/go1_17_syscall_ios_arm64.go | 30 - .../unrestricted/go1_17_syscall_linux_386.go | 46 - .../go1_17_syscall_linux_amd64.go | 46 - .../unrestricted/go1_17_syscall_linux_arm.go | 46 - .../go1_17_syscall_linux_arm64.go | 46 - .../go1_17_syscall_linux_mips64.go | 46 - .../go1_17_syscall_linux_mips64le.go | 46 - .../go1_17_syscall_linux_ppc64.go | 46 - .../go1_17_syscall_linux_ppc64le.go | 46 - .../go1_17_syscall_linux_riscv64.go | 46 - .../unrestricted/go1_17_syscall_netbsd_386.go | 28 - .../go1_17_syscall_netbsd_amd64.go | 28 - .../unrestricted/go1_17_syscall_netbsd_arm.go | 28 - .../go1_17_syscall_netbsd_arm64.go | 28 - .../go1_17_syscall_openbsd_386.go | 28 - .../go1_17_syscall_openbsd_amd64.go | 28 - .../go1_17_syscall_openbsd_arm.go | 28 - .../go1_17_syscall_openbsd_arm64.go | 28 - .../go1_17_syscall_openbsd_mips64.go | 28 - .../go1_17_syscall_plan9_amd64.go | 25 - .../unrestricted/go1_17_syscall_plan9_arm.go | 25 - .../go1_17_syscall_windows_amd64.go | 29 - .../go1_17_syscall_windows_arm.go | 29 - .../go1_17_syscall_windows_arm64.go | 29 - ...x_ppc64.go => go1_18_syscall_aix_ppc64.go} | 4 +- .../go1_18_syscall_android_386.go | 46 + .../go1_18_syscall_android_amd64.go | 46 + .../go1_18_syscall_android_arm.go | 46 + .../go1_18_syscall_android_arm64.go | 46 + .../go1_18_syscall_darwin_amd64.go | 30 + .../go1_18_syscall_darwin_arm64.go | 30 + .../go1_18_syscall_dragonfly_amd64.go | 28 + .../go1_18_syscall_freebsd_386.go | 28 + .../go1_18_syscall_freebsd_amd64.go | 28 + .../go1_18_syscall_freebsd_arm.go | 28 + .../go1_18_syscall_freebsd_arm64.go | 28 + ...d64.go => go1_18_syscall_illumos_amd64.go} | 4 +- .../unrestricted/go1_18_syscall_ios_amd64.go | 30 + .../unrestricted/go1_18_syscall_ios_arm64.go | 30 + ...l_js_wasm.go => go1_18_syscall_js_wasm.go} | 4 +- .../unrestricted/go1_18_syscall_linux_386.go | 46 + .../go1_18_syscall_linux_amd64.go | 46 + .../unrestricted/go1_18_syscall_linux_arm.go | 46 + .../go1_18_syscall_linux_arm64.go | 46 + ...x_mips.go => go1_18_syscall_linux_mips.go} | 4 +- .../go1_18_syscall_linux_mips64.go | 46 + .../go1_18_syscall_linux_mips64le.go | 46 + ...psle.go => go1_18_syscall_linux_mipsle.go} | 4 +- .../go1_18_syscall_linux_ppc64.go | 46 + .../go1_18_syscall_linux_ppc64le.go | 46 + .../go1_18_syscall_linux_riscv64.go | 46 + ...s390x.go => go1_18_syscall_linux_s390x.go} | 4 +- .../unrestricted/go1_18_syscall_netbsd_386.go | 28 + .../go1_18_syscall_netbsd_amd64.go | 28 + .../unrestricted/go1_18_syscall_netbsd_arm.go | 28 + .../go1_18_syscall_netbsd_arm64.go | 28 + .../go1_18_syscall_openbsd_386.go | 28 + .../go1_18_syscall_openbsd_amd64.go | 28 + .../go1_18_syscall_openbsd_arm.go | 28 + .../go1_18_syscall_openbsd_arm64.go | 28 + .../go1_18_syscall_openbsd_mips64.go | 28 + ...9_amd64.go => go1_18_syscall_plan9_386.go} | 3 +- .../go1_18_syscall_plan9_amd64.go | 25 + .../unrestricted/go1_18_syscall_plan9_arm.go | 25 + ...d64.go => go1_18_syscall_solaris_amd64.go} | 4 +- .../go1_18_syscall_windows_386.go | 30 + .../go1_18_syscall_windows_amd64.go | 30 + .../go1_18_syscall_windows_arm.go | 30 + .../go1_18_syscall_windows_arm64.go | 30 + ...x_ppc64.go => go1_19_syscall_aix_ppc64.go} | 3 +- .../go1_19_syscall_android_386.go | 46 + .../go1_19_syscall_android_amd64.go | 46 + .../go1_19_syscall_android_arm.go | 46 + .../go1_19_syscall_android_arm64.go | 46 + ...md64.go => go1_19_syscall_darwin_amd64.go} | 3 +- ...md64.go => go1_19_syscall_darwin_arm64.go} | 3 +- ...6.go => go1_19_syscall_dragonfly_amd64.go} | 3 +- ...amd64.go => go1_19_syscall_freebsd_386.go} | 3 +- ...arm.go => go1_19_syscall_freebsd_amd64.go} | 3 +- ...amd64.go => go1_19_syscall_freebsd_arm.go} | 3 +- .../go1_19_syscall_freebsd_arm64.go | 28 + ...d64.go => go1_19_syscall_illumos_amd64.go} | 3 +- ...n_arm64.go => go1_19_syscall_ios_amd64.go} | 3 +- ...s_arm64.go => go1_19_syscall_ios_arm64.go} | 3 +- ...l_js_wasm.go => go1_19_syscall_js_wasm.go} | 3 +- ...d_arm64.go => go1_19_syscall_linux_386.go} | 3 +- ...d_386.go => go1_19_syscall_linux_amd64.go} | 3 +- ...d_amd64.go => go1_19_syscall_linux_arm.go} | 3 +- ...d_arm.go => go1_19_syscall_linux_arm64.go} | 3 +- .../go1_19_syscall_linux_loong64.go | 46 + ...x_mips.go => go1_19_syscall_linux_mips.go} | 3 +- .../go1_19_syscall_linux_mips64.go | 46 + .../go1_19_syscall_linux_mips64le.go | 46 + ...psle.go => go1_19_syscall_linux_mipsle.go} | 3 +- .../go1_19_syscall_linux_ppc64.go | 46 + .../go1_19_syscall_linux_ppc64le.go | 46 + .../go1_19_syscall_linux_riscv64.go | 46 + ...s390x.go => go1_19_syscall_linux_s390x.go} | 3 +- .../unrestricted/go1_19_syscall_netbsd_386.go | 28 + .../go1_19_syscall_netbsd_amd64.go | 28 + .../unrestricted/go1_19_syscall_netbsd_arm.go | 28 + .../go1_19_syscall_netbsd_arm64.go | 28 + .../go1_19_syscall_openbsd_386.go | 28 + .../go1_19_syscall_openbsd_amd64.go | 28 + .../go1_19_syscall_openbsd_arm.go | 28 + .../go1_19_syscall_openbsd_arm64.go | 28 + .../go1_19_syscall_openbsd_mips64.go | 28 + ...an9_386.go => go1_19_syscall_plan9_386.go} | 4 +- ...9_arm.go => go1_19_syscall_plan9_amd64.go} | 3 +- ...an9_386.go => go1_19_syscall_plan9_arm.go} | 3 +- ...d64.go => go1_19_syscall_solaris_amd64.go} | 3 +- ...s_arm.go => go1_19_syscall_windows_386.go} | 4 +- ...386.go => go1_19_syscall_windows_amd64.go} | 5 +- ...s_386.go => go1_19_syscall_windows_arm.go} | 4 +- ...d64.go => go1_19_syscall_windows_arm64.go} | 4 +- .../{go1_17_unsafe.go => go1_18_unsafe.go} | 4 +- .../{go1_16_unsafe.go => go1_19_unsafe.go} | 3 +- stdlib/unsafe/unsafe.go | 4 +- stdlib/unsafe/unsafe_go1.17.go | 55 - 552 files changed, 10834 insertions(+), 6433 deletions(-) delete mode 100644 stdlib/go1_16_go_parser.go rename stdlib/{go1_17_archive_tar.go => go1_18_archive_tar.go} (97%) rename stdlib/{go1_17_archive_zip.go => go1_18_archive_zip.go} (96%) rename stdlib/{go1_16_bufio.go => go1_18_bufio.go} (97%) rename stdlib/{go1_16_bytes.go => go1_18_bytes.go} (96%) rename stdlib/{go1_17_compress_bzip2.go => go1_18_compress_bzip2.go} (87%) rename stdlib/{go1_16_compress_flate.go => go1_18_compress_flate.go} (97%) rename stdlib/{go1_17_compress_gzip.go => go1_18_compress_gzip.go} (95%) rename stdlib/{go1_16_compress_lzw.go => go1_18_compress_lzw.go} (68%) rename stdlib/{go1_17_compress_zlib.go => go1_18_compress_zlib.go} (96%) rename stdlib/{go1_16_container_heap.go => go1_18_container_heap.go} (85%) rename stdlib/{go1_16_container_list.go => go1_18_container_list.go} (88%) rename stdlib/{go1_16_container_ring.go => go1_18_container_ring.go} (86%) rename stdlib/{go1_16_context.go => go1_18_context.go} (91%) rename stdlib/{go1_17_crypto.go => go1_18_crypto.go} (98%) rename stdlib/{go1_16_crypto_aes.go => go1_18_crypto_aes.go} (89%) rename stdlib/{go1_16_crypto_cipher.go => go1_18_crypto_cipher.go} (98%) rename stdlib/{go1_17_crypto_des.go => go1_18_crypto_des.go} (91%) rename stdlib/{go1_17_crypto_dsa.go => go1_18_crypto_dsa.go} (95%) rename stdlib/{go1_17_crypto_ecdsa.go => go1_18_crypto_ecdsa.go} (92%) rename stdlib/{go1_16_crypto_ed25519.go => go1_18_crypto_ed25519.go} (94%) rename stdlib/{go1_16_crypto_elliptic.go => go1_18_crypto_elliptic.go} (97%) rename stdlib/{go1_17_crypto_hmac.go => go1_18_crypto_hmac.go} (85%) rename stdlib/{go1_16_crypto_md5.go => go1_18_crypto_md5.go} (90%) rename stdlib/{go1_17_crypto_rand.go => go1_18_crypto_rand.go} (88%) rename stdlib/{go1_16_crypto_rc4.go => go1_18_crypto_rc4.go} (88%) rename stdlib/{go1_16_crypto_rsa.go => go1_18_crypto_rsa.go} (97%) rename stdlib/{go1_16_crypto_sha1.go => go1_18_crypto_sha1.go} (90%) rename stdlib/{go1_16_crypto_sha256.go => go1_18_crypto_sha256.go} (92%) rename stdlib/{go1_17_crypto_sha512.go => go1_18_crypto_sha512.go} (95%) rename stdlib/{go1_17_crypto_subtle.go => go1_18_crypto_subtle.go} (92%) rename stdlib/{go1_17_crypto_tls.go => go1_18_crypto_tls.go} (99%) rename stdlib/{go1_16_crypto_x509.go => go1_18_crypto_x509.go} (99%) rename stdlib/{go1_17_crypto_x509_pkix.go => go1_18_crypto_x509_pkix.go} (95%) rename stdlib/{go1_16_database_sql.go => go1_18_database_sql.go} (92%) rename stdlib/{go1_17_database_sql_driver.go => go1_18_database_sql_driver.go} (99%) create mode 100644 stdlib/go1_18_debug_buildinfo.go rename stdlib/{go1_16_debug_dwarf.go => go1_18_debug_dwarf.go} (99%) rename stdlib/{go1_17_debug_elf.go => go1_18_debug_elf.go} (99%) rename stdlib/{go1_17_debug_gosym.go => go1_18_debug_gosym.go} (94%) rename stdlib/{go1_16_debug_macho.go => go1_18_debug_macho.go} (99%) rename stdlib/{go1_17_debug_pe.go => go1_18_debug_pe.go} (99%) rename stdlib/{go1_17_debug_plan9obj.go => go1_18_debug_plan9obj.go} (54%) rename stdlib/{go1_17_embed.go => go1_18_embed.go} (81%) rename stdlib/{go1_16_encoding.go => go1_18_encoding.go} (97%) rename stdlib/{go1_17_encoding_ascii85.go => go1_18_encoding_ascii85.go} (92%) rename stdlib/{go1_16_encoding_asn1.go => go1_18_encoding_asn1.go} (98%) rename stdlib/{go1_16_encoding_base32.go => go1_18_encoding_base32.go} (93%) rename stdlib/{go1_16_encoding_base64.go => go1_18_encoding_base64.go} (94%) rename stdlib/{go1_16_encoding_binary.go => go1_18_encoding_binary.go} (97%) rename stdlib/{go1_16_encoding_csv.go => go1_18_encoding_csv.go} (93%) rename stdlib/{go1_17_encoding_gob.go => go1_18_encoding_gob.go} (96%) rename stdlib/{go1_17_encoding_hex.go => go1_18_encoding_hex.go} (94%) rename stdlib/{go1_16_encoding_json.go => go1_18_encoding_json.go} (98%) rename stdlib/{go1_17_encoding_pem.go => go1_18_encoding_pem.go} (89%) rename stdlib/{go1_16_encoding_xml.go => go1_18_encoding_xml.go} (98%) rename stdlib/{go1_16_errors.go => go1_18_errors.go} (88%) rename stdlib/{go1_17_expvar.go => go1_18_expvar.go} (96%) rename stdlib/{go1_17_flag.go => go1_18_flag.go} (96%) rename stdlib/{go1_16_fmt.go => go1_18_fmt.go} (98%) rename stdlib/{go1_16_go_ast.go => go1_18_go_ast.go} (98%) rename stdlib/{go1_16_go_build.go => go1_18_go_build.go} (95%) rename stdlib/{go1_17_go_build_constraint.go => go1_18_go_build_constraint.go} (96%) rename stdlib/{go1_17_go_constant.go => go1_18_go_constant.go} (98%) rename stdlib/{go1_16_go_doc.go => go1_18_go_doc.go} (95%) rename stdlib/{go1_16_go_format.go => go1_18_go_format.go} (85%) rename stdlib/{go1_17_go_importer.go => go1_18_go_importer.go} (89%) create mode 100644 stdlib/go1_18_go_parser.go rename stdlib/{go1_17_go_printer.go => go1_18_go_printer.go} (92%) rename stdlib/{go1_16_go_scanner.go => go1_18_go_scanner.go} (92%) rename stdlib/{go1_16_go_token.go => go1_18_go_token.go} (98%) rename stdlib/{go1_16_go_types.go => go1_18_go_types.go} (92%) rename stdlib/{go1_16_hash.go => go1_18_hash.go} (97%) rename stdlib/{go1_17_hash_adler32.go => go1_18_hash_adler32.go} (89%) rename stdlib/{go1_17_hash_crc32.go => go1_18_hash_crc32.go} (95%) rename stdlib/{go1_16_hash_crc64.go => go1_18_hash_crc64.go} (93%) rename stdlib/{go1_17_hash_fnv.go => go1_18_hash_fnv.go} (89%) rename stdlib/{go1_16_hash_maphash.go => go1_18_hash_maphash.go} (88%) rename stdlib/{go1_17_html.go => go1_18_html.go} (86%) rename stdlib/{go1_16_html_template.go => go1_18_html_template.go} (97%) rename stdlib/{go1_16_image.go => go1_18_image.go} (85%) rename stdlib/{go1_16_image_color.go => go1_18_image_color.go} (98%) rename stdlib/{go1_17_image_color_palette.go => go1_18_image_color_palette.go} (87%) rename stdlib/{go1_16_image_draw.go => go1_18_image_draw.go} (54%) rename stdlib/{go1_16_image_gif.go => go1_18_image_gif.go} (94%) rename stdlib/{go1_16_image_jpeg.go => go1_18_image_jpeg.go} (95%) rename stdlib/{go1_16_image_png.go => go1_18_image_png.go} (96%) rename stdlib/{go1_16_index_suffixarray.go => go1_18_index_suffixarray.go} (87%) rename stdlib/{go1_17_io.go => go1_18_io.go} (99%) rename stdlib/{go1_16_io_fs.go => go1_18_io_fs.go} (76%) rename stdlib/{go1_17_io_ioutil.go => go1_18_io_ioutil.go} (92%) rename stdlib/{go1_17_log.go => go1_18_log.go} (97%) rename stdlib/{go1_17_log_syslog.go => go1_18_log_syslog.go} (94%) rename stdlib/{go1_16_math.go => go1_18_math.go} (82%) rename stdlib/{go1_16_math_big.go => go1_18_math_big.go} (96%) rename stdlib/{go1_17_math_bits.go => go1_18_math_bits.go} (98%) rename stdlib/{go1_17_math_cmplx.go => go1_18_math_cmplx.go} (96%) rename stdlib/{go1_16_math_rand.go => go1_18_math_rand.go} (97%) rename stdlib/{go1_17_mime.go => go1_18_mime.go} (94%) rename stdlib/{go1_16_mime_multipart.go => go1_18_mime_multipart.go} (96%) rename stdlib/{go1_17_mime_quotedprintable.go => go1_18_mime_quotedprintable.go} (90%) rename stdlib/{go1_17_net.go => go1_18_net.go} (98%) rename stdlib/{go1_17_net_http.go => go1_18_net_http.go} (99%) rename stdlib/{go1_17_net_http_cgi.go => go1_18_net_http_cgi.go} (89%) rename stdlib/{go1_17_net_http_cookiejar.go => go1_18_net_http_cookiejar.go} (95%) rename stdlib/{go1_17_net_http_fcgi.go => go1_18_net_http_fcgi.go} (90%) rename stdlib/{go1_17_net_http_httptest.go => go1_18_net_http_httptest.go} (94%) rename stdlib/{go1_17_net_http_httptrace.go => go1_18_net_http_httptrace.go} (93%) rename stdlib/{go1_17_net_http_httputil.go => go1_18_net_http_httputil.go} (97%) rename stdlib/{go1_16_net_http_pprof.go => go1_18_net_http_pprof.go} (90%) rename stdlib/{go1_17_net_mail.go => go1_18_net_mail.go} (93%) create mode 100644 stdlib/go1_18_net_netip.go rename stdlib/{go1_16_net_rpc.go => go1_18_net_rpc.go} (85%) rename stdlib/{go1_17_net_rpc_jsonrpc.go => go1_18_net_rpc_jsonrpc.go} (90%) rename stdlib/{go1_16_net_smtp.go => go1_18_net_smtp.go} (95%) rename stdlib/{go1_16_net_textproto.go => go1_18_net_textproto.go} (95%) rename stdlib/{go1_17_net_url.go => go1_18_net_url.go} (95%) rename stdlib/{go1_17_os.go => go1_18_os.go} (98%) rename stdlib/{go1_17_os_signal.go => go1_18_os_signal.go} (91%) rename stdlib/{go1_17_os_user.go => go1_18_os_user.go} (94%) rename stdlib/{go1_17_path.go => go1_18_path.go} (92%) rename stdlib/{go1_17_path_filepath.go => go1_18_path_filepath.go} (96%) rename stdlib/{go1_16_reflect.go => go1_18_reflect.go} (97%) rename stdlib/{go1_17_regexp.go => go1_18_regexp.go} (93%) rename stdlib/{go1_17_regexp_syntax.go => go1_18_regexp_syntax.go} (98%) rename stdlib/{go1_17_runtime.go => go1_18_runtime.go} (98%) rename stdlib/{go1_16_runtime_debug.go => go1_18_runtime_debug.go} (72%) rename stdlib/{go1_17_runtime_metrics.go => go1_18_runtime_metrics.go} (94%) rename stdlib/{go1_17_runtime_pprof.go => go1_18_runtime_pprof.go} (95%) rename stdlib/{go1_16_runtime_trace.go => go1_18_runtime_trace.go} (93%) rename stdlib/{go1_17_sort.go => go1_18_sort.go} (97%) rename stdlib/{go1_16_strconv.go => go1_18_strconv.go} (95%) rename stdlib/{go1_17_strings.go => go1_18_strings.go} (95%) rename stdlib/{go1_16_sync.go => go1_18_sync.go} (95%) rename stdlib/{go1_17_sync_atomic.go => go1_18_sync_atomic.go} (97%) rename stdlib/{go1_16_testing.go => go1_18_testing.go} (54%) rename stdlib/{go1_16_testing_fstest.go => go1_18_testing_fstest.go} (88%) rename stdlib/{go1_16_testing_iotest.go => go1_18_testing_iotest.go} (93%) rename stdlib/{go1_16_testing_quick.go => go1_18_testing_quick.go} (95%) rename stdlib/{go1_17_text_scanner.go => go1_18_text_scanner.go} (97%) rename stdlib/{go1_17_text_tabwriter.go => go1_18_text_tabwriter.go} (94%) rename stdlib/{go1_16_text_template.go => go1_18_text_template.go} (95%) rename stdlib/{go1_16_text_template_parse.go => go1_18_text_template_parse.go} (91%) rename stdlib/{go1_16_time.go => go1_18_time.go} (94%) rename stdlib/{go1_16_unicode.go => go1_18_unicode.go} (99%) rename stdlib/{go1_17_unicode_utf16.go => go1_18_unicode_utf16.go} (90%) rename stdlib/{go1_17_unicode_utf8.go => go1_18_unicode_utf8.go} (92%) rename stdlib/{go1_16_archive_tar.go => go1_19_archive_tar.go} (98%) rename stdlib/{go1_16_archive_zip.go => go1_19_archive_zip.go} (97%) rename stdlib/{go1_17_bufio.go => go1_19_bufio.go} (98%) rename stdlib/{go1_17_bytes.go => go1_19_bytes.go} (97%) rename stdlib/{go1_16_compress_bzip2.go => go1_19_compress_bzip2.go} (91%) rename stdlib/{go1_17_compress_flate.go => go1_19_compress_flate.go} (98%) rename stdlib/{go1_16_compress_gzip.go => go1_19_compress_gzip.go} (97%) rename stdlib/{go1_17_compress_lzw.go => go1_19_compress_lzw.go} (94%) rename stdlib/{go1_16_compress_zlib.go => go1_19_compress_zlib.go} (98%) rename stdlib/{go1_17_container_heap.go => go1_19_container_heap.go} (84%) rename stdlib/{go1_17_container_list.go => go1_19_container_list.go} (92%) rename stdlib/{go1_17_container_ring.go => go1_19_container_ring.go} (91%) rename stdlib/{go1_17_context.go => go1_19_context.go} (90%) rename stdlib/{go1_16_crypto.go => go1_19_crypto.go} (99%) rename stdlib/{go1_17_crypto_aes.go => go1_19_crypto_aes.go} (93%) rename stdlib/{go1_17_crypto_cipher.go => go1_19_crypto_cipher.go} (99%) rename stdlib/{go1_16_crypto_des.go => go1_19_crypto_des.go} (94%) rename stdlib/{go1_16_crypto_dsa.go => go1_19_crypto_dsa.go} (96%) rename stdlib/{go1_16_crypto_ecdsa.go => go1_19_crypto_ecdsa.go} (94%) rename stdlib/{go1_17_crypto_ed25519.go => go1_19_crypto_ed25519.go} (96%) rename stdlib/{go1_17_crypto_elliptic.go => go1_19_crypto_elliptic.go} (98%) rename stdlib/{go1_16_crypto_hmac.go => go1_19_crypto_hmac.go} (90%) rename stdlib/{go1_17_crypto_md5.go => go1_19_crypto_md5.go} (93%) rename stdlib/{go1_16_crypto_rand.go => go1_19_crypto_rand.go} (92%) rename stdlib/{go1_17_crypto_rc4.go => go1_19_crypto_rc4.go} (92%) rename stdlib/{go1_17_crypto_rsa.go => go1_19_crypto_rsa.go} (98%) rename stdlib/{go1_17_crypto_sha1.go => go1_19_crypto_sha1.go} (93%) rename stdlib/{go1_17_crypto_sha256.go => go1_19_crypto_sha256.go} (95%) rename stdlib/{go1_16_crypto_sha512.go => go1_19_crypto_sha512.go} (96%) rename stdlib/{go1_16_crypto_subtle.go => go1_19_crypto_subtle.go} (95%) rename stdlib/{go1_16_crypto_tls.go => go1_19_crypto_tls.go} (99%) rename stdlib/{go1_17_crypto_x509.go => go1_19_crypto_x509.go} (98%) rename stdlib/{go1_16_crypto_x509_pkix.go => go1_19_crypto_x509_pkix.go} (96%) rename stdlib/{go1_17_database_sql.go => go1_19_database_sql.go} (96%) rename stdlib/{go1_16_database_sql_driver.go => go1_19_database_sql_driver.go} (99%) create mode 100644 stdlib/go1_19_debug_buildinfo.go rename stdlib/{go1_17_debug_dwarf.go => go1_19_debug_dwarf.go} (99%) rename stdlib/{go1_16_debug_elf.go => go1_19_debug_elf.go} (95%) rename stdlib/{go1_16_debug_gosym.go => go1_19_debug_gosym.go} (96%) rename stdlib/{go1_17_debug_macho.go => go1_19_debug_macho.go} (99%) rename stdlib/{go1_16_debug_pe.go => go1_19_debug_pe.go} (76%) rename stdlib/{go1_16_debug_plan9obj.go => go1_19_debug_plan9obj.go} (55%) rename stdlib/{go1_16_embed.go => go1_19_embed.go} (87%) rename stdlib/{go1_17_encoding.go => go1_19_encoding.go} (98%) rename stdlib/{go1_16_encoding_ascii85.go => go1_19_encoding_ascii85.go} (94%) rename stdlib/{go1_17_encoding_asn1.go => go1_19_encoding_asn1.go} (98%) rename stdlib/{go1_17_encoding_base32.go => go1_19_encoding_base32.go} (95%) rename stdlib/{go1_17_encoding_base64.go => go1_19_encoding_base64.go} (96%) rename stdlib/{go1_17_encoding_binary.go => go1_19_encoding_binary.go} (64%) rename stdlib/{go1_17_encoding_csv.go => go1_19_encoding_csv.go} (95%) rename stdlib/{go1_16_encoding_gob.go => go1_19_encoding_gob.go} (97%) rename stdlib/{go1_16_encoding_hex.go => go1_19_encoding_hex.go} (96%) rename stdlib/{go1_17_encoding_json.go => go1_19_encoding_json.go} (98%) rename stdlib/{go1_16_encoding_pem.go => go1_19_encoding_pem.go} (93%) rename stdlib/{go1_17_encoding_xml.go => go1_19_encoding_xml.go} (99%) rename stdlib/{go1_17_errors.go => go1_19_errors.go} (91%) rename stdlib/{go1_16_expvar.go => go1_19_expvar.go} (97%) rename stdlib/{go1_16_flag.go => go1_19_flag.go} (95%) rename stdlib/{go1_17_fmt.go => go1_19_fmt.go} (96%) rename stdlib/{go1_17_go_ast.go => go1_19_go_ast.go} (98%) rename stdlib/{go1_17_go_build.go => go1_19_go_build.go} (97%) rename stdlib/{go1_16_go_build_constraint.go => go1_19_go_build_constraint.go} (97%) rename stdlib/{go1_16_go_constant.go => go1_19_go_constant.go} (98%) rename stdlib/{go1_17_go_doc.go => go1_19_go_doc.go} (97%) rename stdlib/{go1_17_go_format.go => go1_19_go_format.go} (90%) rename stdlib/{go1_16_go_importer.go => go1_19_go_importer.go} (93%) rename stdlib/{go1_17_go_parser.go => go1_19_go_parser.go} (96%) rename stdlib/{go1_16_go_printer.go => go1_19_go_printer.go} (95%) rename stdlib/{go1_17_go_scanner.go => go1_19_go_scanner.go} (95%) rename stdlib/{go1_17_go_token.go => go1_19_go_token.go} (98%) rename stdlib/{go1_17_go_types.go => go1_19_go_types.go} (92%) rename stdlib/{go1_17_hash.go => go1_19_hash.go} (98%) rename stdlib/{go1_16_hash_adler32.go => go1_19_hash_adler32.go} (92%) rename stdlib/{go1_16_hash_crc32.go => go1_19_hash_crc32.go} (96%) rename stdlib/{go1_17_hash_crc64.go => go1_19_hash_crc64.go} (95%) rename stdlib/{go1_16_hash_fnv.go => go1_19_hash_fnv.go} (93%) rename stdlib/{go1_17_hash_maphash.go => go1_19_hash_maphash.go} (76%) rename stdlib/{go1_16_html.go => go1_19_html.go} (90%) rename stdlib/{go1_17_html_template.go => go1_19_html_template.go} (98%) rename stdlib/{go1_17_image.go => go1_19_image.go} (99%) rename stdlib/{go1_17_image_color.go => go1_19_image_color.go} (98%) rename stdlib/{go1_16_image_color_palette.go => go1_19_image_color_palette.go} (91%) rename stdlib/{go1_17_image_draw.go => go1_19_image_draw.go} (98%) rename stdlib/{go1_17_image_gif.go => go1_19_image_gif.go} (96%) rename stdlib/{go1_17_image_jpeg.go => go1_19_image_jpeg.go} (97%) rename stdlib/{go1_17_image_png.go => go1_19_image_png.go} (97%) rename stdlib/{go1_17_index_suffixarray.go => go1_19_index_suffixarray.go} (91%) rename stdlib/{go1_16_io.go => go1_19_io.go} (99%) rename stdlib/{go1_17_io_fs.go => go1_19_io_fs.go} (98%) rename stdlib/{go1_16_io_ioutil.go => go1_19_io_ioutil.go} (94%) rename stdlib/{go1_16_log.go => go1_19_log.go} (98%) rename stdlib/{go1_16_log_syslog.go => go1_19_log_syslog.go} (95%) rename stdlib/{go1_17_math.go => go1_19_math.go} (99%) rename stdlib/{go1_17_math_big.go => go1_19_math_big.go} (98%) rename stdlib/{go1_16_math_bits.go => go1_19_math_bits.go} (98%) rename stdlib/{go1_16_math_cmplx.go => go1_19_math_cmplx.go} (97%) rename stdlib/{go1_17_math_rand.go => go1_19_math_rand.go} (98%) rename stdlib/{go1_16_mime.go => go1_19_mime.go} (96%) rename stdlib/{go1_17_mime_multipart.go => go1_19_mime_multipart.go} (97%) rename stdlib/{go1_16_mime_quotedprintable.go => go1_19_mime_quotedprintable.go} (93%) rename stdlib/{go1_16_net.go => go1_19_net.go} (98%) rename stdlib/{go1_16_net_http.go => go1_19_net_http.go} (98%) rename stdlib/{go1_16_net_http_cgi.go => go1_19_net_http_cgi.go} (93%) rename stdlib/{go1_16_net_http_cookiejar.go => go1_19_net_http_cookiejar.go} (97%) rename stdlib/{go1_16_net_http_fcgi.go => go1_19_net_http_fcgi.go} (93%) rename stdlib/{go1_16_net_http_httptest.go => go1_19_net_http_httptest.go} (96%) rename stdlib/{go1_16_net_http_httptrace.go => go1_19_net_http_httptrace.go} (95%) rename stdlib/{go1_16_net_http_httputil.go => go1_19_net_http_httputil.go} (98%) rename stdlib/{go1_17_net_http_pprof.go => go1_19_net_http_pprof.go} (93%) rename stdlib/{go1_16_net_mail.go => go1_19_net_mail.go} (95%) create mode 100644 stdlib/go1_19_net_netip.go rename stdlib/{go1_17_net_rpc.go => go1_19_net_rpc.go} (85%) rename stdlib/{go1_16_net_rpc_jsonrpc.go => go1_19_net_rpc_jsonrpc.go} (93%) rename stdlib/{go1_17_net_smtp.go => go1_19_net_smtp.go} (97%) rename stdlib/{go1_17_net_textproto.go => go1_19_net_textproto.go} (97%) rename stdlib/{go1_16_net_url.go => go1_19_net_url.go} (92%) rename stdlib/{go1_16_os.go => go1_19_os.go} (98%) rename stdlib/{go1_16_os_signal.go => go1_19_os_signal.go} (94%) rename stdlib/{go1_16_os_user.go => go1_19_os_user.go} (96%) rename stdlib/{go1_16_path.go => go1_19_path.go} (95%) rename stdlib/{go1_16_path_filepath.go => go1_19_path_filepath.go} (97%) rename stdlib/{go1_17_reflect.go => go1_19_reflect.go} (98%) rename stdlib/{go1_16_regexp.go => go1_19_regexp.go} (95%) rename stdlib/{go1_16_regexp_syntax.go => go1_19_regexp_syntax.go} (98%) rename stdlib/{go1_16_runtime.go => go1_19_runtime.go} (99%) rename stdlib/{go1_17_runtime_debug.go => go1_19_runtime_debug.go} (69%) rename stdlib/{go1_16_runtime_metrics.go => go1_19_runtime_metrics.go} (96%) rename stdlib/{go1_16_runtime_pprof.go => go1_19_runtime_pprof.go} (96%) rename stdlib/{go1_17_runtime_trace.go => go1_19_runtime_trace.go} (95%) rename stdlib/{go1_16_sort.go => go1_19_sort.go} (95%) rename stdlib/{go1_17_strconv.go => go1_19_strconv.go} (98%) rename stdlib/{go1_16_strings.go => go1_19_strings.go} (95%) rename stdlib/{go1_17_sync.go => go1_19_sync.go} (96%) rename stdlib/{go1_16_sync_atomic.go => go1_19_sync_atomic.go} (84%) rename stdlib/{go1_17_testing.go => go1_19_testing.go} (57%) rename stdlib/{go1_17_testing_fstest.go => go1_19_testing_fstest.go} (92%) rename stdlib/{go1_17_testing_iotest.go => go1_19_testing_iotest.go} (96%) rename stdlib/{go1_17_testing_quick.go => go1_19_testing_quick.go} (97%) rename stdlib/{go1_16_text_scanner.go => go1_19_text_scanner.go} (98%) rename stdlib/{go1_16_text_tabwriter.go => go1_19_text_tabwriter.go} (96%) rename stdlib/{go1_17_text_template.go => go1_19_text_template.go} (97%) rename stdlib/{go1_17_text_template_parse.go => go1_19_text_template_parse.go} (93%) rename stdlib/{go1_17_time.go => go1_19_time.go} (99%) rename stdlib/{go1_17_unicode.go => go1_19_unicode.go} (99%) rename stdlib/{go1_16_unicode_utf16.go => go1_19_unicode_utf16.go} (93%) rename stdlib/{go1_16_unicode_utf8.go => go1_19_unicode_utf8.go} (94%) delete mode 100644 stdlib/syscall/go1_17_syscall_plan9_amd64.go delete mode 100644 stdlib/syscall/go1_17_syscall_plan9_arm.go delete mode 100644 stdlib/syscall/go1_17_syscall_windows_amd64.go delete mode 100644 stdlib/syscall/go1_17_syscall_windows_arm.go delete mode 100644 stdlib/syscall/go1_17_syscall_windows_arm64.go rename stdlib/syscall/{go1_17_syscall_aix_ppc64.go => go1_18_syscall_aix_ppc64.go} (99%) rename stdlib/syscall/{go1_16_syscall_android_386.go => go1_18_syscall_android_386.go} (99%) rename stdlib/syscall/{go1_17_syscall_android_amd64.go => go1_18_syscall_android_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_arm.go => go1_18_syscall_android_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_arm64.go => go1_18_syscall_android_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_darwin_amd64.go => go1_18_syscall_darwin_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_ios_arm64.go => go1_18_syscall_darwin_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_dragonfly_amd64.go => go1_18_syscall_dragonfly_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_freebsd_386.go => go1_18_syscall_freebsd_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_freebsd_amd64.go => go1_18_syscall_freebsd_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_freebsd_arm.go => go1_18_syscall_freebsd_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_freebsd_arm64.go => go1_18_syscall_freebsd_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_illumos_amd64.go => go1_18_syscall_illumos_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_ios_amd64.go => go1_18_syscall_ios_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_ios_arm64.go => go1_18_syscall_ios_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_js_wasm.go => go1_18_syscall_js_wasm.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_386.go => go1_18_syscall_linux_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_amd64.go => go1_18_syscall_linux_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_android_arm.go => go1_18_syscall_linux_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_android_arm64.go => go1_18_syscall_linux_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_mipsle.go => go1_18_syscall_linux_mips.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_mips64.go => go1_18_syscall_linux_mips64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_mips64le.go => go1_18_syscall_linux_mips64le.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_mipsle.go => go1_18_syscall_linux_mipsle.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_ppc64.go => go1_18_syscall_linux_ppc64.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_ppc64le.go => go1_18_syscall_linux_ppc64le.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_riscv64.go => go1_18_syscall_linux_riscv64.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_s390x.go => go1_18_syscall_linux_s390x.go} (99%) rename stdlib/syscall/{go1_16_syscall_netbsd_386.go => go1_18_syscall_netbsd_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_netbsd_amd64.go => go1_18_syscall_netbsd_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_netbsd_arm.go => go1_18_syscall_netbsd_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_netbsd_arm64.go => go1_18_syscall_netbsd_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_openbsd_386.go => go1_18_syscall_openbsd_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_openbsd_amd64.go => go1_18_syscall_openbsd_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_openbsd_arm.go => go1_18_syscall_openbsd_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_openbsd_arm64.go => go1_18_syscall_openbsd_arm64.go} (99%) rename stdlib/syscall/{go1_16_syscall_openbsd_mips64.go => go1_18_syscall_openbsd_mips64.go} (99%) rename stdlib/syscall/{go1_16_syscall_plan9_arm.go => go1_18_syscall_plan9_386.go} (99%) create mode 100644 stdlib/syscall/go1_18_syscall_plan9_amd64.go create mode 100644 stdlib/syscall/go1_18_syscall_plan9_arm.go rename stdlib/syscall/{go1_16_syscall_solaris_amd64.go => go1_18_syscall_solaris_amd64.go} (99%) create mode 100644 stdlib/syscall/go1_18_syscall_windows_386.go create mode 100644 stdlib/syscall/go1_18_syscall_windows_amd64.go create mode 100644 stdlib/syscall/go1_18_syscall_windows_arm.go create mode 100644 stdlib/syscall/go1_18_syscall_windows_arm64.go rename stdlib/syscall/{go1_16_syscall_aix_ppc64.go => go1_19_syscall_aix_ppc64.go} (99%) rename stdlib/syscall/{go1_17_syscall_android_386.go => go1_19_syscall_android_386.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_amd64.go => go1_19_syscall_android_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_android_arm.go => go1_19_syscall_android_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_arm64.go => go1_19_syscall_android_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_darwin_amd64.go => go1_19_syscall_darwin_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_darwin_arm64.go => go1_19_syscall_darwin_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_dragonfly_amd64.go => go1_19_syscall_dragonfly_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_freebsd_386.go => go1_19_syscall_freebsd_386.go} (99%) rename stdlib/syscall/{go1_17_syscall_freebsd_amd64.go => go1_19_syscall_freebsd_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_freebsd_arm.go => go1_19_syscall_freebsd_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_freebsd_arm64.go => go1_19_syscall_freebsd_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_illumos_amd64.go => go1_19_syscall_illumos_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_ios_amd64.go => go1_19_syscall_ios_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_darwin_arm64.go => go1_19_syscall_ios_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_js_wasm.go => go1_19_syscall_js_wasm.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_386.go => go1_19_syscall_linux_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_android_amd64.go => go1_19_syscall_linux_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_arm.go => go1_19_syscall_linux_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_android_arm64.go => go1_19_syscall_linux_arm64.go} (99%) create mode 100644 stdlib/syscall/go1_19_syscall_linux_loong64.go rename stdlib/syscall/{go1_17_syscall_linux_mips.go => go1_19_syscall_linux_mips.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_mips64le.go => go1_19_syscall_linux_mips64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_mips64.go => go1_19_syscall_linux_mips64le.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_mips.go => go1_19_syscall_linux_mipsle.go} (99%) rename stdlib/syscall/{go1_16_syscall_linux_ppc64.go => go1_19_syscall_linux_ppc64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_ppc64le.go => go1_19_syscall_linux_ppc64le.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_riscv64.go => go1_19_syscall_linux_riscv64.go} (99%) rename stdlib/syscall/{go1_17_syscall_linux_s390x.go => go1_19_syscall_linux_s390x.go} (99%) rename stdlib/syscall/{go1_17_syscall_netbsd_386.go => go1_19_syscall_netbsd_386.go} (99%) rename stdlib/syscall/{go1_17_syscall_netbsd_arm64.go => go1_19_syscall_netbsd_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_netbsd_arm.go => go1_19_syscall_netbsd_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_netbsd_amd64.go => go1_19_syscall_netbsd_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_openbsd_386.go => go1_19_syscall_openbsd_386.go} (99%) rename stdlib/syscall/{go1_17_syscall_openbsd_amd64.go => go1_19_syscall_openbsd_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_openbsd_arm.go => go1_19_syscall_openbsd_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_openbsd_arm64.go => go1_19_syscall_openbsd_arm64.go} (99%) rename stdlib/syscall/{go1_17_syscall_openbsd_mips64.go => go1_19_syscall_openbsd_mips64.go} (99%) rename stdlib/syscall/{go1_17_syscall_plan9_386.go => go1_19_syscall_plan9_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_plan9_386.go => go1_19_syscall_plan9_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_plan9_amd64.go => go1_19_syscall_plan9_arm.go} (99%) rename stdlib/syscall/{go1_17_syscall_solaris_amd64.go => go1_19_syscall_solaris_amd64.go} (99%) rename stdlib/syscall/{go1_16_syscall_windows_386.go => go1_19_syscall_windows_386.go} (99%) rename stdlib/syscall/{go1_16_syscall_windows_arm.go => go1_19_syscall_windows_amd64.go} (99%) rename stdlib/syscall/{go1_17_syscall_windows_386.go => go1_19_syscall_windows_arm.go} (99%) rename stdlib/syscall/{go1_16_syscall_windows_amd64.go => go1_19_syscall_windows_arm64.go} (99%) delete mode 100644 stdlib/unrestricted/go1_16_syscall_freebsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_386.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_amd64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_arm.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_arm64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_mips64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_mips64le.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_ppc64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_ppc64le.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_linux_riscv64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_netbsd_386.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_netbsd_amd64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_netbsd_arm.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_netbsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_openbsd_386.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_openbsd_amd64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_openbsd_arm.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_openbsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_16_syscall_openbsd_mips64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_android_386.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_android_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_android_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_android_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_darwin_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_darwin_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_dragonfly_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_freebsd_386.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_freebsd_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_freebsd_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_freebsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_ios_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_ios_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_386.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_mips64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_mips64le.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_ppc64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_ppc64le.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_linux_riscv64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_netbsd_386.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_netbsd_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_netbsd_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_netbsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_openbsd_386.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_openbsd_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_openbsd_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_openbsd_arm64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_openbsd_mips64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_plan9_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_plan9_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_windows_amd64.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_windows_arm.go delete mode 100644 stdlib/unrestricted/go1_17_syscall_windows_arm64.go rename stdlib/unrestricted/{go1_17_syscall_aix_ppc64.go => go1_18_syscall_aix_ppc64.go} (96%) create mode 100644 stdlib/unrestricted/go1_18_syscall_android_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_android_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_android_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_android_arm64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_darwin_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_darwin_arm64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_dragonfly_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_freebsd_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_freebsd_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_freebsd_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_freebsd_arm64.go rename stdlib/unrestricted/{go1_17_syscall_illumos_amd64.go => go1_18_syscall_illumos_amd64.go} (91%) create mode 100644 stdlib/unrestricted/go1_18_syscall_ios_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_ios_arm64.go rename stdlib/unrestricted/{go1_17_syscall_js_wasm.go => go1_18_syscall_js_wasm.go} (92%) create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_arm64.go rename stdlib/unrestricted/{go1_17_syscall_linux_mips.go => go1_18_syscall_linux_mips.go} (97%) create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_mips64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_mips64le.go rename stdlib/unrestricted/{go1_17_syscall_linux_mipsle.go => go1_18_syscall_linux_mipsle.go} (97%) create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_ppc64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_ppc64le.go create mode 100644 stdlib/unrestricted/go1_18_syscall_linux_riscv64.go rename stdlib/unrestricted/{go1_17_syscall_linux_s390x.go => go1_18_syscall_linux_s390x.go} (97%) create mode 100644 stdlib/unrestricted/go1_18_syscall_netbsd_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_netbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_netbsd_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_netbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_openbsd_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_openbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_openbsd_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_openbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_openbsd_mips64.go rename stdlib/unrestricted/{go1_16_syscall_plan9_amd64.go => go1_18_syscall_plan9_386.go} (92%) create mode 100644 stdlib/unrestricted/go1_18_syscall_plan9_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_plan9_arm.go rename stdlib/unrestricted/{go1_17_syscall_solaris_amd64.go => go1_18_syscall_solaris_amd64.go} (92%) create mode 100644 stdlib/unrestricted/go1_18_syscall_windows_386.go create mode 100644 stdlib/unrestricted/go1_18_syscall_windows_amd64.go create mode 100644 stdlib/unrestricted/go1_18_syscall_windows_arm.go create mode 100644 stdlib/unrestricted/go1_18_syscall_windows_arm64.go rename stdlib/unrestricted/{go1_16_syscall_aix_ppc64.go => go1_19_syscall_aix_ppc64.go} (97%) create mode 100644 stdlib/unrestricted/go1_19_syscall_android_386.go create mode 100644 stdlib/unrestricted/go1_19_syscall_android_amd64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_android_arm.go create mode 100644 stdlib/unrestricted/go1_19_syscall_android_arm64.go rename stdlib/unrestricted/{go1_16_syscall_ios_amd64.go => go1_19_syscall_darwin_amd64.go} (96%) rename stdlib/unrestricted/{go1_16_syscall_darwin_amd64.go => go1_19_syscall_darwin_arm64.go} (96%) rename stdlib/unrestricted/{go1_16_syscall_freebsd_386.go => go1_19_syscall_dragonfly_amd64.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_freebsd_amd64.go => go1_19_syscall_freebsd_386.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_freebsd_arm.go => go1_19_syscall_freebsd_amd64.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_dragonfly_amd64.go => go1_19_syscall_freebsd_arm.go} (95%) create mode 100644 stdlib/unrestricted/go1_19_syscall_freebsd_arm64.go rename stdlib/unrestricted/{go1_16_syscall_illumos_amd64.go => go1_19_syscall_illumos_amd64.go} (93%) rename stdlib/unrestricted/{go1_16_syscall_darwin_arm64.go => go1_19_syscall_ios_amd64.go} (96%) rename stdlib/unrestricted/{go1_16_syscall_ios_arm64.go => go1_19_syscall_ios_arm64.go} (96%) rename stdlib/unrestricted/{go1_16_syscall_js_wasm.go => go1_19_syscall_js_wasm.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_android_arm64.go => go1_19_syscall_linux_386.go} (98%) rename stdlib/unrestricted/{go1_16_syscall_android_386.go => go1_19_syscall_linux_amd64.go} (98%) rename stdlib/unrestricted/{go1_16_syscall_android_amd64.go => go1_19_syscall_linux_arm.go} (98%) rename stdlib/unrestricted/{go1_16_syscall_android_arm.go => go1_19_syscall_linux_arm64.go} (98%) create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_loong64.go rename stdlib/unrestricted/{go1_16_syscall_linux_mips.go => go1_19_syscall_linux_mips.go} (98%) create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_mips64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_mips64le.go rename stdlib/unrestricted/{go1_16_syscall_linux_mipsle.go => go1_19_syscall_linux_mipsle.go} (98%) create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_ppc64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_ppc64le.go create mode 100644 stdlib/unrestricted/go1_19_syscall_linux_riscv64.go rename stdlib/unrestricted/{go1_16_syscall_linux_s390x.go => go1_19_syscall_linux_s390x.go} (98%) create mode 100644 stdlib/unrestricted/go1_19_syscall_netbsd_386.go create mode 100644 stdlib/unrestricted/go1_19_syscall_netbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_netbsd_arm.go create mode 100644 stdlib/unrestricted/go1_19_syscall_netbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_openbsd_386.go create mode 100644 stdlib/unrestricted/go1_19_syscall_openbsd_amd64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_openbsd_arm.go create mode 100644 stdlib/unrestricted/go1_19_syscall_openbsd_arm64.go create mode 100644 stdlib/unrestricted/go1_19_syscall_openbsd_mips64.go rename stdlib/unrestricted/{go1_17_syscall_plan9_386.go => go1_19_syscall_plan9_386.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_plan9_arm.go => go1_19_syscall_plan9_amd64.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_plan9_386.go => go1_19_syscall_plan9_arm.go} (95%) rename stdlib/unrestricted/{go1_16_syscall_solaris_amd64.go => go1_19_syscall_solaris_amd64.go} (94%) rename stdlib/unrestricted/{go1_16_syscall_windows_arm.go => go1_19_syscall_windows_386.go} (91%) rename stdlib/unrestricted/{go1_17_syscall_windows_386.go => go1_19_syscall_windows_amd64.go} (91%) rename stdlib/unrestricted/{go1_16_syscall_windows_386.go => go1_19_syscall_windows_arm.go} (91%) rename stdlib/unrestricted/{go1_16_syscall_windows_amd64.go => go1_19_syscall_windows_arm64.go} (91%) rename stdlib/unsafe/{go1_17_unsafe.go => go1_18_unsafe.go} (82%) rename stdlib/unsafe/{go1_16_unsafe.go => go1_19_unsafe.go} (88%) delete mode 100644 stdlib/unsafe/unsafe_go1.17.go diff --git a/.github/workflows/go-cross.yml b/.github/workflows/go-cross.yml index 30abeeee9..d92a531b3 100644 --- a/.github/workflows/go-cross.yml +++ b/.github/workflows/go-cross.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - go-version: [ 1.16, 1.17 ] + go-version: [ 1.18, 1.19.0-rc2 ] os: [ubuntu-latest, macos-latest, windows-latest] include: @@ -34,6 +34,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} + stable: false # https://github.com/marketplace/actions/checkout - name: Checkout code diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 862083764..5d55be4f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,8 @@ on: pull_request: env: - GO_VERSION: 1.17 - GOLANGCI_LINT_VERSION: v1.42.1 + GO_VERSION: 1.18 + GOLANGCI_LINT_VERSION: v1.47.1 jobs: @@ -45,12 +45,13 @@ jobs: needs: linting strategy: matrix: - go-version: [ 1.16, 1.17 ] + go-version: [ 1.18, 1.19.0-rc2 ] steps: - name: Set up Go ${{ matrix.go-version }} uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} + stable: false - name: Check out code uses: actions/checkout@v2 @@ -75,13 +76,14 @@ jobs: working-directory: ${{ github.workspace }}/go/src/github.com/traefik/yaegi strategy: matrix: - go-version: [ 1.16, 1.17 ] + go-version: [ 1.18, 1.19.0-rc2 ] steps: - name: Set up Go ${{ matrix.go-version }} uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} + stable: false - name: Check out code uses: actions/checkout@v2 diff --git a/.golangci.toml b/.golangci.toml index ad6f1cebf..af3316c0f 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -27,6 +27,7 @@ "scopelint", # deprecated "interfacer", # deprecated "maligned", # deprecated + "exhaustivestruct", # deprecated "lll", "gas", "dupl", @@ -49,10 +50,15 @@ "wrapcheck", "nestif", "exhaustive", - "exhaustivestruct", + "exhaustruct", "forbidigo", "ifshort", "forcetypeassert", + "varnamelen", + "nosnakecase", + "nonamedreturns", + "nilnil", + "maintidx", "errorlint", # TODO: must be reactivate before fixes ] @@ -81,3 +87,6 @@ [[issues.exclude-rules]] path = "interp/interp_eval_test.go" linters = ["thelper"] + [[issues.exclude-rules]] + path = "interp/debugger.go" + linters = ["containedctx"] diff --git a/README.md b/README.md index cfb0e4d68..3a87490af 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It powers executable Go scripts and plugins, in embedded interpreters or interac * Works everywhere Go works * All Go & runtime resources accessible from script (with control) * Security: `unsafe` and `syscall` packages neither used nor exported by default -* Support Go 1.16 and Go 1.17 (the latest 2 major releases) +* Support Go 1.18 and Go 1.19 (the latest 2 major releases) ## Install diff --git a/example/fs/fs_test.go b/example/fs/fs_test.go index 040d05e19..b9bf7ef7d 100644 --- a/example/fs/fs_test.go +++ b/example/fs/fs_test.go @@ -2,9 +2,7 @@ package fs1 import ( "testing" - - // only available from 1.16. - "testing/fstest" + "testing/fstest" // only available from 1.16. "github.com/traefik/yaegi/interp" "github.com/traefik/yaegi/stdlib" diff --git a/extract/extract.go b/extract/extract.go index ec4cdd454..298f168c9 100644 --- a/extract/extract.go +++ b/extract/extract.go @@ -194,6 +194,11 @@ func (e *Extractor) genContent(importPath string, p *types.Package) ([]byte, err case *types.Var: val[name] = Val{pname, true} case *types.TypeName: + // Skip type if it is generic. + if t, ok := o.Type().(*types.Named); ok && t.TypeParams().Len() > 0 { + continue + } + typ[name] = pname if t, ok := o.Type().Underlying().(*types.Interface); ok { var methods []Method @@ -463,7 +468,7 @@ func GetMinor(part string) string { return minor } -const defaultMinorVersion = 17 +const defaultMinorVersion = 19 func genBuildTags() (string, error) { version := runtime.Version() diff --git a/go.mod b/go.mod index ba0618d51..d4a2c9c0f 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/traefik/yaegi -go 1.16 +go 1.18 diff --git a/interp/interp.go b/interp/interp.go index a8003323b..75a1da329 100644 --- a/interp/interp.go +++ b/interp/interp.go @@ -425,6 +425,7 @@ const ( func initUniverse() *scope { sc := &scope{global: true, sym: map[string]*symbol{ // predefined Go types + "any": {kind: typeSym, typ: &itype{cat: interfaceT, str: "any"}}, "bool": {kind: typeSym, typ: &itype{cat: boolT, name: "bool", str: "bool"}}, "byte": {kind: typeSym, typ: &itype{cat: uint8T, name: "uint8", str: "uint8"}}, "complex64": {kind: typeSym, typ: &itype{cat: complex64T, name: "complex64", str: "complex64"}}, diff --git a/interp/interp_consistent_test.go b/interp/interp_consistent_test.go index ab46d3e77..1b5a684e9 100644 --- a/interp/interp_consistent_test.go +++ b/interp/interp_consistent_test.go @@ -6,7 +6,6 @@ import ( "os" "os/exec" "path/filepath" - "runtime" "strings" "testing" @@ -181,12 +180,6 @@ func TestInterpConsistencyBuild(t *testing.T) { } func TestInterpErrorConsistency(t *testing.T) { - if runtime.Version() >= "go1.18" { - // Error messages have changed a lot between go1.17 and go1.18. - // Skip testing on go1.18 and beyond while we support go1.17. - // It can be re-enabled after dropping go1.17. - t.Skip("skip go1.18+") - } testCases := []struct { fileName string expectedInterp string @@ -195,12 +188,12 @@ func TestInterpErrorConsistency(t *testing.T) { { fileName: "assign11.go", expectedInterp: "6:2: assignment mismatch: 3 variables but fmt.Println returns 2 values", - expectedExec: "6:10: assignment mismatch: 3 variables but fmt.Println returns 2 values", + expectedExec: "6:12: assignment mismatch: 3 variables but fmt.Println returns 2 values", }, { fileName: "assign12.go", expectedInterp: "6:2: assignment mismatch: 3 variables but fmt.Println returns 2 values", - expectedExec: "6:10: assignment mismatch: 3 variables but fmt.Println returns 2 values", + expectedExec: "6:13: assignment mismatch: 3 variables but fmt.Println returns 2 values", }, { fileName: "bad0.go", @@ -220,46 +213,47 @@ func TestInterpErrorConsistency(t *testing.T) { { fileName: "const9.go", expectedInterp: "5:2: constant definition loop", - expectedExec: "5:2: constant definition loop", + expectedExec: "5:2: initialization loop for b", }, { fileName: "if2.go", expectedInterp: "7:5: non-bool used as if condition", - expectedExec: "7:2: non-bool i % 1000000 (type int) used as if condition", + expectedExec: "7:5: non-boolean condition in if statement", }, { fileName: "for7.go", expectedInterp: "4:14: non-bool used as for condition", - expectedExec: "4:2: non-bool i (type int) used as for condition", + expectedExec: "4:14: non-boolean condition in for statement", }, { fileName: "fun21.go", expectedInterp: "4:2: not enough arguments to return", - expectedExec: "4:2: not enough arguments to return", + expectedExec: "4:2: not enough return values", }, { fileName: "fun22.go", expectedInterp: "6:2: not enough arguments in call to time.Date", - expectedExec: "6:11: not enough arguments in call to time.Date", + expectedExec: "6:2: not enough arguments in call to time.Date", }, { fileName: "fun23.go", expectedInterp: "3:17: too many arguments to return", - expectedExec: "3:17: too many arguments to return", + expectedExec: "3:24: too many return values", }, { fileName: "issue-1093.go", expectedInterp: "9:6: cannot use type untyped string as type int in assignment", - expectedExec: `9:4: cannot use "a" + b() (type string) as type int in assignment`, + expectedExec: `9:6: cannot use "a" + b() (value of type string) as type int in assignment`, }, { fileName: "op1.go", expectedInterp: "5:2: invalid operation: mismatched types int and untyped float", - expectedExec: "5:4: constant 1.3 truncated to integer", + expectedExec: "5:7: 1.3 (untyped float constant) truncated to int", }, { fileName: "bltn0.go", expectedInterp: "4:7: use of builtin println not in function call", + expectedExec: "4:7: println (built-in) must be called", }, { fileName: "import6.go", @@ -274,17 +268,17 @@ func TestInterpErrorConsistency(t *testing.T) { { fileName: "switch9.go", expectedInterp: "9:3: cannot fallthrough in type switch", - expectedExec: "9:3: cannot fallthrough in type switch", + expectedExec: "fallthrough", }, { fileName: "switch13.go", expectedInterp: "9:2: i is not a type", - expectedExec: "9:2: i (type interface {}) is not a type", + expectedExec: "9:7: i (variable of type interface{}) is not a type", }, { fileName: "switch19.go", expectedInterp: "37:2: duplicate case Bir in type switch", - expectedExec: "37:2: duplicate case Bir in type switch", + expectedExec: "37:7: duplicate case Bir in type switch", }, } diff --git a/interp/interp_eval_test.go b/interp/interp_eval_test.go index 22968b9a7..cc5b5eab8 100644 --- a/interp/interp_eval_test.go +++ b/interp/interp_eval_test.go @@ -1010,7 +1010,7 @@ const goMinorVersionTest = 16 func TestHasIOFS(t *testing.T) { code := ` -// +build go1.16 +// +build go1.18 package main @@ -1048,6 +1048,8 @@ func main() { var minor int var err error version := runtime.Version() + version = strings.Replace(version, "beta", ".", 1) + version = strings.Replace(version, "rc", ".", 1) fields := strings.Fields(version) // Go stable if len(fields) == 1 { @@ -1597,10 +1599,8 @@ func TestREPLCommands(t *testing.T) { if testing.Short() { return } - _ = os.Setenv("YAEGI_PROMPT", "1") // To force prompts over non-tty streams - defer func() { - _ = os.Setenv("YAEGI_PROMPT", "0") - }() + t.Setenv("YAEGI_PROMPT", "1") // To force prompts over non-tty streams + allDone := make(chan bool) runREPL := func() { done := make(chan error) diff --git a/interp/interp_file_test.go b/interp/interp_file_test.go index 96af5f1f5..f29b117df 100644 --- a/interp/interp_file_test.go +++ b/interp/interp_file_test.go @@ -19,10 +19,7 @@ func TestFile(t *testing.T) { filePath := "../_test/str.go" runCheck(t, filePath) - defer func() { - _ = os.Setenv("YAEGI_SPECIAL_STDIO", "0") - }() - _ = os.Setenv("YAEGI_SPECIAL_STDIO", "1") + t.Setenv("YAEGI_SPECIAL_STDIO", "1") baseDir := filepath.Join("..", "_test") files, err := os.ReadDir(baseDir) diff --git a/stdlib/go1_16_go_parser.go b/stdlib/go1_16_go_parser.go deleted file mode 100644 index bda811db6..000000000 --- a/stdlib/go1_16_go_parser.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by 'yaegi extract go/parser'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package stdlib - -import ( - "go/parser" - "reflect" -) - -func init() { - Symbols["go/parser/parser"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllErrors": reflect.ValueOf(parser.AllErrors), - "DeclarationErrors": reflect.ValueOf(parser.DeclarationErrors), - "ImportsOnly": reflect.ValueOf(parser.ImportsOnly), - "PackageClauseOnly": reflect.ValueOf(parser.PackageClauseOnly), - "ParseComments": reflect.ValueOf(parser.ParseComments), - "ParseDir": reflect.ValueOf(parser.ParseDir), - "ParseExpr": reflect.ValueOf(parser.ParseExpr), - "ParseExprFrom": reflect.ValueOf(parser.ParseExprFrom), - "ParseFile": reflect.ValueOf(parser.ParseFile), - "SpuriousErrors": reflect.ValueOf(parser.SpuriousErrors), - "Trace": reflect.ValueOf(parser.Trace), - - // type definitions - "Mode": reflect.ValueOf((*parser.Mode)(nil)), - } -} diff --git a/stdlib/go1_17_archive_tar.go b/stdlib/go1_18_archive_tar.go similarity index 97% rename from stdlib/go1_17_archive_tar.go rename to stdlib/go1_18_archive_tar.go index 822acf66b..e097be1b5 100644 --- a/stdlib/go1_17_archive_tar.go +++ b/stdlib/go1_18_archive_tar.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract archive/tar'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_archive_zip.go b/stdlib/go1_18_archive_zip.go similarity index 96% rename from stdlib/go1_17_archive_zip.go rename to stdlib/go1_18_archive_zip.go index c91dc0c4f..6b825511e 100644 --- a/stdlib/go1_17_archive_zip.go +++ b/stdlib/go1_18_archive_zip.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract archive/zip'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_bufio.go b/stdlib/go1_18_bufio.go similarity index 97% rename from stdlib/go1_16_bufio.go rename to stdlib/go1_18_bufio.go index 23d754fd1..021390233 100644 --- a/stdlib/go1_16_bufio.go +++ b/stdlib/go1_18_bufio.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract bufio'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_bytes.go b/stdlib/go1_18_bytes.go similarity index 96% rename from stdlib/go1_16_bytes.go rename to stdlib/go1_18_bytes.go index 0957c0d2d..6d75a6cdd 100644 --- a/stdlib/go1_16_bytes.go +++ b/stdlib/go1_18_bytes.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract bytes'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -19,6 +20,7 @@ func init() { "ContainsAny": reflect.ValueOf(bytes.ContainsAny), "ContainsRune": reflect.ValueOf(bytes.ContainsRune), "Count": reflect.ValueOf(bytes.Count), + "Cut": reflect.ValueOf(bytes.Cut), "Equal": reflect.ValueOf(bytes.Equal), "EqualFold": reflect.ValueOf(bytes.EqualFold), "ErrTooLarge": reflect.ValueOf(&bytes.ErrTooLarge).Elem(), diff --git a/stdlib/go1_17_compress_bzip2.go b/stdlib/go1_18_compress_bzip2.go similarity index 87% rename from stdlib/go1_17_compress_bzip2.go rename to stdlib/go1_18_compress_bzip2.go index 5911bdc59..b62263fce 100644 --- a/stdlib/go1_17_compress_bzip2.go +++ b/stdlib/go1_18_compress_bzip2.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract compress/bzip2'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_compress_flate.go b/stdlib/go1_18_compress_flate.go similarity index 97% rename from stdlib/go1_16_compress_flate.go rename to stdlib/go1_18_compress_flate.go index ad2e698c4..34363fb6c 100644 --- a/stdlib/go1_16_compress_flate.go +++ b/stdlib/go1_18_compress_flate.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract compress/flate'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_compress_gzip.go b/stdlib/go1_18_compress_gzip.go similarity index 95% rename from stdlib/go1_17_compress_gzip.go rename to stdlib/go1_18_compress_gzip.go index cf27c5d1a..c696d6f27 100644 --- a/stdlib/go1_17_compress_gzip.go +++ b/stdlib/go1_18_compress_gzip.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract compress/gzip'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_compress_lzw.go b/stdlib/go1_18_compress_lzw.go similarity index 68% rename from stdlib/go1_16_compress_lzw.go rename to stdlib/go1_18_compress_lzw.go index 15c21aca8..f02ef61be 100644 --- a/stdlib/go1_16_compress_lzw.go +++ b/stdlib/go1_18_compress_lzw.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract compress/lzw'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -18,6 +19,8 @@ func init() { "NewWriter": reflect.ValueOf(lzw.NewWriter), // type definitions - "Order": reflect.ValueOf((*lzw.Order)(nil)), + "Order": reflect.ValueOf((*lzw.Order)(nil)), + "Reader": reflect.ValueOf((*lzw.Reader)(nil)), + "Writer": reflect.ValueOf((*lzw.Writer)(nil)), } } diff --git a/stdlib/go1_17_compress_zlib.go b/stdlib/go1_18_compress_zlib.go similarity index 96% rename from stdlib/go1_17_compress_zlib.go rename to stdlib/go1_18_compress_zlib.go index b7b9bd0d6..cd768fa87 100644 --- a/stdlib/go1_17_compress_zlib.go +++ b/stdlib/go1_18_compress_zlib.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract compress/zlib'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_container_heap.go b/stdlib/go1_18_container_heap.go similarity index 85% rename from stdlib/go1_16_container_heap.go rename to stdlib/go1_18_container_heap.go index 91c1a7120..7ac3579e6 100644 --- a/stdlib/go1_16_container_heap.go +++ b/stdlib/go1_18_container_heap.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract container/heap'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -31,8 +32,8 @@ type _container_heap_Interface struct { IValue interface{} WLen func() int WLess func(i int, j int) bool - WPop func() interface{} - WPush func(x interface{}) + WPop func() any + WPush func(x any) WSwap func(i int, j int) } @@ -42,10 +43,10 @@ func (W _container_heap_Interface) Len() int { func (W _container_heap_Interface) Less(i int, j int) bool { return W.WLess(i, j) } -func (W _container_heap_Interface) Pop() interface{} { +func (W _container_heap_Interface) Pop() any { return W.WPop() } -func (W _container_heap_Interface) Push(x interface{}) { +func (W _container_heap_Interface) Push(x any) { W.WPush(x) } func (W _container_heap_Interface) Swap(i int, j int) { diff --git a/stdlib/go1_16_container_list.go b/stdlib/go1_18_container_list.go similarity index 88% rename from stdlib/go1_16_container_list.go rename to stdlib/go1_18_container_list.go index 369b59c0d..bd351b00d 100644 --- a/stdlib/go1_16_container_list.go +++ b/stdlib/go1_18_container_list.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract container/list'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_container_ring.go b/stdlib/go1_18_container_ring.go similarity index 86% rename from stdlib/go1_16_container_ring.go rename to stdlib/go1_18_container_ring.go index 84bc2d25f..3d4523efc 100644 --- a/stdlib/go1_16_container_ring.go +++ b/stdlib/go1_18_container_ring.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract container/ring'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_context.go b/stdlib/go1_18_context.go similarity index 91% rename from stdlib/go1_16_context.go rename to stdlib/go1_18_context.go index d8bb63bc3..c31349664 100644 --- a/stdlib/go1_16_context.go +++ b/stdlib/go1_18_context.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract context'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -37,7 +38,7 @@ type _context_Context struct { WDeadline func() (deadline time.Time, ok bool) WDone func() <-chan struct{} WErr func() error - WValue func(key interface{}) interface{} + WValue func(key any) any } func (W _context_Context) Deadline() (deadline time.Time, ok bool) { @@ -49,6 +50,6 @@ func (W _context_Context) Done() <-chan struct{} { func (W _context_Context) Err() error { return W.WErr() } -func (W _context_Context) Value(key interface{}) interface{} { +func (W _context_Context) Value(key any) any { return W.WValue(key) } diff --git a/stdlib/go1_17_crypto.go b/stdlib/go1_18_crypto.go similarity index 98% rename from stdlib/go1_17_crypto.go rename to stdlib/go1_18_crypto.go index aaed53664..ce27a3f16 100644 --- a/stdlib/go1_17_crypto.go +++ b/stdlib/go1_18_crypto.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_aes.go b/stdlib/go1_18_crypto_aes.go similarity index 89% rename from stdlib/go1_16_crypto_aes.go rename to stdlib/go1_18_crypto_aes.go index 3068a70a2..ad4b2766a 100644 --- a/stdlib/go1_16_crypto_aes.go +++ b/stdlib/go1_18_crypto_aes.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_cipher.go b/stdlib/go1_18_crypto_cipher.go similarity index 98% rename from stdlib/go1_16_crypto_cipher.go rename to stdlib/go1_18_crypto_cipher.go index 7c713a9c4..47db633bf 100644 --- a/stdlib/go1_16_crypto_cipher.go +++ b/stdlib/go1_18_crypto_cipher.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/cipher'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_des.go b/stdlib/go1_18_crypto_des.go similarity index 91% rename from stdlib/go1_17_crypto_des.go rename to stdlib/go1_18_crypto_des.go index ab848fe6b..37c5a6b97 100644 --- a/stdlib/go1_17_crypto_des.go +++ b/stdlib/go1_18_crypto_des.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/des'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_dsa.go b/stdlib/go1_18_crypto_dsa.go similarity index 95% rename from stdlib/go1_17_crypto_dsa.go rename to stdlib/go1_18_crypto_dsa.go index 3d1da4f49..fa0221435 100644 --- a/stdlib/go1_17_crypto_dsa.go +++ b/stdlib/go1_18_crypto_dsa.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/dsa'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_ecdsa.go b/stdlib/go1_18_crypto_ecdsa.go similarity index 92% rename from stdlib/go1_17_crypto_ecdsa.go rename to stdlib/go1_18_crypto_ecdsa.go index f75406603..76ef4eabb 100644 --- a/stdlib/go1_17_crypto_ecdsa.go +++ b/stdlib/go1_18_crypto_ecdsa.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_ed25519.go b/stdlib/go1_18_crypto_ed25519.go similarity index 94% rename from stdlib/go1_16_crypto_ed25519.go rename to stdlib/go1_18_crypto_ed25519.go index 41f05f8aa..e198858bb 100644 --- a/stdlib/go1_16_crypto_ed25519.go +++ b/stdlib/go1_18_crypto_ed25519.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/ed25519'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_elliptic.go b/stdlib/go1_18_crypto_elliptic.go similarity index 97% rename from stdlib/go1_16_crypto_elliptic.go rename to stdlib/go1_18_crypto_elliptic.go index 0d9b603ae..987b302e1 100644 --- a/stdlib/go1_16_crypto_elliptic.go +++ b/stdlib/go1_18_crypto_elliptic.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/elliptic'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_hmac.go b/stdlib/go1_18_crypto_hmac.go similarity index 85% rename from stdlib/go1_17_crypto_hmac.go rename to stdlib/go1_18_crypto_hmac.go index b768b9416..755d9ed40 100644 --- a/stdlib/go1_17_crypto_hmac.go +++ b/stdlib/go1_18_crypto_hmac.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/hmac'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_md5.go b/stdlib/go1_18_crypto_md5.go similarity index 90% rename from stdlib/go1_16_crypto_md5.go rename to stdlib/go1_18_crypto_md5.go index afff13cc9..d2fbd82df 100644 --- a/stdlib/go1_16_crypto_md5.go +++ b/stdlib/go1_18_crypto_md5.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/md5'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_rand.go b/stdlib/go1_18_crypto_rand.go similarity index 88% rename from stdlib/go1_17_crypto_rand.go rename to stdlib/go1_18_crypto_rand.go index 3912ab949..1c9095e8c 100644 --- a/stdlib/go1_17_crypto_rand.go +++ b/stdlib/go1_18_crypto_rand.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_rc4.go b/stdlib/go1_18_crypto_rc4.go similarity index 88% rename from stdlib/go1_16_crypto_rc4.go rename to stdlib/go1_18_crypto_rc4.go index 588834009..e933eaa0c 100644 --- a/stdlib/go1_16_crypto_rc4.go +++ b/stdlib/go1_18_crypto_rc4.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/rc4'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_rsa.go b/stdlib/go1_18_crypto_rsa.go similarity index 97% rename from stdlib/go1_16_crypto_rsa.go rename to stdlib/go1_18_crypto_rsa.go index b98d18850..a3ea8427d 100644 --- a/stdlib/go1_16_crypto_rsa.go +++ b/stdlib/go1_18_crypto_rsa.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/rsa'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_sha1.go b/stdlib/go1_18_crypto_sha1.go similarity index 90% rename from stdlib/go1_16_crypto_sha1.go rename to stdlib/go1_18_crypto_sha1.go index 4e5779ef7..980ae1c3b 100644 --- a/stdlib/go1_16_crypto_sha1.go +++ b/stdlib/go1_18_crypto_sha1.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/sha1'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_sha256.go b/stdlib/go1_18_crypto_sha256.go similarity index 92% rename from stdlib/go1_16_crypto_sha256.go rename to stdlib/go1_18_crypto_sha256.go index c08613529..9bb4abb5c 100644 --- a/stdlib/go1_16_crypto_sha256.go +++ b/stdlib/go1_18_crypto_sha256.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/sha256'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_sha512.go b/stdlib/go1_18_crypto_sha512.go similarity index 95% rename from stdlib/go1_17_crypto_sha512.go rename to stdlib/go1_18_crypto_sha512.go index 84506b486..0f2b5f964 100644 --- a/stdlib/go1_17_crypto_sha512.go +++ b/stdlib/go1_18_crypto_sha512.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/sha512'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_subtle.go b/stdlib/go1_18_crypto_subtle.go similarity index 92% rename from stdlib/go1_17_crypto_subtle.go rename to stdlib/go1_18_crypto_subtle.go index ca6187d2c..ff4f83bff 100644 --- a/stdlib/go1_17_crypto_subtle.go +++ b/stdlib/go1_18_crypto_subtle.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/subtle'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_tls.go b/stdlib/go1_18_crypto_tls.go similarity index 99% rename from stdlib/go1_17_crypto_tls.go rename to stdlib/go1_18_crypto_tls.go index 99a86e1f6..94ab1d349 100644 --- a/stdlib/go1_17_crypto_tls.go +++ b/stdlib/go1_18_crypto_tls.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/tls'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_x509.go b/stdlib/go1_18_crypto_x509.go similarity index 99% rename from stdlib/go1_16_crypto_x509.go rename to stdlib/go1_18_crypto_x509.go index f6554278a..b6bc805d8 100644 --- a/stdlib/go1_16_crypto_x509.go +++ b/stdlib/go1_18_crypto_x509.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_x509_pkix.go b/stdlib/go1_18_crypto_x509_pkix.go similarity index 95% rename from stdlib/go1_17_crypto_x509_pkix.go rename to stdlib/go1_18_crypto_x509_pkix.go index 3d3bfa273..a2720591e 100644 --- a/stdlib/go1_17_crypto_x509_pkix.go +++ b/stdlib/go1_18_crypto_x509_pkix.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/x509/pkix'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_database_sql.go b/stdlib/go1_18_database_sql.go similarity index 92% rename from stdlib/go1_16_database_sql.go rename to stdlib/go1_18_database_sql.go index 1db8db1a5..9594b3f8a 100644 --- a/stdlib/go1_16_database_sql.go +++ b/stdlib/go1_18_database_sql.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract database/sql'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -37,7 +38,9 @@ func init() { "IsolationLevel": reflect.ValueOf((*sql.IsolationLevel)(nil)), "NamedArg": reflect.ValueOf((*sql.NamedArg)(nil)), "NullBool": reflect.ValueOf((*sql.NullBool)(nil)), + "NullByte": reflect.ValueOf((*sql.NullByte)(nil)), "NullFloat64": reflect.ValueOf((*sql.NullFloat64)(nil)), + "NullInt16": reflect.ValueOf((*sql.NullInt16)(nil)), "NullInt32": reflect.ValueOf((*sql.NullInt32)(nil)), "NullInt64": reflect.ValueOf((*sql.NullInt64)(nil)), "NullString": reflect.ValueOf((*sql.NullString)(nil)), @@ -75,9 +78,9 @@ func (W _database_sql_Result) RowsAffected() (int64, error) { // _database_sql_Scanner is an interface wrapper for Scanner type type _database_sql_Scanner struct { IValue interface{} - WScan func(src interface{}) error + WScan func(src any) error } -func (W _database_sql_Scanner) Scan(src interface{}) error { +func (W _database_sql_Scanner) Scan(src any) error { return W.WScan(src) } diff --git a/stdlib/go1_17_database_sql_driver.go b/stdlib/go1_18_database_sql_driver.go similarity index 99% rename from stdlib/go1_17_database_sql_driver.go rename to stdlib/go1_18_database_sql_driver.go index eb0e90122..b0b7c7007 100644 --- a/stdlib/go1_17_database_sql_driver.go +++ b/stdlib/go1_18_database_sql_driver.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract database/sql/driver'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -491,10 +491,10 @@ type _database_sql_driver_Value struct { // _database_sql_driver_ValueConverter is an interface wrapper for ValueConverter type type _database_sql_driver_ValueConverter struct { IValue interface{} - WConvertValue func(v interface{}) (driver.Value, error) + WConvertValue func(v any) (driver.Value, error) } -func (W _database_sql_driver_ValueConverter) ConvertValue(v interface{}) (driver.Value, error) { +func (W _database_sql_driver_ValueConverter) ConvertValue(v any) (driver.Value, error) { return W.WConvertValue(v) } diff --git a/stdlib/go1_18_debug_buildinfo.go b/stdlib/go1_18_debug_buildinfo.go new file mode 100644 index 000000000..c9d2d88e2 --- /dev/null +++ b/stdlib/go1_18_debug_buildinfo.go @@ -0,0 +1,22 @@ +// Code generated by 'yaegi extract debug/buildinfo'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package stdlib + +import ( + "debug/buildinfo" + "reflect" +) + +func init() { + Symbols["debug/buildinfo/buildinfo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Read": reflect.ValueOf(buildinfo.Read), + "ReadFile": reflect.ValueOf(buildinfo.ReadFile), + + // type definitions + "BuildInfo": reflect.ValueOf((*buildinfo.BuildInfo)(nil)), + } +} diff --git a/stdlib/go1_16_debug_dwarf.go b/stdlib/go1_18_debug_dwarf.go similarity index 99% rename from stdlib/go1_16_debug_dwarf.go rename to stdlib/go1_18_debug_dwarf.go index 4e1c99a39..ed8d3206a 100644 --- a/stdlib/go1_16_debug_dwarf.go +++ b/stdlib/go1_18_debug_dwarf.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/dwarf'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_debug_elf.go b/stdlib/go1_18_debug_elf.go similarity index 99% rename from stdlib/go1_17_debug_elf.go rename to stdlib/go1_18_debug_elf.go index 363aa3c14..dcfdfe9cd 100644 --- a/stdlib/go1_17_debug_elf.go +++ b/stdlib/go1_18_debug_elf.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/elf'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -964,6 +964,7 @@ func init() { "R_PPC64_REL24_NOTOC": reflect.ValueOf(elf.R_PPC64_REL24_NOTOC), "R_PPC64_REL32": reflect.ValueOf(elf.R_PPC64_REL32), "R_PPC64_REL64": reflect.ValueOf(elf.R_PPC64_REL64), + "R_PPC64_RELATIVE": reflect.ValueOf(elf.R_PPC64_RELATIVE), "R_PPC64_SECTOFF_DS": reflect.ValueOf(elf.R_PPC64_SECTOFF_DS), "R_PPC64_SECTOFF_LO_DS": reflect.ValueOf(elf.R_PPC64_SECTOFF_LO_DS), "R_PPC64_TLS": reflect.ValueOf(elf.R_PPC64_TLS), diff --git a/stdlib/go1_17_debug_gosym.go b/stdlib/go1_18_debug_gosym.go similarity index 94% rename from stdlib/go1_17_debug_gosym.go rename to stdlib/go1_18_debug_gosym.go index 380e1641d..b0427c301 100644 --- a/stdlib/go1_17_debug_gosym.go +++ b/stdlib/go1_18_debug_gosym.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/gosym'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_debug_macho.go b/stdlib/go1_18_debug_macho.go similarity index 99% rename from stdlib/go1_16_debug_macho.go rename to stdlib/go1_18_debug_macho.go index d75206a75..4e197099e 100644 --- a/stdlib/go1_16_debug_macho.go +++ b/stdlib/go1_18_debug_macho.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/macho'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_debug_pe.go b/stdlib/go1_18_debug_pe.go similarity index 99% rename from stdlib/go1_17_debug_pe.go rename to stdlib/go1_18_debug_pe.go index 479ee3937..72f6afe67 100644 --- a/stdlib/go1_17_debug_pe.go +++ b/stdlib/go1_18_debug_pe.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/pe'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_debug_plan9obj.go b/stdlib/go1_18_debug_plan9obj.go similarity index 54% rename from stdlib/go1_17_debug_plan9obj.go rename to stdlib/go1_18_debug_plan9obj.go index 6dd6a36a4..f49b69fc1 100644 --- a/stdlib/go1_17_debug_plan9obj.go +++ b/stdlib/go1_18_debug_plan9obj.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -15,12 +15,13 @@ import ( func init() { Symbols["debug/plan9obj/plan9obj"] = map[string]reflect.Value{ // function, constant and variable definitions - "Magic386": reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)), - "Magic64": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "MagicAMD64": reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)), - "MagicARM": reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)), - "NewFile": reflect.ValueOf(plan9obj.NewFile), - "Open": reflect.ValueOf(plan9obj.Open), + "ErrNoSymbols": reflect.ValueOf(&plan9obj.ErrNoSymbols).Elem(), + "Magic386": reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)), + "Magic64": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MagicAMD64": reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)), + "MagicARM": reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)), + "NewFile": reflect.ValueOf(plan9obj.NewFile), + "Open": reflect.ValueOf(plan9obj.Open), // type definitions "File": reflect.ValueOf((*plan9obj.File)(nil)), diff --git a/stdlib/go1_17_embed.go b/stdlib/go1_18_embed.go similarity index 81% rename from stdlib/go1_17_embed.go rename to stdlib/go1_18_embed.go index 794c2efc2..50c6e1143 100644 --- a/stdlib/go1_17_embed.go +++ b/stdlib/go1_18_embed.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract embed'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding.go b/stdlib/go1_18_encoding.go similarity index 97% rename from stdlib/go1_16_encoding.go rename to stdlib/go1_18_encoding.go index f606e8dda..2a75f0eeb 100644 --- a/stdlib/go1_16_encoding.go +++ b/stdlib/go1_18_encoding.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_ascii85.go b/stdlib/go1_18_encoding_ascii85.go similarity index 92% rename from stdlib/go1_17_encoding_ascii85.go rename to stdlib/go1_18_encoding_ascii85.go index 902c3fdb1..f126cc8d2 100644 --- a/stdlib/go1_17_encoding_ascii85.go +++ b/stdlib/go1_18_encoding_ascii85.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/ascii85'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_asn1.go b/stdlib/go1_18_encoding_asn1.go similarity index 98% rename from stdlib/go1_16_encoding_asn1.go rename to stdlib/go1_18_encoding_asn1.go index 4887882ad..a1568b6f5 100644 --- a/stdlib/go1_16_encoding_asn1.go +++ b/stdlib/go1_18_encoding_asn1.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/asn1'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_base32.go b/stdlib/go1_18_encoding_base32.go similarity index 93% rename from stdlib/go1_16_encoding_base32.go rename to stdlib/go1_18_encoding_base32.go index be4592104..5bfd91bd9 100644 --- a/stdlib/go1_16_encoding_base32.go +++ b/stdlib/go1_18_encoding_base32.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/base32'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_base64.go b/stdlib/go1_18_encoding_base64.go similarity index 94% rename from stdlib/go1_16_encoding_base64.go rename to stdlib/go1_18_encoding_base64.go index b719e5342..51b21d6d6 100644 --- a/stdlib/go1_16_encoding_base64.go +++ b/stdlib/go1_18_encoding_base64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/base64'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_binary.go b/stdlib/go1_18_encoding_binary.go similarity index 97% rename from stdlib/go1_16_encoding_binary.go rename to stdlib/go1_18_encoding_binary.go index 608e0ddec..c580da009 100644 --- a/stdlib/go1_16_encoding_binary.go +++ b/stdlib/go1_18_encoding_binary.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/binary'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_csv.go b/stdlib/go1_18_encoding_csv.go similarity index 93% rename from stdlib/go1_16_encoding_csv.go rename to stdlib/go1_18_encoding_csv.go index 61b38b783..63f149add 100644 --- a/stdlib/go1_16_encoding_csv.go +++ b/stdlib/go1_18_encoding_csv.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_gob.go b/stdlib/go1_18_encoding_gob.go similarity index 96% rename from stdlib/go1_17_encoding_gob.go rename to stdlib/go1_18_encoding_gob.go index 7292734d0..fb4f394c5 100644 --- a/stdlib/go1_17_encoding_gob.go +++ b/stdlib/go1_18_encoding_gob.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/gob'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_hex.go b/stdlib/go1_18_encoding_hex.go similarity index 94% rename from stdlib/go1_17_encoding_hex.go rename to stdlib/go1_18_encoding_hex.go index 227543bb2..57f3b4f0e 100644 --- a/stdlib/go1_17_encoding_hex.go +++ b/stdlib/go1_18_encoding_hex.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_json.go b/stdlib/go1_18_encoding_json.go similarity index 98% rename from stdlib/go1_16_encoding_json.go rename to stdlib/go1_18_encoding_json.go index e7312d165..f70defd74 100644 --- a/stdlib/go1_16_encoding_json.go +++ b/stdlib/go1_18_encoding_json.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/json'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_pem.go b/stdlib/go1_18_encoding_pem.go similarity index 89% rename from stdlib/go1_17_encoding_pem.go rename to stdlib/go1_18_encoding_pem.go index 825aacaac..3c6723aec 100644 --- a/stdlib/go1_17_encoding_pem.go +++ b/stdlib/go1_18_encoding_pem.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/pem'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_xml.go b/stdlib/go1_18_encoding_xml.go similarity index 98% rename from stdlib/go1_16_encoding_xml.go rename to stdlib/go1_18_encoding_xml.go index 3b7c17ec7..00b69ac41 100644 --- a/stdlib/go1_16_encoding_xml.go +++ b/stdlib/go1_18_encoding_xml.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/xml'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_errors.go b/stdlib/go1_18_errors.go similarity index 88% rename from stdlib/go1_16_errors.go rename to stdlib/go1_18_errors.go index 9f0d45a2d..475855f75 100644 --- a/stdlib/go1_16_errors.go +++ b/stdlib/go1_18_errors.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract errors'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_expvar.go b/stdlib/go1_18_expvar.go similarity index 96% rename from stdlib/go1_17_expvar.go rename to stdlib/go1_18_expvar.go index 01c258266..94c1861ad 100644 --- a/stdlib/go1_17_expvar.go +++ b/stdlib/go1_18_expvar.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract expvar'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_flag.go b/stdlib/go1_18_flag.go similarity index 96% rename from stdlib/go1_17_flag.go rename to stdlib/go1_18_flag.go index 362b31a2b..39e012b6f 100644 --- a/stdlib/go1_17_flag.go +++ b/stdlib/go1_18_flag.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract flag'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -67,12 +67,12 @@ func init() { // _flag_Getter is an interface wrapper for Getter type type _flag_Getter struct { IValue interface{} - WGet func() interface{} + WGet func() any WSet func(a0 string) error WString func() string } -func (W _flag_Getter) Get() interface{} { +func (W _flag_Getter) Get() any { return W.WGet() } func (W _flag_Getter) Set(a0 string) error { diff --git a/stdlib/go1_16_fmt.go b/stdlib/go1_18_fmt.go similarity index 98% rename from stdlib/go1_16_fmt.go rename to stdlib/go1_18_fmt.go index 43969b606..45843ccbe 100644 --- a/stdlib/go1_16_fmt.go +++ b/stdlib/go1_18_fmt.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract fmt'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_go_ast.go b/stdlib/go1_18_go_ast.go similarity index 98% rename from stdlib/go1_16_go_ast.go rename to stdlib/go1_18_go_ast.go index 1029787bd..d66bd85b2 100644 --- a/stdlib/go1_16_go_ast.go +++ b/stdlib/go1_18_go_ast.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/ast'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -87,6 +88,7 @@ func init() { "Importer": reflect.ValueOf((*ast.Importer)(nil)), "IncDecStmt": reflect.ValueOf((*ast.IncDecStmt)(nil)), "IndexExpr": reflect.ValueOf((*ast.IndexExpr)(nil)), + "IndexListExpr": reflect.ValueOf((*ast.IndexListExpr)(nil)), "InterfaceType": reflect.ValueOf((*ast.InterfaceType)(nil)), "KeyValueExpr": reflect.ValueOf((*ast.KeyValueExpr)(nil)), "LabeledStmt": reflect.ValueOf((*ast.LabeledStmt)(nil)), diff --git a/stdlib/go1_16_go_build.go b/stdlib/go1_18_go_build.go similarity index 95% rename from stdlib/go1_16_go_build.go rename to stdlib/go1_18_go_build.go index ce55ad42e..b5d4d075f 100644 --- a/stdlib/go1_16_go_build.go +++ b/stdlib/go1_18_go_build.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/build'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_go_build_constraint.go b/stdlib/go1_18_go_build_constraint.go similarity index 96% rename from stdlib/go1_17_go_build_constraint.go rename to stdlib/go1_18_go_build_constraint.go index 49996cf8e..7bd563fe6 100644 --- a/stdlib/go1_17_go_build_constraint.go +++ b/stdlib/go1_18_go_build_constraint.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/build/constraint'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_go_constant.go b/stdlib/go1_18_go_constant.go similarity index 98% rename from stdlib/go1_17_go_constant.go rename to stdlib/go1_18_go_constant.go index 88285c05b..0f3118a06 100644 --- a/stdlib/go1_17_go_constant.go +++ b/stdlib/go1_18_go_constant.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/constant'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_go_doc.go b/stdlib/go1_18_go_doc.go similarity index 95% rename from stdlib/go1_16_go_doc.go rename to stdlib/go1_18_go_doc.go index b41ef76be..6943e85c3 100644 --- a/stdlib/go1_16_go_doc.go +++ b/stdlib/go1_18_go_doc.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/doc'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_go_format.go b/stdlib/go1_18_go_format.go similarity index 85% rename from stdlib/go1_16_go_format.go rename to stdlib/go1_18_go_format.go index d40f66ec4..99af0d936 100644 --- a/stdlib/go1_16_go_format.go +++ b/stdlib/go1_18_go_format.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/format'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_go_importer.go b/stdlib/go1_18_go_importer.go similarity index 89% rename from stdlib/go1_17_go_importer.go rename to stdlib/go1_18_go_importer.go index 48b876ae6..2a6f242a3 100644 --- a/stdlib/go1_17_go_importer.go +++ b/stdlib/go1_18_go_importer.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/importer'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_18_go_parser.go b/stdlib/go1_18_go_parser.go new file mode 100644 index 000000000..c017dbcc5 --- /dev/null +++ b/stdlib/go1_18_go_parser.go @@ -0,0 +1,32 @@ +// Code generated by 'yaegi extract go/parser'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package stdlib + +import ( + "go/parser" + "reflect" +) + +func init() { + Symbols["go/parser/parser"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllErrors": reflect.ValueOf(parser.AllErrors), + "DeclarationErrors": reflect.ValueOf(parser.DeclarationErrors), + "ImportsOnly": reflect.ValueOf(parser.ImportsOnly), + "PackageClauseOnly": reflect.ValueOf(parser.PackageClauseOnly), + "ParseComments": reflect.ValueOf(parser.ParseComments), + "ParseDir": reflect.ValueOf(parser.ParseDir), + "ParseExpr": reflect.ValueOf(parser.ParseExpr), + "ParseExprFrom": reflect.ValueOf(parser.ParseExprFrom), + "ParseFile": reflect.ValueOf(parser.ParseFile), + "SkipObjectResolution": reflect.ValueOf(parser.SkipObjectResolution), + "SpuriousErrors": reflect.ValueOf(parser.SpuriousErrors), + "Trace": reflect.ValueOf(parser.Trace), + + // type definitions + "Mode": reflect.ValueOf((*parser.Mode)(nil)), + } +} diff --git a/stdlib/go1_17_go_printer.go b/stdlib/go1_18_go_printer.go similarity index 92% rename from stdlib/go1_17_go_printer.go rename to stdlib/go1_18_go_printer.go index 247ace511..aaf269b31 100644 --- a/stdlib/go1_17_go_printer.go +++ b/stdlib/go1_18_go_printer.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/printer'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_go_scanner.go b/stdlib/go1_18_go_scanner.go similarity index 92% rename from stdlib/go1_16_go_scanner.go rename to stdlib/go1_18_go_scanner.go index f27505c38..b7a728e8a 100644 --- a/stdlib/go1_16_go_scanner.go +++ b/stdlib/go1_18_go_scanner.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/scanner'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_go_token.go b/stdlib/go1_18_go_token.go similarity index 98% rename from stdlib/go1_16_go_token.go rename to stdlib/go1_18_go_token.go index 862c08b10..f3bcd4608 100644 --- a/stdlib/go1_16_go_token.go +++ b/stdlib/go1_18_go_token.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/token'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -98,6 +99,7 @@ func init() { "SUB": reflect.ValueOf(token.SUB), "SUB_ASSIGN": reflect.ValueOf(token.SUB_ASSIGN), "SWITCH": reflect.ValueOf(token.SWITCH), + "TILDE": reflect.ValueOf(token.TILDE), "TYPE": reflect.ValueOf(token.TYPE), "UnaryPrec": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "VAR": reflect.ValueOf(token.VAR), diff --git a/stdlib/go1_16_go_types.go b/stdlib/go1_18_go_types.go similarity index 92% rename from stdlib/go1_16_go_types.go rename to stdlib/go1_18_go_types.go index 2ebe4b3e0..cd95c5861 100644 --- a/stdlib/go1_16_go_types.go +++ b/stdlib/go1_18_go_types.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/types'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -33,6 +34,7 @@ func init() { "Identical": reflect.ValueOf(types.Identical), "IdenticalIgnoreTags": reflect.ValueOf(types.IdenticalIgnoreTags), "Implements": reflect.ValueOf(types.Implements), + "Instantiate": reflect.ValueOf(types.Instantiate), "Int": reflect.ValueOf(types.Int), "Int16": reflect.ValueOf(types.Int16), "Int32": reflect.ValueOf(types.Int32), @@ -58,6 +60,7 @@ func init() { "NewChan": reflect.ValueOf(types.NewChan), "NewChecker": reflect.ValueOf(types.NewChecker), "NewConst": reflect.ValueOf(types.NewConst), + "NewContext": reflect.ValueOf(types.NewContext), "NewField": reflect.ValueOf(types.NewField), "NewFunc": reflect.ValueOf(types.NewFunc), "NewInterface": reflect.ValueOf(types.NewInterface), @@ -72,10 +75,14 @@ func init() { "NewPointer": reflect.ValueOf(types.NewPointer), "NewScope": reflect.ValueOf(types.NewScope), "NewSignature": reflect.ValueOf(types.NewSignature), + "NewSignatureType": reflect.ValueOf(types.NewSignatureType), "NewSlice": reflect.ValueOf(types.NewSlice), "NewStruct": reflect.ValueOf(types.NewStruct), + "NewTerm": reflect.ValueOf(types.NewTerm), "NewTuple": reflect.ValueOf(types.NewTuple), "NewTypeName": reflect.ValueOf(types.NewTypeName), + "NewTypeParam": reflect.ValueOf(types.NewTypeParam), + "NewUnion": reflect.ValueOf(types.NewUnion), "NewVar": reflect.ValueOf(types.NewVar), "ObjectString": reflect.ValueOf(types.ObjectString), "RecvOnly": reflect.ValueOf(types.RecvOnly), @@ -109,6 +116,7 @@ func init() { "WriteType": reflect.ValueOf(types.WriteType), // type definitions + "ArgumentError": reflect.ValueOf((*types.ArgumentError)(nil)), "Array": reflect.ValueOf((*types.Array)(nil)), "Basic": reflect.ValueOf((*types.Basic)(nil)), "BasicInfo": reflect.ValueOf((*types.BasicInfo)(nil)), @@ -119,6 +127,7 @@ func init() { "Checker": reflect.ValueOf((*types.Checker)(nil)), "Config": reflect.ValueOf((*types.Config)(nil)), "Const": reflect.ValueOf((*types.Const)(nil)), + "Context": reflect.ValueOf((*types.Context)(nil)), "Error": reflect.ValueOf((*types.Error)(nil)), "Func": reflect.ValueOf((*types.Func)(nil)), "ImportMode": reflect.ValueOf((*types.ImportMode)(nil)), @@ -126,6 +135,7 @@ func init() { "ImporterFrom": reflect.ValueOf((*types.ImporterFrom)(nil)), "Info": reflect.ValueOf((*types.Info)(nil)), "Initializer": reflect.ValueOf((*types.Initializer)(nil)), + "Instance": reflect.ValueOf((*types.Instance)(nil)), "Interface": reflect.ValueOf((*types.Interface)(nil)), "Label": reflect.ValueOf((*types.Label)(nil)), "Map": reflect.ValueOf((*types.Map)(nil)), @@ -145,10 +155,15 @@ func init() { "Slice": reflect.ValueOf((*types.Slice)(nil)), "StdSizes": reflect.ValueOf((*types.StdSizes)(nil)), "Struct": reflect.ValueOf((*types.Struct)(nil)), + "Term": reflect.ValueOf((*types.Term)(nil)), "Tuple": reflect.ValueOf((*types.Tuple)(nil)), "Type": reflect.ValueOf((*types.Type)(nil)), "TypeAndValue": reflect.ValueOf((*types.TypeAndValue)(nil)), + "TypeList": reflect.ValueOf((*types.TypeList)(nil)), "TypeName": reflect.ValueOf((*types.TypeName)(nil)), + "TypeParam": reflect.ValueOf((*types.TypeParam)(nil)), + "TypeParamList": reflect.ValueOf((*types.TypeParamList)(nil)), + "Union": reflect.ValueOf((*types.Union)(nil)), "Var": reflect.ValueOf((*types.Var)(nil)), // interface wrapper definitions diff --git a/stdlib/go1_16_hash.go b/stdlib/go1_18_hash.go similarity index 97% rename from stdlib/go1_16_hash.go rename to stdlib/go1_18_hash.go index 9b06307c8..278d86a99 100644 --- a/stdlib/go1_16_hash.go +++ b/stdlib/go1_18_hash.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_hash_adler32.go b/stdlib/go1_18_hash_adler32.go similarity index 89% rename from stdlib/go1_17_hash_adler32.go rename to stdlib/go1_18_hash_adler32.go index 3658ed946..60854b1cb 100644 --- a/stdlib/go1_17_hash_adler32.go +++ b/stdlib/go1_18_hash_adler32.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_hash_crc32.go b/stdlib/go1_18_hash_crc32.go similarity index 95% rename from stdlib/go1_17_hash_crc32.go rename to stdlib/go1_18_hash_crc32.go index 7dc496a2d..1cd42e500 100644 --- a/stdlib/go1_17_hash_crc32.go +++ b/stdlib/go1_18_hash_crc32.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_hash_crc64.go b/stdlib/go1_18_hash_crc64.go similarity index 93% rename from stdlib/go1_16_hash_crc64.go rename to stdlib/go1_18_hash_crc64.go index 396229a2b..7db8beb90 100644 --- a/stdlib/go1_16_hash_crc64.go +++ b/stdlib/go1_18_hash_crc64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_hash_fnv.go b/stdlib/go1_18_hash_fnv.go similarity index 89% rename from stdlib/go1_17_hash_fnv.go rename to stdlib/go1_18_hash_fnv.go index bb863dc3e..e5c81b6a0 100644 --- a/stdlib/go1_17_hash_fnv.go +++ b/stdlib/go1_18_hash_fnv.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash/fnv'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_hash_maphash.go b/stdlib/go1_18_hash_maphash.go similarity index 88% rename from stdlib/go1_16_hash_maphash.go rename to stdlib/go1_18_hash_maphash.go index 72edfcb08..4cd84bc83 100644 --- a/stdlib/go1_16_hash_maphash.go +++ b/stdlib/go1_18_hash_maphash.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash/maphash'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_html.go b/stdlib/go1_18_html.go similarity index 86% rename from stdlib/go1_17_html.go rename to stdlib/go1_18_html.go index a11dc2274..7b54c7740 100644 --- a/stdlib/go1_17_html.go +++ b/stdlib/go1_18_html.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract html'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_html_template.go b/stdlib/go1_18_html_template.go similarity index 97% rename from stdlib/go1_16_html_template.go rename to stdlib/go1_18_html_template.go index 720aae8c5..32aeec625 100644 --- a/stdlib/go1_16_html_template.go +++ b/stdlib/go1_18_html_template.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract html/template'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_image.go b/stdlib/go1_18_image.go similarity index 85% rename from stdlib/go1_16_image.go rename to stdlib/go1_18_image.go index 4dd56edaf..2e6bd8f77 100644 --- a/stdlib/go1_16_image.go +++ b/stdlib/go1_18_image.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -61,6 +62,7 @@ func init() { "Point": reflect.ValueOf((*image.Point)(nil)), "RGBA": reflect.ValueOf((*image.RGBA)(nil)), "RGBA64": reflect.ValueOf((*image.RGBA64)(nil)), + "RGBA64Image": reflect.ValueOf((*image.RGBA64Image)(nil)), "Rectangle": reflect.ValueOf((*image.Rectangle)(nil)), "Uniform": reflect.ValueOf((*image.Uniform)(nil)), "YCbCr": reflect.ValueOf((*image.YCbCr)(nil)), @@ -69,6 +71,7 @@ func init() { // interface wrapper definitions "_Image": reflect.ValueOf((*_image_Image)(nil)), "_PalettedImage": reflect.ValueOf((*_image_PalettedImage)(nil)), + "_RGBA64Image": reflect.ValueOf((*_image_RGBA64Image)(nil)), } } @@ -111,3 +114,25 @@ func (W _image_PalettedImage) ColorIndexAt(x int, y int) uint8 { func (W _image_PalettedImage) ColorModel() color.Model { return W.WColorModel() } + +// _image_RGBA64Image is an interface wrapper for RGBA64Image type +type _image_RGBA64Image struct { + IValue interface{} + WAt func(x int, y int) color.Color + WBounds func() image.Rectangle + WColorModel func() color.Model + WRGBA64At func(x int, y int) color.RGBA64 +} + +func (W _image_RGBA64Image) At(x int, y int) color.Color { + return W.WAt(x, y) +} +func (W _image_RGBA64Image) Bounds() image.Rectangle { + return W.WBounds() +} +func (W _image_RGBA64Image) ColorModel() color.Model { + return W.WColorModel() +} +func (W _image_RGBA64Image) RGBA64At(x int, y int) color.RGBA64 { + return W.WRGBA64At(x, y) +} diff --git a/stdlib/go1_16_image_color.go b/stdlib/go1_18_image_color.go similarity index 98% rename from stdlib/go1_16_image_color.go rename to stdlib/go1_18_image_color.go index 4044889f3..e99fdaf03 100644 --- a/stdlib/go1_16_image_color.go +++ b/stdlib/go1_18_image_color.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/color'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_image_color_palette.go b/stdlib/go1_18_image_color_palette.go similarity index 87% rename from stdlib/go1_17_image_color_palette.go rename to stdlib/go1_18_image_color_palette.go index 486b07447..e5a304fef 100644 --- a/stdlib/go1_17_image_color_palette.go +++ b/stdlib/go1_18_image_color_palette.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/color/palette'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_image_draw.go b/stdlib/go1_18_image_draw.go similarity index 54% rename from stdlib/go1_16_image_draw.go rename to stdlib/go1_18_image_draw.go index 382850a0a..98d9ffa90 100644 --- a/stdlib/go1_16_image_draw.go +++ b/stdlib/go1_18_image_draw.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/draw'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -21,15 +22,17 @@ func init() { "Src": reflect.ValueOf(draw.Src), // type definitions - "Drawer": reflect.ValueOf((*draw.Drawer)(nil)), - "Image": reflect.ValueOf((*draw.Image)(nil)), - "Op": reflect.ValueOf((*draw.Op)(nil)), - "Quantizer": reflect.ValueOf((*draw.Quantizer)(nil)), + "Drawer": reflect.ValueOf((*draw.Drawer)(nil)), + "Image": reflect.ValueOf((*draw.Image)(nil)), + "Op": reflect.ValueOf((*draw.Op)(nil)), + "Quantizer": reflect.ValueOf((*draw.Quantizer)(nil)), + "RGBA64Image": reflect.ValueOf((*draw.RGBA64Image)(nil)), // interface wrapper definitions - "_Drawer": reflect.ValueOf((*_image_draw_Drawer)(nil)), - "_Image": reflect.ValueOf((*_image_draw_Image)(nil)), - "_Quantizer": reflect.ValueOf((*_image_draw_Quantizer)(nil)), + "_Drawer": reflect.ValueOf((*_image_draw_Drawer)(nil)), + "_Image": reflect.ValueOf((*_image_draw_Image)(nil)), + "_Quantizer": reflect.ValueOf((*_image_draw_Quantizer)(nil)), + "_RGBA64Image": reflect.ValueOf((*_image_draw_RGBA64Image)(nil)), } } @@ -74,3 +77,33 @@ type _image_draw_Quantizer struct { func (W _image_draw_Quantizer) Quantize(p color.Palette, m image.Image) color.Palette { return W.WQuantize(p, m) } + +// _image_draw_RGBA64Image is an interface wrapper for RGBA64Image type +type _image_draw_RGBA64Image struct { + IValue interface{} + WAt func(x int, y int) color.Color + WBounds func() image.Rectangle + WColorModel func() color.Model + WRGBA64At func(x int, y int) color.RGBA64 + WSet func(x int, y int, c color.Color) + WSetRGBA64 func(x int, y int, c color.RGBA64) +} + +func (W _image_draw_RGBA64Image) At(x int, y int) color.Color { + return W.WAt(x, y) +} +func (W _image_draw_RGBA64Image) Bounds() image.Rectangle { + return W.WBounds() +} +func (W _image_draw_RGBA64Image) ColorModel() color.Model { + return W.WColorModel() +} +func (W _image_draw_RGBA64Image) RGBA64At(x int, y int) color.RGBA64 { + return W.WRGBA64At(x, y) +} +func (W _image_draw_RGBA64Image) Set(x int, y int, c color.Color) { + W.WSet(x, y, c) +} +func (W _image_draw_RGBA64Image) SetRGBA64(x int, y int, c color.RGBA64) { + W.WSetRGBA64(x, y, c) +} diff --git a/stdlib/go1_16_image_gif.go b/stdlib/go1_18_image_gif.go similarity index 94% rename from stdlib/go1_16_image_gif.go rename to stdlib/go1_18_image_gif.go index 0314d5567..70912f916 100644 --- a/stdlib/go1_16_image_gif.go +++ b/stdlib/go1_18_image_gif.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/gif'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_image_jpeg.go b/stdlib/go1_18_image_jpeg.go similarity index 95% rename from stdlib/go1_16_image_jpeg.go rename to stdlib/go1_18_image_jpeg.go index 3d20f7586..3ddc866b4 100644 --- a/stdlib/go1_16_image_jpeg.go +++ b/stdlib/go1_18_image_jpeg.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/jpeg'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_image_png.go b/stdlib/go1_18_image_png.go similarity index 96% rename from stdlib/go1_16_image_png.go rename to stdlib/go1_18_image_png.go index 7d38b626a..2ffb430be 100644 --- a/stdlib/go1_16_image_png.go +++ b/stdlib/go1_18_image_png.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/png'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_index_suffixarray.go b/stdlib/go1_18_index_suffixarray.go similarity index 87% rename from stdlib/go1_16_index_suffixarray.go rename to stdlib/go1_18_index_suffixarray.go index 33bf20604..1fbe85e50 100644 --- a/stdlib/go1_16_index_suffixarray.go +++ b/stdlib/go1_18_index_suffixarray.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract index/suffixarray'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_io.go b/stdlib/go1_18_io.go similarity index 99% rename from stdlib/go1_17_io.go rename to stdlib/go1_18_io.go index aeb582fc3..05a5fc64a 100644 --- a/stdlib/go1_17_io.go +++ b/stdlib/go1_18_io.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract io'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_io_fs.go b/stdlib/go1_18_io_fs.go similarity index 76% rename from stdlib/go1_16_io_fs.go rename to stdlib/go1_18_io_fs.go index 4c54ba581..42c124890 100644 --- a/stdlib/go1_16_io_fs.go +++ b/stdlib/go1_18_io_fs.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract io/fs'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -13,34 +14,35 @@ import ( func init() { Symbols["io/fs/fs"] = map[string]reflect.Value{ // function, constant and variable definitions - "ErrClosed": reflect.ValueOf(&fs.ErrClosed).Elem(), - "ErrExist": reflect.ValueOf(&fs.ErrExist).Elem(), - "ErrInvalid": reflect.ValueOf(&fs.ErrInvalid).Elem(), - "ErrNotExist": reflect.ValueOf(&fs.ErrNotExist).Elem(), - "ErrPermission": reflect.ValueOf(&fs.ErrPermission).Elem(), - "Glob": reflect.ValueOf(fs.Glob), - "ModeAppend": reflect.ValueOf(fs.ModeAppend), - "ModeCharDevice": reflect.ValueOf(fs.ModeCharDevice), - "ModeDevice": reflect.ValueOf(fs.ModeDevice), - "ModeDir": reflect.ValueOf(fs.ModeDir), - "ModeExclusive": reflect.ValueOf(fs.ModeExclusive), - "ModeIrregular": reflect.ValueOf(fs.ModeIrregular), - "ModeNamedPipe": reflect.ValueOf(fs.ModeNamedPipe), - "ModePerm": reflect.ValueOf(fs.ModePerm), - "ModeSetgid": reflect.ValueOf(fs.ModeSetgid), - "ModeSetuid": reflect.ValueOf(fs.ModeSetuid), - "ModeSocket": reflect.ValueOf(fs.ModeSocket), - "ModeSticky": reflect.ValueOf(fs.ModeSticky), - "ModeSymlink": reflect.ValueOf(fs.ModeSymlink), - "ModeTemporary": reflect.ValueOf(fs.ModeTemporary), - "ModeType": reflect.ValueOf(fs.ModeType), - "ReadDir": reflect.ValueOf(fs.ReadDir), - "ReadFile": reflect.ValueOf(fs.ReadFile), - "SkipDir": reflect.ValueOf(&fs.SkipDir).Elem(), - "Stat": reflect.ValueOf(fs.Stat), - "Sub": reflect.ValueOf(fs.Sub), - "ValidPath": reflect.ValueOf(fs.ValidPath), - "WalkDir": reflect.ValueOf(fs.WalkDir), + "ErrClosed": reflect.ValueOf(&fs.ErrClosed).Elem(), + "ErrExist": reflect.ValueOf(&fs.ErrExist).Elem(), + "ErrInvalid": reflect.ValueOf(&fs.ErrInvalid).Elem(), + "ErrNotExist": reflect.ValueOf(&fs.ErrNotExist).Elem(), + "ErrPermission": reflect.ValueOf(&fs.ErrPermission).Elem(), + "FileInfoToDirEntry": reflect.ValueOf(fs.FileInfoToDirEntry), + "Glob": reflect.ValueOf(fs.Glob), + "ModeAppend": reflect.ValueOf(fs.ModeAppend), + "ModeCharDevice": reflect.ValueOf(fs.ModeCharDevice), + "ModeDevice": reflect.ValueOf(fs.ModeDevice), + "ModeDir": reflect.ValueOf(fs.ModeDir), + "ModeExclusive": reflect.ValueOf(fs.ModeExclusive), + "ModeIrregular": reflect.ValueOf(fs.ModeIrregular), + "ModeNamedPipe": reflect.ValueOf(fs.ModeNamedPipe), + "ModePerm": reflect.ValueOf(fs.ModePerm), + "ModeSetgid": reflect.ValueOf(fs.ModeSetgid), + "ModeSetuid": reflect.ValueOf(fs.ModeSetuid), + "ModeSocket": reflect.ValueOf(fs.ModeSocket), + "ModeSticky": reflect.ValueOf(fs.ModeSticky), + "ModeSymlink": reflect.ValueOf(fs.ModeSymlink), + "ModeTemporary": reflect.ValueOf(fs.ModeTemporary), + "ModeType": reflect.ValueOf(fs.ModeType), + "ReadDir": reflect.ValueOf(fs.ReadDir), + "ReadFile": reflect.ValueOf(fs.ReadFile), + "SkipDir": reflect.ValueOf(&fs.SkipDir).Elem(), + "Stat": reflect.ValueOf(fs.Stat), + "Sub": reflect.ValueOf(fs.Sub), + "ValidPath": reflect.ValueOf(fs.ValidPath), + "WalkDir": reflect.ValueOf(fs.WalkDir), // type definitions "DirEntry": reflect.ValueOf((*fs.DirEntry)(nil)), @@ -129,7 +131,7 @@ type _io_fs_FileInfo struct { WMode func() fs.FileMode WName func() string WSize func() int64 - WSys func() interface{} + WSys func() any } func (W _io_fs_FileInfo) IsDir() bool { @@ -147,7 +149,7 @@ func (W _io_fs_FileInfo) Name() string { func (W _io_fs_FileInfo) Size() int64 { return W.WSize() } -func (W _io_fs_FileInfo) Sys() interface{} { +func (W _io_fs_FileInfo) Sys() any { return W.WSys() } diff --git a/stdlib/go1_17_io_ioutil.go b/stdlib/go1_18_io_ioutil.go similarity index 92% rename from stdlib/go1_17_io_ioutil.go rename to stdlib/go1_18_io_ioutil.go index 7712b4027..68e367db1 100644 --- a/stdlib/go1_17_io_ioutil.go +++ b/stdlib/go1_18_io_ioutil.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract io/ioutil'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_log.go b/stdlib/go1_18_log.go similarity index 97% rename from stdlib/go1_17_log.go rename to stdlib/go1_18_log.go index 42a69c61f..e23bd89d4 100644 --- a/stdlib/go1_17_log.go +++ b/stdlib/go1_18_log.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract log'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_log_syslog.go b/stdlib/go1_18_log_syslog.go similarity index 94% rename from stdlib/go1_17_log_syslog.go rename to stdlib/go1_18_log_syslog.go index 881c6a749..7f24a1ac7 100644 --- a/stdlib/go1_17_log_syslog.go +++ b/stdlib/go1_18_log_syslog.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract log/syslog'. DO NOT EDIT. -//go:build go1.17 && !windows && !nacl && !plan9 -// +build go1.17,!windows,!nacl,!plan9 +//go:build go1.18 && !go1.19 && !windows && !nacl && !plan9 +// +build go1.18,!go1.19,!windows,!nacl,!plan9 package stdlib diff --git a/stdlib/go1_16_math.go b/stdlib/go1_18_math.go similarity index 82% rename from stdlib/go1_16_math.go rename to stdlib/go1_18_math.go index 777e0f5a4..0a97f3238 100644 --- a/stdlib/go1_16_math.go +++ b/stdlib/go1_18_math.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract math'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -65,16 +66,19 @@ func init() { "Logb": reflect.ValueOf(math.Logb), "Max": reflect.ValueOf(math.Max), "MaxFloat32": reflect.ValueOf(constant.MakeFromLiteral("340282346638528859811704183484516925440", token.FLOAT, 0)), - "MaxFloat64": reflect.ValueOf(constant.MakeFromLiteral("179769313486231570814527423731704356798100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", token.FLOAT, 0)), + "MaxFloat64": reflect.ValueOf(constant.MakeFromLiteral("179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368", token.FLOAT, 0)), + "MaxInt": reflect.ValueOf(constant.MakeFromLiteral("9223372036854775807", token.INT, 0)), "MaxInt16": reflect.ValueOf(constant.MakeFromLiteral("32767", token.INT, 0)), "MaxInt32": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), "MaxInt64": reflect.ValueOf(constant.MakeFromLiteral("9223372036854775807", token.INT, 0)), "MaxInt8": reflect.ValueOf(constant.MakeFromLiteral("127", token.INT, 0)), + "MaxUint": reflect.ValueOf(constant.MakeFromLiteral("18446744073709551615", token.INT, 0)), "MaxUint16": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), "MaxUint32": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), "MaxUint64": reflect.ValueOf(constant.MakeFromLiteral("18446744073709551615", token.INT, 0)), "MaxUint8": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), "Min": reflect.ValueOf(math.Min), + "MinInt": reflect.ValueOf(constant.MakeFromLiteral("-9223372036854775808", token.INT, 0)), "MinInt16": reflect.ValueOf(constant.MakeFromLiteral("-32768", token.INT, 0)), "MinInt32": reflect.ValueOf(constant.MakeFromLiteral("-2147483648", token.INT, 0)), "MinInt64": reflect.ValueOf(constant.MakeFromLiteral("-9223372036854775808", token.INT, 0)), @@ -95,8 +99,8 @@ func init() { "Sin": reflect.ValueOf(math.Sin), "Sincos": reflect.ValueOf(math.Sincos), "Sinh": reflect.ValueOf(math.Sinh), - "SmallestNonzeroFloat32": reflect.ValueOf(constant.MakeFromLiteral("1.40129846432481707092372958328991613128000000000000000000000000000000000000000000001246655487714533538006789189734126694785975183981128816138510360971472225738624150874949653910667523779981133927289771669016713539217953030564201688027906006008453304556102801950542906382507e-45", token.FLOAT, 0)), - "SmallestNonzeroFloat64": reflect.ValueOf(constant.MakeFromLiteral("4.94065645841246544176568792868221372365099999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999916206614696136086629714037163874026187912451674985660337336755242863513549746484310667379088263176934591818322489862214324814281481943599945502119376688748731948897748561110123901991443297110206447991752071007926740839424145013355231935665542622515363894390826799291671723318261174778903704064716351336223785714389641180220184242018383103204287325861250404139399888498504162666394779407509786431980433771341978183418568838015304951087487907666317075235615216699116844779095660202193409146032665221882798856203896125090454090026556150624798681464913851491093798848436664885581161128190046248588053014958829424991704801027040654863867512297941601850496672190315253109308532379657238854928816482120688440415705411555019932096150435627305446214567713171657554140575630917301482608119551500514805985376055777894871863446222606532650275466165274006e-324", token.FLOAT, 0)), + "SmallestNonzeroFloat32": reflect.ValueOf(constant.MakeFromLiteral("1.40129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125e-45", token.FLOAT, 0)), + "SmallestNonzeroFloat64": reflect.ValueOf(constant.MakeFromLiteral("4.940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625e-324", token.FLOAT, 0)), "Sqrt": reflect.ValueOf(math.Sqrt), "Sqrt2": reflect.ValueOf(constant.MakeFromLiteral("1.414213562373095048801688724209698078569671875376948073176679739576083351575381440094441524123797447886801949755143139115339040409162552642832693297721230919563348109313505318596071447245776653289794921875", token.FLOAT, 0)), "SqrtE": reflect.ValueOf(constant.MakeFromLiteral("1.64872127070012814684865078781416357165377610071014801157507931167328763229187870850146925823776361770041160388013884200789716007979526823569827080974091691342077871211546646890155898290686309337615966796875", token.FLOAT, 0)), diff --git a/stdlib/go1_16_math_big.go b/stdlib/go1_18_math_big.go similarity index 96% rename from stdlib/go1_16_math_big.go rename to stdlib/go1_18_math_big.go index 4d6c02330..f44cbaf5d 100644 --- a/stdlib/go1_16_math_big.go +++ b/stdlib/go1_18_math_big.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract math/big'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_math_bits.go b/stdlib/go1_18_math_bits.go similarity index 98% rename from stdlib/go1_17_math_bits.go rename to stdlib/go1_18_math_bits.go index 8834d971c..bc168685f 100644 --- a/stdlib/go1_17_math_bits.go +++ b/stdlib/go1_18_math_bits.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract math/bits'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_math_cmplx.go b/stdlib/go1_18_math_cmplx.go similarity index 96% rename from stdlib/go1_17_math_cmplx.go rename to stdlib/go1_18_math_cmplx.go index 92ca1749d..2690b732f 100644 --- a/stdlib/go1_17_math_cmplx.go +++ b/stdlib/go1_18_math_cmplx.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract math/cmplx'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_math_rand.go b/stdlib/go1_18_math_rand.go similarity index 97% rename from stdlib/go1_16_math_rand.go rename to stdlib/go1_18_math_rand.go index 789fd5b11..a366900cc 100644 --- a/stdlib/go1_16_math_rand.go +++ b/stdlib/go1_18_math_rand.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract math/rand'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_mime.go b/stdlib/go1_18_mime.go similarity index 94% rename from stdlib/go1_17_mime.go rename to stdlib/go1_18_mime.go index b4de8d797..70b456d19 100644 --- a/stdlib/go1_17_mime.go +++ b/stdlib/go1_18_mime.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract mime'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_mime_multipart.go b/stdlib/go1_18_mime_multipart.go similarity index 96% rename from stdlib/go1_16_mime_multipart.go rename to stdlib/go1_18_mime_multipart.go index dbe759ba7..88148775b 100644 --- a/stdlib/go1_16_mime_multipart.go +++ b/stdlib/go1_18_mime_multipart.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract mime/multipart'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_mime_quotedprintable.go b/stdlib/go1_18_mime_quotedprintable.go similarity index 90% rename from stdlib/go1_17_mime_quotedprintable.go rename to stdlib/go1_18_mime_quotedprintable.go index 2e0d46322..264a3723b 100644 --- a/stdlib/go1_17_mime_quotedprintable.go +++ b/stdlib/go1_18_mime_quotedprintable.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract mime/quotedprintable'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net.go b/stdlib/go1_18_net.go similarity index 98% rename from stdlib/go1_17_net.go rename to stdlib/go1_18_net.go index 2e35f420c..b40ddb3e7 100644 --- a/stdlib/go1_17_net.go +++ b/stdlib/go1_18_net.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -79,6 +79,8 @@ func init() { "ResolveUDPAddr": reflect.ValueOf(net.ResolveUDPAddr), "ResolveUnixAddr": reflect.ValueOf(net.ResolveUnixAddr), "SplitHostPort": reflect.ValueOf(net.SplitHostPort), + "TCPAddrFromAddrPort": reflect.ValueOf(net.TCPAddrFromAddrPort), + "UDPAddrFromAddrPort": reflect.ValueOf(net.UDPAddrFromAddrPort), // type definitions "Addr": reflect.ValueOf((*net.Addr)(nil)), diff --git a/stdlib/go1_17_net_http.go b/stdlib/go1_18_net_http.go similarity index 99% rename from stdlib/go1_17_net_http.go rename to stdlib/go1_18_net_http.go index e3c716da2..eee808ac5 100644 --- a/stdlib/go1_17_net_http.go +++ b/stdlib/go1_18_net_http.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -58,6 +58,7 @@ func init() { "ListenAndServe": reflect.ValueOf(http.ListenAndServe), "ListenAndServeTLS": reflect.ValueOf(http.ListenAndServeTLS), "LocalAddrContextKey": reflect.ValueOf(&http.LocalAddrContextKey).Elem(), + "MaxBytesHandler": reflect.ValueOf(http.MaxBytesHandler), "MaxBytesReader": reflect.ValueOf(http.MaxBytesReader), "MethodConnect": reflect.ValueOf(constant.MakeFromLiteral("\"CONNECT\"", token.STRING, 0)), "MethodDelete": reflect.ValueOf(constant.MakeFromLiteral("\"DELETE\"", token.STRING, 0)), diff --git a/stdlib/go1_17_net_http_cgi.go b/stdlib/go1_18_net_http_cgi.go similarity index 89% rename from stdlib/go1_17_net_http_cgi.go rename to stdlib/go1_18_net_http_cgi.go index 2d9808015..87dbf7ddc 100644 --- a/stdlib/go1_17_net_http_cgi.go +++ b/stdlib/go1_18_net_http_cgi.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/cgi'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_cookiejar.go b/stdlib/go1_18_net_http_cookiejar.go similarity index 95% rename from stdlib/go1_17_net_http_cookiejar.go rename to stdlib/go1_18_net_http_cookiejar.go index 019cc9f73..553c3aeb1 100644 --- a/stdlib/go1_17_net_http_cookiejar.go +++ b/stdlib/go1_18_net_http_cookiejar.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/cookiejar'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_fcgi.go b/stdlib/go1_18_net_http_fcgi.go similarity index 90% rename from stdlib/go1_17_net_http_fcgi.go rename to stdlib/go1_18_net_http_fcgi.go index 681103759..c5670deec 100644 --- a/stdlib/go1_17_net_http_fcgi.go +++ b/stdlib/go1_18_net_http_fcgi.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/fcgi'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_httptest.go b/stdlib/go1_18_net_http_httptest.go similarity index 94% rename from stdlib/go1_17_net_http_httptest.go rename to stdlib/go1_18_net_http_httptest.go index 38461f184..522854ad3 100644 --- a/stdlib/go1_17_net_http_httptest.go +++ b/stdlib/go1_18_net_http_httptest.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/httptest'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_httptrace.go b/stdlib/go1_18_net_http_httptrace.go similarity index 93% rename from stdlib/go1_17_net_http_httptrace.go rename to stdlib/go1_18_net_http_httptrace.go index 74d299dda..464660c0f 100644 --- a/stdlib/go1_17_net_http_httptrace.go +++ b/stdlib/go1_18_net_http_httptrace.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/httptrace'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_httputil.go b/stdlib/go1_18_net_http_httputil.go similarity index 97% rename from stdlib/go1_17_net_http_httputil.go rename to stdlib/go1_18_net_http_httputil.go index 16f97b4f9..0a4bfac65 100644 --- a/stdlib/go1_17_net_http_httputil.go +++ b/stdlib/go1_18_net_http_httputil.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/httputil'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_pprof.go b/stdlib/go1_18_net_http_pprof.go similarity index 90% rename from stdlib/go1_16_net_http_pprof.go rename to stdlib/go1_18_net_http_pprof.go index 06c55ecf9..cf3b836cc 100644 --- a/stdlib/go1_16_net_http_pprof.go +++ b/stdlib/go1_18_net_http_pprof.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_mail.go b/stdlib/go1_18_net_mail.go similarity index 93% rename from stdlib/go1_17_net_mail.go rename to stdlib/go1_18_net_mail.go index ef697d557..77ba53d6f 100644 --- a/stdlib/go1_17_net_mail.go +++ b/stdlib/go1_18_net_mail.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/mail'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_18_net_netip.go b/stdlib/go1_18_net_netip.go new file mode 100644 index 000000000..7448f9b46 --- /dev/null +++ b/stdlib/go1_18_net_netip.go @@ -0,0 +1,36 @@ +// Code generated by 'yaegi extract net/netip'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package stdlib + +import ( + "net/netip" + "reflect" +) + +func init() { + Symbols["net/netip/netip"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AddrFrom16": reflect.ValueOf(netip.AddrFrom16), + "AddrFrom4": reflect.ValueOf(netip.AddrFrom4), + "AddrFromSlice": reflect.ValueOf(netip.AddrFromSlice), + "AddrPortFrom": reflect.ValueOf(netip.AddrPortFrom), + "IPv4Unspecified": reflect.ValueOf(netip.IPv4Unspecified), + "IPv6LinkLocalAllNodes": reflect.ValueOf(netip.IPv6LinkLocalAllNodes), + "IPv6Unspecified": reflect.ValueOf(netip.IPv6Unspecified), + "MustParseAddr": reflect.ValueOf(netip.MustParseAddr), + "MustParseAddrPort": reflect.ValueOf(netip.MustParseAddrPort), + "MustParsePrefix": reflect.ValueOf(netip.MustParsePrefix), + "ParseAddr": reflect.ValueOf(netip.ParseAddr), + "ParseAddrPort": reflect.ValueOf(netip.ParseAddrPort), + "ParsePrefix": reflect.ValueOf(netip.ParsePrefix), + "PrefixFrom": reflect.ValueOf(netip.PrefixFrom), + + // type definitions + "Addr": reflect.ValueOf((*netip.Addr)(nil)), + "AddrPort": reflect.ValueOf((*netip.AddrPort)(nil)), + "Prefix": reflect.ValueOf((*netip.Prefix)(nil)), + } +} diff --git a/stdlib/go1_16_net_rpc.go b/stdlib/go1_18_net_rpc.go similarity index 85% rename from stdlib/go1_16_net_rpc.go rename to stdlib/go1_18_net_rpc.go index 039033a19..4b26917e3 100644 --- a/stdlib/go1_16_net_rpc.go +++ b/stdlib/go1_18_net_rpc.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/rpc'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -52,21 +53,21 @@ func init() { type _net_rpc_ClientCodec struct { IValue interface{} WClose func() error - WReadResponseBody func(a0 interface{}) error + WReadResponseBody func(a0 any) error WReadResponseHeader func(a0 *rpc.Response) error - WWriteRequest func(a0 *rpc.Request, a1 interface{}) error + WWriteRequest func(a0 *rpc.Request, a1 any) error } func (W _net_rpc_ClientCodec) Close() error { return W.WClose() } -func (W _net_rpc_ClientCodec) ReadResponseBody(a0 interface{}) error { +func (W _net_rpc_ClientCodec) ReadResponseBody(a0 any) error { return W.WReadResponseBody(a0) } func (W _net_rpc_ClientCodec) ReadResponseHeader(a0 *rpc.Response) error { return W.WReadResponseHeader(a0) } -func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) error { +func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 any) error { return W.WWriteRequest(a0, a1) } @@ -74,20 +75,20 @@ func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) erro type _net_rpc_ServerCodec struct { IValue interface{} WClose func() error - WReadRequestBody func(a0 interface{}) error + WReadRequestBody func(a0 any) error WReadRequestHeader func(a0 *rpc.Request) error - WWriteResponse func(a0 *rpc.Response, a1 interface{}) error + WWriteResponse func(a0 *rpc.Response, a1 any) error } func (W _net_rpc_ServerCodec) Close() error { return W.WClose() } -func (W _net_rpc_ServerCodec) ReadRequestBody(a0 interface{}) error { +func (W _net_rpc_ServerCodec) ReadRequestBody(a0 any) error { return W.WReadRequestBody(a0) } func (W _net_rpc_ServerCodec) ReadRequestHeader(a0 *rpc.Request) error { return W.WReadRequestHeader(a0) } -func (W _net_rpc_ServerCodec) WriteResponse(a0 *rpc.Response, a1 interface{}) error { +func (W _net_rpc_ServerCodec) WriteResponse(a0 *rpc.Response, a1 any) error { return W.WWriteResponse(a0, a1) } diff --git a/stdlib/go1_17_net_rpc_jsonrpc.go b/stdlib/go1_18_net_rpc_jsonrpc.go similarity index 90% rename from stdlib/go1_17_net_rpc_jsonrpc.go rename to stdlib/go1_18_net_rpc_jsonrpc.go index 0e2d536f0..93cd11bdb 100644 --- a/stdlib/go1_17_net_rpc_jsonrpc.go +++ b/stdlib/go1_18_net_rpc_jsonrpc.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_net_smtp.go b/stdlib/go1_18_net_smtp.go similarity index 95% rename from stdlib/go1_16_net_smtp.go rename to stdlib/go1_18_net_smtp.go index 9832470fb..19e25134f 100644 --- a/stdlib/go1_16_net_smtp.go +++ b/stdlib/go1_18_net_smtp.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/smtp'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_net_textproto.go b/stdlib/go1_18_net_textproto.go similarity index 95% rename from stdlib/go1_16_net_textproto.go rename to stdlib/go1_18_net_textproto.go index ed50a7dfd..e7b9478cb 100644 --- a/stdlib/go1_16_net_textproto.go +++ b/stdlib/go1_18_net_textproto.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/textproto'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_net_url.go b/stdlib/go1_18_net_url.go similarity index 95% rename from stdlib/go1_17_net_url.go rename to stdlib/go1_18_net_url.go index d102b2b61..b0ca2318c 100644 --- a/stdlib/go1_17_net_url.go +++ b/stdlib/go1_18_net_url.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/url'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_os.go b/stdlib/go1_18_os.go similarity index 98% rename from stdlib/go1_17_os.go rename to stdlib/go1_18_os.go index ae2cb1dd1..17db6cd89 100644 --- a/stdlib/go1_17_os.go +++ b/stdlib/go1_18_os.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract os'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -171,7 +171,7 @@ type _os_FileInfo struct { WMode func() fs.FileMode WName func() string WSize func() int64 - WSys func() interface{} + WSys func() any } func (W _os_FileInfo) IsDir() bool { @@ -189,7 +189,7 @@ func (W _os_FileInfo) Name() string { func (W _os_FileInfo) Size() int64 { return W.WSize() } -func (W _os_FileInfo) Sys() interface{} { +func (W _os_FileInfo) Sys() any { return W.WSys() } diff --git a/stdlib/go1_17_os_signal.go b/stdlib/go1_18_os_signal.go similarity index 91% rename from stdlib/go1_17_os_signal.go rename to stdlib/go1_18_os_signal.go index 06e2c9157..5da231875 100644 --- a/stdlib/go1_17_os_signal.go +++ b/stdlib/go1_18_os_signal.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract os/signal'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_os_user.go b/stdlib/go1_18_os_user.go similarity index 94% rename from stdlib/go1_17_os_user.go rename to stdlib/go1_18_os_user.go index 523143199..751d8bf45 100644 --- a/stdlib/go1_17_os_user.go +++ b/stdlib/go1_18_os_user.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract os/user'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_path.go b/stdlib/go1_18_path.go similarity index 92% rename from stdlib/go1_17_path.go rename to stdlib/go1_18_path.go index 84112a87c..cb9aa8aca 100644 --- a/stdlib/go1_17_path.go +++ b/stdlib/go1_18_path.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract path'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_path_filepath.go b/stdlib/go1_18_path_filepath.go similarity index 96% rename from stdlib/go1_17_path_filepath.go rename to stdlib/go1_18_path_filepath.go index 5d371a970..c2cda828e 100644 --- a/stdlib/go1_17_path_filepath.go +++ b/stdlib/go1_18_path_filepath.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract path/filepath'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_reflect.go b/stdlib/go1_18_reflect.go similarity index 97% rename from stdlib/go1_16_reflect.go rename to stdlib/go1_18_reflect.go index 100ffaa84..6b86fe57f 100644 --- a/stdlib/go1_16_reflect.go +++ b/stdlib/go1_18_reflect.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract reflect'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -44,6 +45,8 @@ func init() { "MapOf": reflect.ValueOf(reflect.MapOf), "New": reflect.ValueOf(reflect.New), "NewAt": reflect.ValueOf(reflect.NewAt), + "Pointer": reflect.ValueOf(reflect.Pointer), + "PointerTo": reflect.ValueOf(reflect.PointerTo), "Ptr": reflect.ValueOf(reflect.Ptr), "PtrTo": reflect.ValueOf(reflect.PtrTo), "RecvDir": reflect.ValueOf(reflect.RecvDir), @@ -67,6 +70,7 @@ func init() { "Uintptr": reflect.ValueOf(reflect.Uintptr), "UnsafePointer": reflect.ValueOf(reflect.UnsafePointer), "ValueOf": reflect.ValueOf(reflect.ValueOf), + "VisibleFields": reflect.ValueOf(reflect.VisibleFields), "Zero": reflect.ValueOf(reflect.Zero), // type definitions diff --git a/stdlib/go1_17_regexp.go b/stdlib/go1_18_regexp.go similarity index 93% rename from stdlib/go1_17_regexp.go rename to stdlib/go1_18_regexp.go index 7db029aa3..4bed631ad 100644 --- a/stdlib/go1_17_regexp.go +++ b/stdlib/go1_18_regexp.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract regexp'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_regexp_syntax.go b/stdlib/go1_18_regexp_syntax.go similarity index 98% rename from stdlib/go1_17_regexp_syntax.go rename to stdlib/go1_18_regexp_syntax.go index b46cac2f2..1c3a3cb9f 100644 --- a/stdlib/go1_17_regexp_syntax.go +++ b/stdlib/go1_18_regexp_syntax.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_runtime.go b/stdlib/go1_18_runtime.go similarity index 98% rename from stdlib/go1_17_runtime.go rename to stdlib/go1_18_runtime.go index 4f2ced5f2..41b04aec2 100644 --- a/stdlib/go1_17_runtime.go +++ b/stdlib/go1_18_runtime.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract runtime'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_runtime_debug.go b/stdlib/go1_18_runtime_debug.go similarity index 72% rename from stdlib/go1_16_runtime_debug.go rename to stdlib/go1_18_runtime_debug.go index f0ad09ac7..61c9c3b6c 100644 --- a/stdlib/go1_16_runtime_debug.go +++ b/stdlib/go1_18_runtime_debug.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract runtime/debug'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -13,6 +14,7 @@ func init() { Symbols["runtime/debug/debug"] = map[string]reflect.Value{ // function, constant and variable definitions "FreeOSMemory": reflect.ValueOf(debug.FreeOSMemory), + "ParseBuildInfo": reflect.ValueOf(debug.ParseBuildInfo), "PrintStack": reflect.ValueOf(debug.PrintStack), "ReadBuildInfo": reflect.ValueOf(debug.ReadBuildInfo), "ReadGCStats": reflect.ValueOf(debug.ReadGCStats), @@ -25,8 +27,9 @@ func init() { "WriteHeapDump": reflect.ValueOf(debug.WriteHeapDump), // type definitions - "BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)), - "GCStats": reflect.ValueOf((*debug.GCStats)(nil)), - "Module": reflect.ValueOf((*debug.Module)(nil)), + "BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)), + "BuildSetting": reflect.ValueOf((*debug.BuildSetting)(nil)), + "GCStats": reflect.ValueOf((*debug.GCStats)(nil)), + "Module": reflect.ValueOf((*debug.Module)(nil)), } } diff --git a/stdlib/go1_17_runtime_metrics.go b/stdlib/go1_18_runtime_metrics.go similarity index 94% rename from stdlib/go1_17_runtime_metrics.go rename to stdlib/go1_18_runtime_metrics.go index 6d013f3f1..a51cab3f9 100644 --- a/stdlib/go1_17_runtime_metrics.go +++ b/stdlib/go1_18_runtime_metrics.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract runtime/metrics'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_runtime_pprof.go b/stdlib/go1_18_runtime_pprof.go similarity index 95% rename from stdlib/go1_17_runtime_pprof.go rename to stdlib/go1_18_runtime_pprof.go index 92c640c58..f214f6ef8 100644 --- a/stdlib/go1_17_runtime_pprof.go +++ b/stdlib/go1_18_runtime_pprof.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract runtime/pprof'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_runtime_trace.go b/stdlib/go1_18_runtime_trace.go similarity index 93% rename from stdlib/go1_16_runtime_trace.go rename to stdlib/go1_18_runtime_trace.go index 1613fe8db..812fcefa9 100644 --- a/stdlib/go1_16_runtime_trace.go +++ b/stdlib/go1_18_runtime_trace.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_sort.go b/stdlib/go1_18_sort.go similarity index 97% rename from stdlib/go1_17_sort.go rename to stdlib/go1_18_sort.go index 90ab9fa0c..97d257c63 100644 --- a/stdlib/go1_17_sort.go +++ b/stdlib/go1_18_sort.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract sort'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_strconv.go b/stdlib/go1_18_strconv.go similarity index 95% rename from stdlib/go1_16_strconv.go rename to stdlib/go1_18_strconv.go index 15aa43d1b..94aa21d57 100644 --- a/stdlib/go1_16_strconv.go +++ b/stdlib/go1_18_strconv.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract strconv'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -48,6 +49,7 @@ func init() { "QuoteRuneToGraphic": reflect.ValueOf(strconv.QuoteRuneToGraphic), "QuoteToASCII": reflect.ValueOf(strconv.QuoteToASCII), "QuoteToGraphic": reflect.ValueOf(strconv.QuoteToGraphic), + "QuotedPrefix": reflect.ValueOf(strconv.QuotedPrefix), "Unquote": reflect.ValueOf(strconv.Unquote), "UnquoteChar": reflect.ValueOf(strconv.UnquoteChar), diff --git a/stdlib/go1_17_strings.go b/stdlib/go1_18_strings.go similarity index 95% rename from stdlib/go1_17_strings.go rename to stdlib/go1_18_strings.go index 0bd542cfa..05b8f3c9a 100644 --- a/stdlib/go1_17_strings.go +++ b/stdlib/go1_18_strings.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract strings'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -13,11 +13,13 @@ import ( func init() { Symbols["strings/strings"] = map[string]reflect.Value{ // function, constant and variable definitions + "Clone": reflect.ValueOf(strings.Clone), "Compare": reflect.ValueOf(strings.Compare), "Contains": reflect.ValueOf(strings.Contains), "ContainsAny": reflect.ValueOf(strings.ContainsAny), "ContainsRune": reflect.ValueOf(strings.ContainsRune), "Count": reflect.ValueOf(strings.Count), + "Cut": reflect.ValueOf(strings.Cut), "EqualFold": reflect.ValueOf(strings.EqualFold), "Fields": reflect.ValueOf(strings.Fields), "FieldsFunc": reflect.ValueOf(strings.FieldsFunc), diff --git a/stdlib/go1_16_sync.go b/stdlib/go1_18_sync.go similarity index 95% rename from stdlib/go1_16_sync.go rename to stdlib/go1_18_sync.go index 3861c964f..589d3b9e1 100644 --- a/stdlib/go1_16_sync.go +++ b/stdlib/go1_18_sync.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract sync'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_sync_atomic.go b/stdlib/go1_18_sync_atomic.go similarity index 97% rename from stdlib/go1_17_sync_atomic.go rename to stdlib/go1_18_sync_atomic.go index ada9968f4..43931e58b 100644 --- a/stdlib/go1_17_sync_atomic.go +++ b/stdlib/go1_18_sync_atomic.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract sync/atomic'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_testing.go b/stdlib/go1_18_testing.go similarity index 54% rename from stdlib/go1_16_testing.go rename to stdlib/go1_18_testing.go index 0824633e9..7d107146b 100644 --- a/stdlib/go1_16_testing.go +++ b/stdlib/go1_18_testing.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract testing'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -27,17 +28,19 @@ func init() { "Verbose": reflect.ValueOf(testing.Verbose), // type definitions - "B": reflect.ValueOf((*testing.B)(nil)), - "BenchmarkResult": reflect.ValueOf((*testing.BenchmarkResult)(nil)), - "Cover": reflect.ValueOf((*testing.Cover)(nil)), - "CoverBlock": reflect.ValueOf((*testing.CoverBlock)(nil)), - "InternalBenchmark": reflect.ValueOf((*testing.InternalBenchmark)(nil)), - "InternalExample": reflect.ValueOf((*testing.InternalExample)(nil)), - "InternalTest": reflect.ValueOf((*testing.InternalTest)(nil)), - "M": reflect.ValueOf((*testing.M)(nil)), - "PB": reflect.ValueOf((*testing.PB)(nil)), - "T": reflect.ValueOf((*testing.T)(nil)), - "TB": reflect.ValueOf((*testing.TB)(nil)), + "B": reflect.ValueOf((*testing.B)(nil)), + "BenchmarkResult": reflect.ValueOf((*testing.BenchmarkResult)(nil)), + "Cover": reflect.ValueOf((*testing.Cover)(nil)), + "CoverBlock": reflect.ValueOf((*testing.CoverBlock)(nil)), + "F": reflect.ValueOf((*testing.F)(nil)), + "InternalBenchmark": reflect.ValueOf((*testing.InternalBenchmark)(nil)), + "InternalExample": reflect.ValueOf((*testing.InternalExample)(nil)), + "InternalFuzzTarget": reflect.ValueOf((*testing.InternalFuzzTarget)(nil)), + "InternalTest": reflect.ValueOf((*testing.InternalTest)(nil)), + "M": reflect.ValueOf((*testing.M)(nil)), + "PB": reflect.ValueOf((*testing.PB)(nil)), + "T": reflect.ValueOf((*testing.T)(nil)), + "TB": reflect.ValueOf((*testing.TB)(nil)), // interface wrapper definitions "_TB": reflect.ValueOf((*_testing_TB)(nil)), @@ -48,20 +51,21 @@ func init() { type _testing_TB struct { IValue interface{} WCleanup func(a0 func()) - WError func(args ...interface{}) - WErrorf func(format string, args ...interface{}) + WError func(args ...any) + WErrorf func(format string, args ...any) WFail func() WFailNow func() WFailed func() bool - WFatal func(args ...interface{}) - WFatalf func(format string, args ...interface{}) + WFatal func(args ...any) + WFatalf func(format string, args ...any) WHelper func() - WLog func(args ...interface{}) - WLogf func(format string, args ...interface{}) + WLog func(args ...any) + WLogf func(format string, args ...any) WName func() string - WSkip func(args ...interface{}) + WSetenv func(key string, value string) + WSkip func(args ...any) WSkipNow func() - WSkipf func(format string, args ...interface{}) + WSkipf func(format string, args ...any) WSkipped func() bool WTempDir func() string } @@ -69,10 +73,10 @@ type _testing_TB struct { func (W _testing_TB) Cleanup(a0 func()) { W.WCleanup(a0) } -func (W _testing_TB) Error(args ...interface{}) { +func (W _testing_TB) Error(args ...any) { W.WError(args...) } -func (W _testing_TB) Errorf(format string, args ...interface{}) { +func (W _testing_TB) Errorf(format string, args ...any) { W.WErrorf(format, args...) } func (W _testing_TB) Fail() { @@ -84,31 +88,34 @@ func (W _testing_TB) FailNow() { func (W _testing_TB) Failed() bool { return W.WFailed() } -func (W _testing_TB) Fatal(args ...interface{}) { +func (W _testing_TB) Fatal(args ...any) { W.WFatal(args...) } -func (W _testing_TB) Fatalf(format string, args ...interface{}) { +func (W _testing_TB) Fatalf(format string, args ...any) { W.WFatalf(format, args...) } func (W _testing_TB) Helper() { W.WHelper() } -func (W _testing_TB) Log(args ...interface{}) { +func (W _testing_TB) Log(args ...any) { W.WLog(args...) } -func (W _testing_TB) Logf(format string, args ...interface{}) { +func (W _testing_TB) Logf(format string, args ...any) { W.WLogf(format, args...) } func (W _testing_TB) Name() string { return W.WName() } -func (W _testing_TB) Skip(args ...interface{}) { +func (W _testing_TB) Setenv(key string, value string) { + W.WSetenv(key, value) +} +func (W _testing_TB) Skip(args ...any) { W.WSkip(args...) } func (W _testing_TB) SkipNow() { W.WSkipNow() } -func (W _testing_TB) Skipf(format string, args ...interface{}) { +func (W _testing_TB) Skipf(format string, args ...any) { W.WSkipf(format, args...) } func (W _testing_TB) Skipped() bool { diff --git a/stdlib/go1_16_testing_fstest.go b/stdlib/go1_18_testing_fstest.go similarity index 88% rename from stdlib/go1_16_testing_fstest.go rename to stdlib/go1_18_testing_fstest.go index ba150e203..6733a272f 100644 --- a/stdlib/go1_16_testing_fstest.go +++ b/stdlib/go1_18_testing_fstest.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract testing/fstest'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_testing_iotest.go b/stdlib/go1_18_testing_iotest.go similarity index 93% rename from stdlib/go1_16_testing_iotest.go rename to stdlib/go1_18_testing_iotest.go index d123f8e33..e8be5e27e 100644 --- a/stdlib/go1_16_testing_iotest.go +++ b/stdlib/go1_18_testing_iotest.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract testing/iotest'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_testing_quick.go b/stdlib/go1_18_testing_quick.go similarity index 95% rename from stdlib/go1_16_testing_quick.go rename to stdlib/go1_18_testing_quick.go index dd2010e2a..f3bdc868a 100644 --- a/stdlib/go1_16_testing_quick.go +++ b/stdlib/go1_18_testing_quick.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract testing/quick'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_text_scanner.go b/stdlib/go1_18_text_scanner.go similarity index 97% rename from stdlib/go1_17_text_scanner.go rename to stdlib/go1_18_text_scanner.go index de386468d..166f63f8c 100644 --- a/stdlib/go1_17_text_scanner.go +++ b/stdlib/go1_18_text_scanner.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract text/scanner'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_text_tabwriter.go b/stdlib/go1_18_text_tabwriter.go similarity index 94% rename from stdlib/go1_17_text_tabwriter.go rename to stdlib/go1_18_text_tabwriter.go index 21b5811ec..fcd401205 100644 --- a/stdlib/go1_17_text_tabwriter.go +++ b/stdlib/go1_18_text_tabwriter.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_text_template.go b/stdlib/go1_18_text_template.go similarity index 95% rename from stdlib/go1_16_text_template.go rename to stdlib/go1_18_text_template.go index b345a2af6..d4fbf11a5 100644 --- a/stdlib/go1_16_text_template.go +++ b/stdlib/go1_18_text_template.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract text/template'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_16_text_template_parse.go b/stdlib/go1_18_text_template_parse.go similarity index 91% rename from stdlib/go1_16_text_template_parse.go rename to stdlib/go1_18_text_template_parse.go index 63012ef2b..6bb71d788 100644 --- a/stdlib/go1_16_text_template_parse.go +++ b/stdlib/go1_18_text_template_parse.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract text/template/parse'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -17,9 +18,11 @@ func init() { "NewIdentifier": reflect.ValueOf(parse.NewIdentifier), "NodeAction": reflect.ValueOf(parse.NodeAction), "NodeBool": reflect.ValueOf(parse.NodeBool), + "NodeBreak": reflect.ValueOf(parse.NodeBreak), "NodeChain": reflect.ValueOf(parse.NodeChain), "NodeCommand": reflect.ValueOf(parse.NodeCommand), "NodeComment": reflect.ValueOf(parse.NodeComment), + "NodeContinue": reflect.ValueOf(parse.NodeContinue), "NodeDot": reflect.ValueOf(parse.NodeDot), "NodeField": reflect.ValueOf(parse.NodeField), "NodeIdentifier": reflect.ValueOf(parse.NodeIdentifier), @@ -36,14 +39,17 @@ func init() { "NodeWith": reflect.ValueOf(parse.NodeWith), "Parse": reflect.ValueOf(parse.Parse), "ParseComments": reflect.ValueOf(parse.ParseComments), + "SkipFuncCheck": reflect.ValueOf(parse.SkipFuncCheck), // type definitions "ActionNode": reflect.ValueOf((*parse.ActionNode)(nil)), "BoolNode": reflect.ValueOf((*parse.BoolNode)(nil)), "BranchNode": reflect.ValueOf((*parse.BranchNode)(nil)), + "BreakNode": reflect.ValueOf((*parse.BreakNode)(nil)), "ChainNode": reflect.ValueOf((*parse.ChainNode)(nil)), "CommandNode": reflect.ValueOf((*parse.CommandNode)(nil)), "CommentNode": reflect.ValueOf((*parse.CommentNode)(nil)), + "ContinueNode": reflect.ValueOf((*parse.ContinueNode)(nil)), "DotNode": reflect.ValueOf((*parse.DotNode)(nil)), "FieldNode": reflect.ValueOf((*parse.FieldNode)(nil)), "IdentifierNode": reflect.ValueOf((*parse.IdentifierNode)(nil)), diff --git a/stdlib/go1_16_time.go b/stdlib/go1_18_time.go similarity index 94% rename from stdlib/go1_16_time.go rename to stdlib/go1_18_time.go index c3f0c2e53..5b1cfc2c6 100644 --- a/stdlib/go1_16_time.go +++ b/stdlib/go1_18_time.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract time'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -29,6 +30,7 @@ func init() { "July": reflect.ValueOf(time.July), "June": reflect.ValueOf(time.June), "Kitchen": reflect.ValueOf(constant.MakeFromLiteral("\"3:04PM\"", token.STRING, 0)), + "Layout": reflect.ValueOf(constant.MakeFromLiteral("\"01/02 03:04:05PM '06 -0700\"", token.STRING, 0)), "LoadLocation": reflect.ValueOf(time.LoadLocation), "LoadLocationFromTZData": reflect.ValueOf(time.LoadLocationFromTZData), "Local": reflect.ValueOf(&time.Local).Elem(), @@ -71,6 +73,8 @@ func init() { "UTC": reflect.ValueOf(&time.UTC).Elem(), "Unix": reflect.ValueOf(time.Unix), "UnixDate": reflect.ValueOf(constant.MakeFromLiteral("\"Mon Jan _2 15:04:05 MST 2006\"", token.STRING, 0)), + "UnixMicro": reflect.ValueOf(time.UnixMicro), + "UnixMilli": reflect.ValueOf(time.UnixMilli), "Until": reflect.ValueOf(time.Until), "Wednesday": reflect.ValueOf(time.Wednesday), diff --git a/stdlib/go1_16_unicode.go b/stdlib/go1_18_unicode.go similarity index 99% rename from stdlib/go1_16_unicode.go rename to stdlib/go1_18_unicode.go index 0c18704f6..ca5d2aeca 100644 --- a/stdlib/go1_16_unicode.go +++ b/stdlib/go1_18_unicode.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract unicode'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_unicode_utf16.go b/stdlib/go1_18_unicode_utf16.go similarity index 90% rename from stdlib/go1_17_unicode_utf16.go rename to stdlib/go1_18_unicode_utf16.go index f113d5fa9..977ee4c45 100644 --- a/stdlib/go1_17_unicode_utf16.go +++ b/stdlib/go1_18_unicode_utf16.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib diff --git a/stdlib/go1_17_unicode_utf8.go b/stdlib/go1_18_unicode_utf8.go similarity index 92% rename from stdlib/go1_17_unicode_utf8.go rename to stdlib/go1_18_unicode_utf8.go index 56d0f8e12..f8209c2c6 100644 --- a/stdlib/go1_17_unicode_utf8.go +++ b/stdlib/go1_18_unicode_utf8.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package stdlib @@ -15,6 +15,7 @@ import ( func init() { Symbols["unicode/utf8/utf8"] = map[string]reflect.Value{ // function, constant and variable definitions + "AppendRune": reflect.ValueOf(utf8.AppendRune), "DecodeLastRune": reflect.ValueOf(utf8.DecodeLastRune), "DecodeLastRuneInString": reflect.ValueOf(utf8.DecodeLastRuneInString), "DecodeRune": reflect.ValueOf(utf8.DecodeRune), diff --git a/stdlib/go1_16_archive_tar.go b/stdlib/go1_19_archive_tar.go similarity index 98% rename from stdlib/go1_16_archive_tar.go rename to stdlib/go1_19_archive_tar.go index d2a651271..14cb077ee 100644 --- a/stdlib/go1_16_archive_tar.go +++ b/stdlib/go1_19_archive_tar.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract archive/tar'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_archive_zip.go b/stdlib/go1_19_archive_zip.go similarity index 97% rename from stdlib/go1_16_archive_zip.go rename to stdlib/go1_19_archive_zip.go index d14a6a424..5e904a72f 100644 --- a/stdlib/go1_16_archive_zip.go +++ b/stdlib/go1_19_archive_zip.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract archive/zip'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_bufio.go b/stdlib/go1_19_bufio.go similarity index 98% rename from stdlib/go1_17_bufio.go rename to stdlib/go1_19_bufio.go index 6ce40013d..26bff86ce 100644 --- a/stdlib/go1_17_bufio.go +++ b/stdlib/go1_19_bufio.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract bufio'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_bytes.go b/stdlib/go1_19_bytes.go similarity index 97% rename from stdlib/go1_17_bytes.go rename to stdlib/go1_19_bytes.go index 6a89dc817..11b1d62e2 100644 --- a/stdlib/go1_17_bytes.go +++ b/stdlib/go1_19_bytes.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract bytes'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -20,6 +20,7 @@ func init() { "ContainsAny": reflect.ValueOf(bytes.ContainsAny), "ContainsRune": reflect.ValueOf(bytes.ContainsRune), "Count": reflect.ValueOf(bytes.Count), + "Cut": reflect.ValueOf(bytes.Cut), "Equal": reflect.ValueOf(bytes.Equal), "EqualFold": reflect.ValueOf(bytes.EqualFold), "ErrTooLarge": reflect.ValueOf(&bytes.ErrTooLarge).Elem(), diff --git a/stdlib/go1_16_compress_bzip2.go b/stdlib/go1_19_compress_bzip2.go similarity index 91% rename from stdlib/go1_16_compress_bzip2.go rename to stdlib/go1_19_compress_bzip2.go index cdf9343ea..2194693a5 100644 --- a/stdlib/go1_16_compress_bzip2.go +++ b/stdlib/go1_19_compress_bzip2.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract compress/bzip2'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_compress_flate.go b/stdlib/go1_19_compress_flate.go similarity index 98% rename from stdlib/go1_17_compress_flate.go rename to stdlib/go1_19_compress_flate.go index 3c1b18b61..4498a40fd 100644 --- a/stdlib/go1_17_compress_flate.go +++ b/stdlib/go1_19_compress_flate.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract compress/flate'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_compress_gzip.go b/stdlib/go1_19_compress_gzip.go similarity index 97% rename from stdlib/go1_16_compress_gzip.go rename to stdlib/go1_19_compress_gzip.go index 7302a61bc..29455b8fb 100644 --- a/stdlib/go1_16_compress_gzip.go +++ b/stdlib/go1_19_compress_gzip.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract compress/gzip'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_compress_lzw.go b/stdlib/go1_19_compress_lzw.go similarity index 94% rename from stdlib/go1_17_compress_lzw.go rename to stdlib/go1_19_compress_lzw.go index 38edb3647..0cd6d8c56 100644 --- a/stdlib/go1_17_compress_lzw.go +++ b/stdlib/go1_19_compress_lzw.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract compress/lzw'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_compress_zlib.go b/stdlib/go1_19_compress_zlib.go similarity index 98% rename from stdlib/go1_16_compress_zlib.go rename to stdlib/go1_19_compress_zlib.go index c92824acf..667209d62 100644 --- a/stdlib/go1_16_compress_zlib.go +++ b/stdlib/go1_19_compress_zlib.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract compress/zlib'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_container_heap.go b/stdlib/go1_19_container_heap.go similarity index 84% rename from stdlib/go1_17_container_heap.go rename to stdlib/go1_19_container_heap.go index fc8ca524b..6fa4f093b 100644 --- a/stdlib/go1_17_container_heap.go +++ b/stdlib/go1_19_container_heap.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract container/heap'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -32,8 +32,8 @@ type _container_heap_Interface struct { IValue interface{} WLen func() int WLess func(i int, j int) bool - WPop func() interface{} - WPush func(x interface{}) + WPop func() any + WPush func(x any) WSwap func(i int, j int) } @@ -43,10 +43,10 @@ func (W _container_heap_Interface) Len() int { func (W _container_heap_Interface) Less(i int, j int) bool { return W.WLess(i, j) } -func (W _container_heap_Interface) Pop() interface{} { +func (W _container_heap_Interface) Pop() any { return W.WPop() } -func (W _container_heap_Interface) Push(x interface{}) { +func (W _container_heap_Interface) Push(x any) { W.WPush(x) } func (W _container_heap_Interface) Swap(i int, j int) { diff --git a/stdlib/go1_17_container_list.go b/stdlib/go1_19_container_list.go similarity index 92% rename from stdlib/go1_17_container_list.go rename to stdlib/go1_19_container_list.go index 4f17eac78..091b32688 100644 --- a/stdlib/go1_17_container_list.go +++ b/stdlib/go1_19_container_list.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract container/list'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_container_ring.go b/stdlib/go1_19_container_ring.go similarity index 91% rename from stdlib/go1_17_container_ring.go rename to stdlib/go1_19_container_ring.go index aaed92a2a..04dde2c50 100644 --- a/stdlib/go1_17_container_ring.go +++ b/stdlib/go1_19_container_ring.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract container/ring'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_context.go b/stdlib/go1_19_context.go similarity index 90% rename from stdlib/go1_17_context.go rename to stdlib/go1_19_context.go index 13c8db9c9..4fb21b6c4 100644 --- a/stdlib/go1_17_context.go +++ b/stdlib/go1_19_context.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract context'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -38,7 +38,7 @@ type _context_Context struct { WDeadline func() (deadline time.Time, ok bool) WDone func() <-chan struct{} WErr func() error - WValue func(key interface{}) interface{} + WValue func(key any) any } func (W _context_Context) Deadline() (deadline time.Time, ok bool) { @@ -50,6 +50,6 @@ func (W _context_Context) Done() <-chan struct{} { func (W _context_Context) Err() error { return W.WErr() } -func (W _context_Context) Value(key interface{}) interface{} { +func (W _context_Context) Value(key any) any { return W.WValue(key) } diff --git a/stdlib/go1_16_crypto.go b/stdlib/go1_19_crypto.go similarity index 99% rename from stdlib/go1_16_crypto.go rename to stdlib/go1_19_crypto.go index 072f60894..14136ddb2 100644 --- a/stdlib/go1_16_crypto.go +++ b/stdlib/go1_19_crypto.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_aes.go b/stdlib/go1_19_crypto_aes.go similarity index 93% rename from stdlib/go1_17_crypto_aes.go rename to stdlib/go1_19_crypto_aes.go index cfa7ad97e..d8759bb2a 100644 --- a/stdlib/go1_17_crypto_aes.go +++ b/stdlib/go1_19_crypto_aes.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/aes'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_cipher.go b/stdlib/go1_19_crypto_cipher.go similarity index 99% rename from stdlib/go1_17_crypto_cipher.go rename to stdlib/go1_19_crypto_cipher.go index 49f5b54e7..0ad18c492 100644 --- a/stdlib/go1_17_crypto_cipher.go +++ b/stdlib/go1_19_crypto_cipher.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/cipher'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_des.go b/stdlib/go1_19_crypto_des.go similarity index 94% rename from stdlib/go1_16_crypto_des.go rename to stdlib/go1_19_crypto_des.go index 16e142754..9bf7073c8 100644 --- a/stdlib/go1_16_crypto_des.go +++ b/stdlib/go1_19_crypto_des.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/des'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_dsa.go b/stdlib/go1_19_crypto_dsa.go similarity index 96% rename from stdlib/go1_16_crypto_dsa.go rename to stdlib/go1_19_crypto_dsa.go index e8182d3d2..2953baacc 100644 --- a/stdlib/go1_16_crypto_dsa.go +++ b/stdlib/go1_19_crypto_dsa.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/dsa'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_ecdsa.go b/stdlib/go1_19_crypto_ecdsa.go similarity index 94% rename from stdlib/go1_16_crypto_ecdsa.go rename to stdlib/go1_19_crypto_ecdsa.go index b80efde08..63a0cd24a 100644 --- a/stdlib/go1_16_crypto_ecdsa.go +++ b/stdlib/go1_19_crypto_ecdsa.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/ecdsa'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_ed25519.go b/stdlib/go1_19_crypto_ed25519.go similarity index 96% rename from stdlib/go1_17_crypto_ed25519.go rename to stdlib/go1_19_crypto_ed25519.go index 7d3ca8d44..6a894a1d9 100644 --- a/stdlib/go1_17_crypto_ed25519.go +++ b/stdlib/go1_19_crypto_ed25519.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/ed25519'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_elliptic.go b/stdlib/go1_19_crypto_elliptic.go similarity index 98% rename from stdlib/go1_17_crypto_elliptic.go rename to stdlib/go1_19_crypto_elliptic.go index eda39293f..457b79ea7 100644 --- a/stdlib/go1_17_crypto_elliptic.go +++ b/stdlib/go1_19_crypto_elliptic.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/elliptic'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_hmac.go b/stdlib/go1_19_crypto_hmac.go similarity index 90% rename from stdlib/go1_16_crypto_hmac.go rename to stdlib/go1_19_crypto_hmac.go index db024d2eb..4c7cc8c96 100644 --- a/stdlib/go1_16_crypto_hmac.go +++ b/stdlib/go1_19_crypto_hmac.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/hmac'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_md5.go b/stdlib/go1_19_crypto_md5.go similarity index 93% rename from stdlib/go1_17_crypto_md5.go rename to stdlib/go1_19_crypto_md5.go index bea98377c..65dd55d02 100644 --- a/stdlib/go1_17_crypto_md5.go +++ b/stdlib/go1_19_crypto_md5.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/md5'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_rand.go b/stdlib/go1_19_crypto_rand.go similarity index 92% rename from stdlib/go1_16_crypto_rand.go rename to stdlib/go1_19_crypto_rand.go index 28036a0dd..738d950fe 100644 --- a/stdlib/go1_16_crypto_rand.go +++ b/stdlib/go1_19_crypto_rand.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/rand'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_rc4.go b/stdlib/go1_19_crypto_rc4.go similarity index 92% rename from stdlib/go1_17_crypto_rc4.go rename to stdlib/go1_19_crypto_rc4.go index 9f01c2537..8ad98fbe4 100644 --- a/stdlib/go1_17_crypto_rc4.go +++ b/stdlib/go1_19_crypto_rc4.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/rc4'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_rsa.go b/stdlib/go1_19_crypto_rsa.go similarity index 98% rename from stdlib/go1_17_crypto_rsa.go rename to stdlib/go1_19_crypto_rsa.go index f807c330b..064e0960d 100644 --- a/stdlib/go1_17_crypto_rsa.go +++ b/stdlib/go1_19_crypto_rsa.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/rsa'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_sha1.go b/stdlib/go1_19_crypto_sha1.go similarity index 93% rename from stdlib/go1_17_crypto_sha1.go rename to stdlib/go1_19_crypto_sha1.go index db2329efb..3da99411c 100644 --- a/stdlib/go1_17_crypto_sha1.go +++ b/stdlib/go1_19_crypto_sha1.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/sha1'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_sha256.go b/stdlib/go1_19_crypto_sha256.go similarity index 95% rename from stdlib/go1_17_crypto_sha256.go rename to stdlib/go1_19_crypto_sha256.go index 421967bc2..0e5ce8766 100644 --- a/stdlib/go1_17_crypto_sha256.go +++ b/stdlib/go1_19_crypto_sha256.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/sha256'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_sha512.go b/stdlib/go1_19_crypto_sha512.go similarity index 96% rename from stdlib/go1_16_crypto_sha512.go rename to stdlib/go1_19_crypto_sha512.go index 4591108c5..5ac4b0d0b 100644 --- a/stdlib/go1_16_crypto_sha512.go +++ b/stdlib/go1_19_crypto_sha512.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/sha512'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_subtle.go b/stdlib/go1_19_crypto_subtle.go similarity index 95% rename from stdlib/go1_16_crypto_subtle.go rename to stdlib/go1_19_crypto_subtle.go index 7f4a7d679..bc9928c4d 100644 --- a/stdlib/go1_16_crypto_subtle.go +++ b/stdlib/go1_19_crypto_subtle.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/subtle'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_crypto_tls.go b/stdlib/go1_19_crypto_tls.go similarity index 99% rename from stdlib/go1_16_crypto_tls.go rename to stdlib/go1_19_crypto_tls.go index 8de497350..6bcdbdc31 100644 --- a/stdlib/go1_16_crypto_tls.go +++ b/stdlib/go1_19_crypto_tls.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/tls'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_crypto_x509.go b/stdlib/go1_19_crypto_x509.go similarity index 98% rename from stdlib/go1_17_crypto_x509.go rename to stdlib/go1_19_crypto_x509.go index d8b750246..3f4eb6694 100644 --- a/stdlib/go1_17_crypto_x509.go +++ b/stdlib/go1_19_crypto_x509.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract crypto/x509'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -83,6 +83,7 @@ func init() { "ParsePKCS1PublicKey": reflect.ValueOf(x509.ParsePKCS1PublicKey), "ParsePKCS8PrivateKey": reflect.ValueOf(x509.ParsePKCS8PrivateKey), "ParsePKIXPublicKey": reflect.ValueOf(x509.ParsePKIXPublicKey), + "ParseRevocationList": reflect.ValueOf(x509.ParseRevocationList), "PureEd25519": reflect.ValueOf(x509.PureEd25519), "RSA": reflect.ValueOf(x509.RSA), "SHA1WithRSA": reflect.ValueOf(x509.SHA1WithRSA), diff --git a/stdlib/go1_16_crypto_x509_pkix.go b/stdlib/go1_19_crypto_x509_pkix.go similarity index 96% rename from stdlib/go1_16_crypto_x509_pkix.go rename to stdlib/go1_19_crypto_x509_pkix.go index c236e3800..d2383519b 100644 --- a/stdlib/go1_16_crypto_x509_pkix.go +++ b/stdlib/go1_19_crypto_x509_pkix.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract crypto/x509/pkix'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_database_sql.go b/stdlib/go1_19_database_sql.go similarity index 96% rename from stdlib/go1_17_database_sql.go rename to stdlib/go1_19_database_sql.go index f99572454..cb7fb1bab 100644 --- a/stdlib/go1_17_database_sql.go +++ b/stdlib/go1_19_database_sql.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract database/sql'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -78,9 +78,9 @@ func (W _database_sql_Result) RowsAffected() (int64, error) { // _database_sql_Scanner is an interface wrapper for Scanner type type _database_sql_Scanner struct { IValue interface{} - WScan func(src interface{}) error + WScan func(src any) error } -func (W _database_sql_Scanner) Scan(src interface{}) error { +func (W _database_sql_Scanner) Scan(src any) error { return W.WScan(src) } diff --git a/stdlib/go1_16_database_sql_driver.go b/stdlib/go1_19_database_sql_driver.go similarity index 99% rename from stdlib/go1_16_database_sql_driver.go rename to stdlib/go1_19_database_sql_driver.go index 37ad0c4b7..ddff2db05 100644 --- a/stdlib/go1_16_database_sql_driver.go +++ b/stdlib/go1_19_database_sql_driver.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract database/sql/driver'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -490,10 +491,10 @@ type _database_sql_driver_Value struct { // _database_sql_driver_ValueConverter is an interface wrapper for ValueConverter type type _database_sql_driver_ValueConverter struct { IValue interface{} - WConvertValue func(v interface{}) (driver.Value, error) + WConvertValue func(v any) (driver.Value, error) } -func (W _database_sql_driver_ValueConverter) ConvertValue(v interface{}) (driver.Value, error) { +func (W _database_sql_driver_ValueConverter) ConvertValue(v any) (driver.Value, error) { return W.WConvertValue(v) } diff --git a/stdlib/go1_19_debug_buildinfo.go b/stdlib/go1_19_debug_buildinfo.go new file mode 100644 index 000000000..5130f6173 --- /dev/null +++ b/stdlib/go1_19_debug_buildinfo.go @@ -0,0 +1,22 @@ +// Code generated by 'yaegi extract debug/buildinfo'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package stdlib + +import ( + "debug/buildinfo" + "reflect" +) + +func init() { + Symbols["debug/buildinfo/buildinfo"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Read": reflect.ValueOf(buildinfo.Read), + "ReadFile": reflect.ValueOf(buildinfo.ReadFile), + + // type definitions + "BuildInfo": reflect.ValueOf((*buildinfo.BuildInfo)(nil)), + } +} diff --git a/stdlib/go1_17_debug_dwarf.go b/stdlib/go1_19_debug_dwarf.go similarity index 99% rename from stdlib/go1_17_debug_dwarf.go rename to stdlib/go1_19_debug_dwarf.go index a2e429cef..a1f6ad03e 100644 --- a/stdlib/go1_17_debug_dwarf.go +++ b/stdlib/go1_19_debug_dwarf.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/dwarf'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_debug_elf.go b/stdlib/go1_19_debug_elf.go similarity index 95% rename from stdlib/go1_16_debug_elf.go rename to stdlib/go1_19_debug_elf.go index a2aeaf688..d4e2998cb 100644 --- a/stdlib/go1_16_debug_elf.go +++ b/stdlib/go1_19_debug_elf.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/elf'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -167,7 +168,7 @@ func init() { "ELFDATA2LSB": reflect.ValueOf(elf.ELFDATA2LSB), "ELFDATA2MSB": reflect.ValueOf(elf.ELFDATA2MSB), "ELFDATANONE": reflect.ValueOf(elf.ELFDATANONE), - "ELFMAG": reflect.ValueOf(constant.MakeFromLiteral("\"\\u007fELF\"", token.STRING, 0)), + "ELFMAG": reflect.ValueOf(constant.MakeFromLiteral("\"\\x7fELF\"", token.STRING, 0)), "ELFOSABI_86OPEN": reflect.ValueOf(elf.ELFOSABI_86OPEN), "ELFOSABI_AIX": reflect.ValueOf(elf.ELFOSABI_AIX), "ELFOSABI_ARM": reflect.ValueOf(elf.ELFOSABI_ARM), @@ -274,6 +275,7 @@ func init() { "EM_L10M": reflect.ValueOf(elf.EM_L10M), "EM_LANAI": reflect.ValueOf(elf.EM_LANAI), "EM_LATTICEMICO32": reflect.ValueOf(elf.EM_LATTICEMICO32), + "EM_LOONGARCH": reflect.ValueOf(elf.EM_LOONGARCH), "EM_M16C": reflect.ValueOf(elf.EM_M16C), "EM_M32": reflect.ValueOf(elf.EM_M32), "EM_M32C": reflect.ValueOf(elf.EM_M32C), @@ -836,6 +838,56 @@ func init() { "R_ARM_XPC25": reflect.ValueOf(elf.R_ARM_XPC25), "R_INFO": reflect.ValueOf(elf.R_INFO), "R_INFO32": reflect.ValueOf(elf.R_INFO32), + "R_LARCH_32": reflect.ValueOf(elf.R_LARCH_32), + "R_LARCH_64": reflect.ValueOf(elf.R_LARCH_64), + "R_LARCH_ADD16": reflect.ValueOf(elf.R_LARCH_ADD16), + "R_LARCH_ADD24": reflect.ValueOf(elf.R_LARCH_ADD24), + "R_LARCH_ADD32": reflect.ValueOf(elf.R_LARCH_ADD32), + "R_LARCH_ADD64": reflect.ValueOf(elf.R_LARCH_ADD64), + "R_LARCH_ADD8": reflect.ValueOf(elf.R_LARCH_ADD8), + "R_LARCH_COPY": reflect.ValueOf(elf.R_LARCH_COPY), + "R_LARCH_IRELATIVE": reflect.ValueOf(elf.R_LARCH_IRELATIVE), + "R_LARCH_JUMP_SLOT": reflect.ValueOf(elf.R_LARCH_JUMP_SLOT), + "R_LARCH_MARK_LA": reflect.ValueOf(elf.R_LARCH_MARK_LA), + "R_LARCH_MARK_PCREL": reflect.ValueOf(elf.R_LARCH_MARK_PCREL), + "R_LARCH_NONE": reflect.ValueOf(elf.R_LARCH_NONE), + "R_LARCH_RELATIVE": reflect.ValueOf(elf.R_LARCH_RELATIVE), + "R_LARCH_SOP_ADD": reflect.ValueOf(elf.R_LARCH_SOP_ADD), + "R_LARCH_SOP_AND": reflect.ValueOf(elf.R_LARCH_SOP_AND), + "R_LARCH_SOP_ASSERT": reflect.ValueOf(elf.R_LARCH_SOP_ASSERT), + "R_LARCH_SOP_IF_ELSE": reflect.ValueOf(elf.R_LARCH_SOP_IF_ELSE), + "R_LARCH_SOP_NOT": reflect.ValueOf(elf.R_LARCH_SOP_NOT), + "R_LARCH_SOP_POP_32_S_0_10_10_16_S2": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_0_10_10_16_S2), + "R_LARCH_SOP_POP_32_S_0_5_10_16_S2": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_0_5_10_16_S2), + "R_LARCH_SOP_POP_32_S_10_12": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_10_12), + "R_LARCH_SOP_POP_32_S_10_16": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_10_16), + "R_LARCH_SOP_POP_32_S_10_16_S2": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_10_16_S2), + "R_LARCH_SOP_POP_32_S_10_5": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_10_5), + "R_LARCH_SOP_POP_32_S_5_20": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_S_5_20), + "R_LARCH_SOP_POP_32_U": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_U), + "R_LARCH_SOP_POP_32_U_10_12": reflect.ValueOf(elf.R_LARCH_SOP_POP_32_U_10_12), + "R_LARCH_SOP_PUSH_ABSOLUTE": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_ABSOLUTE), + "R_LARCH_SOP_PUSH_DUP": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_DUP), + "R_LARCH_SOP_PUSH_GPREL": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_GPREL), + "R_LARCH_SOP_PUSH_PCREL": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_PCREL), + "R_LARCH_SOP_PUSH_PLT_PCREL": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_PLT_PCREL), + "R_LARCH_SOP_PUSH_TLS_GD": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_TLS_GD), + "R_LARCH_SOP_PUSH_TLS_GOT": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_TLS_GOT), + "R_LARCH_SOP_PUSH_TLS_TPREL": reflect.ValueOf(elf.R_LARCH_SOP_PUSH_TLS_TPREL), + "R_LARCH_SOP_SL": reflect.ValueOf(elf.R_LARCH_SOP_SL), + "R_LARCH_SOP_SR": reflect.ValueOf(elf.R_LARCH_SOP_SR), + "R_LARCH_SOP_SUB": reflect.ValueOf(elf.R_LARCH_SOP_SUB), + "R_LARCH_SUB16": reflect.ValueOf(elf.R_LARCH_SUB16), + "R_LARCH_SUB24": reflect.ValueOf(elf.R_LARCH_SUB24), + "R_LARCH_SUB32": reflect.ValueOf(elf.R_LARCH_SUB32), + "R_LARCH_SUB64": reflect.ValueOf(elf.R_LARCH_SUB64), + "R_LARCH_SUB8": reflect.ValueOf(elf.R_LARCH_SUB8), + "R_LARCH_TLS_DTPMOD32": reflect.ValueOf(elf.R_LARCH_TLS_DTPMOD32), + "R_LARCH_TLS_DTPMOD64": reflect.ValueOf(elf.R_LARCH_TLS_DTPMOD64), + "R_LARCH_TLS_DTPREL32": reflect.ValueOf(elf.R_LARCH_TLS_DTPREL32), + "R_LARCH_TLS_DTPREL64": reflect.ValueOf(elf.R_LARCH_TLS_DTPREL64), + "R_LARCH_TLS_TPREL32": reflect.ValueOf(elf.R_LARCH_TLS_TPREL32), + "R_LARCH_TLS_TPREL64": reflect.ValueOf(elf.R_LARCH_TLS_TPREL64), "R_MIPS_16": reflect.ValueOf(elf.R_MIPS_16), "R_MIPS_26": reflect.ValueOf(elf.R_MIPS_26), "R_MIPS_32": reflect.ValueOf(elf.R_MIPS_32), @@ -963,6 +1015,7 @@ func init() { "R_PPC64_REL24_NOTOC": reflect.ValueOf(elf.R_PPC64_REL24_NOTOC), "R_PPC64_REL32": reflect.ValueOf(elf.R_PPC64_REL32), "R_PPC64_REL64": reflect.ValueOf(elf.R_PPC64_REL64), + "R_PPC64_RELATIVE": reflect.ValueOf(elf.R_PPC64_RELATIVE), "R_PPC64_SECTOFF_DS": reflect.ValueOf(elf.R_PPC64_SECTOFF_DS), "R_PPC64_SECTOFF_LO_DS": reflect.ValueOf(elf.R_PPC64_SECTOFF_LO_DS), "R_PPC64_TLS": reflect.ValueOf(elf.R_PPC64_TLS), @@ -1264,6 +1317,7 @@ func init() { "SHT_LOOS": reflect.ValueOf(elf.SHT_LOOS), "SHT_LOPROC": reflect.ValueOf(elf.SHT_LOPROC), "SHT_LOUSER": reflect.ValueOf(elf.SHT_LOUSER), + "SHT_MIPS_ABIFLAGS": reflect.ValueOf(elf.SHT_MIPS_ABIFLAGS), "SHT_NOBITS": reflect.ValueOf(elf.SHT_NOBITS), "SHT_NOTE": reflect.ValueOf(elf.SHT_NOTE), "SHT_NULL": reflect.ValueOf(elf.SHT_NULL), @@ -1334,6 +1388,7 @@ func init() { "R_AARCH64": reflect.ValueOf((*elf.R_AARCH64)(nil)), "R_ALPHA": reflect.ValueOf((*elf.R_ALPHA)(nil)), "R_ARM": reflect.ValueOf((*elf.R_ARM)(nil)), + "R_LARCH": reflect.ValueOf((*elf.R_LARCH)(nil)), "R_MIPS": reflect.ValueOf((*elf.R_MIPS)(nil)), "R_PPC": reflect.ValueOf((*elf.R_PPC)(nil)), "R_PPC64": reflect.ValueOf((*elf.R_PPC64)(nil)), diff --git a/stdlib/go1_16_debug_gosym.go b/stdlib/go1_19_debug_gosym.go similarity index 96% rename from stdlib/go1_16_debug_gosym.go rename to stdlib/go1_19_debug_gosym.go index 82cbcc047..ad9857396 100644 --- a/stdlib/go1_16_debug_gosym.go +++ b/stdlib/go1_19_debug_gosym.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/gosym'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_debug_macho.go b/stdlib/go1_19_debug_macho.go similarity index 99% rename from stdlib/go1_17_debug_macho.go rename to stdlib/go1_19_debug_macho.go index 489703f70..f7e0f1632 100644 --- a/stdlib/go1_17_debug_macho.go +++ b/stdlib/go1_19_debug_macho.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract debug/macho'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_debug_pe.go b/stdlib/go1_19_debug_pe.go similarity index 76% rename from stdlib/go1_16_debug_pe.go rename to stdlib/go1_19_debug_pe.go index 3b75beefa..3fd21d17c 100644 --- a/stdlib/go1_16_debug_pe.go +++ b/stdlib/go1_19_debug_pe.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/pe'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -15,6 +16,12 @@ func init() { Symbols["debug/pe/pe"] = map[string]reflect.Value{ // function, constant and variable definitions "COFFSymbolSize": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "IMAGE_COMDAT_SELECT_ANY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IMAGE_COMDAT_SELECT_ASSOCIATIVE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IMAGE_COMDAT_SELECT_EXACT_MATCH": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IMAGE_COMDAT_SELECT_LARGEST": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IMAGE_COMDAT_SELECT_NODUPLICATES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IMAGE_COMDAT_SELECT_SAME_SIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), "IMAGE_DIRECTORY_ENTRY_ARCHITECTURE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), "IMAGE_DIRECTORY_ENTRY_BASERELOC": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), "IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), @@ -59,6 +66,8 @@ func init() { "IMAGE_FILE_MACHINE_EBC": reflect.ValueOf(constant.MakeFromLiteral("3772", token.INT, 0)), "IMAGE_FILE_MACHINE_I386": reflect.ValueOf(constant.MakeFromLiteral("332", token.INT, 0)), "IMAGE_FILE_MACHINE_IA64": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IMAGE_FILE_MACHINE_LOONGARCH32": reflect.ValueOf(constant.MakeFromLiteral("25138", token.INT, 0)), + "IMAGE_FILE_MACHINE_LOONGARCH64": reflect.ValueOf(constant.MakeFromLiteral("25188", token.INT, 0)), "IMAGE_FILE_MACHINE_M32R": reflect.ValueOf(constant.MakeFromLiteral("36929", token.INT, 0)), "IMAGE_FILE_MACHINE_MIPS16": reflect.ValueOf(constant.MakeFromLiteral("614", token.INT, 0)), "IMAGE_FILE_MACHINE_MIPSFPU": reflect.ValueOf(constant.MakeFromLiteral("870", token.INT, 0)), @@ -78,6 +87,14 @@ func init() { "IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "IMAGE_FILE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "IMAGE_FILE_UP_SYSTEM_ONLY": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IMAGE_SCN_CNT_CODE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IMAGE_SCN_CNT_INITIALIZED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "IMAGE_SCN_CNT_UNINITIALIZED_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IMAGE_SCN_LNK_COMDAT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "IMAGE_SCN_MEM_DISCARDABLE": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "IMAGE_SCN_MEM_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "IMAGE_SCN_MEM_READ": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IMAGE_SCN_MEM_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), "IMAGE_SUBSYSTEM_EFI_APPLICATION": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), "IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), "IMAGE_SUBSYSTEM_EFI_ROM": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), @@ -96,19 +113,20 @@ func init() { "Open": reflect.ValueOf(pe.Open), // type definitions - "COFFSymbol": reflect.ValueOf((*pe.COFFSymbol)(nil)), - "DataDirectory": reflect.ValueOf((*pe.DataDirectory)(nil)), - "File": reflect.ValueOf((*pe.File)(nil)), - "FileHeader": reflect.ValueOf((*pe.FileHeader)(nil)), - "FormatError": reflect.ValueOf((*pe.FormatError)(nil)), - "ImportDirectory": reflect.ValueOf((*pe.ImportDirectory)(nil)), - "OptionalHeader32": reflect.ValueOf((*pe.OptionalHeader32)(nil)), - "OptionalHeader64": reflect.ValueOf((*pe.OptionalHeader64)(nil)), - "Reloc": reflect.ValueOf((*pe.Reloc)(nil)), - "Section": reflect.ValueOf((*pe.Section)(nil)), - "SectionHeader": reflect.ValueOf((*pe.SectionHeader)(nil)), - "SectionHeader32": reflect.ValueOf((*pe.SectionHeader32)(nil)), - "StringTable": reflect.ValueOf((*pe.StringTable)(nil)), - "Symbol": reflect.ValueOf((*pe.Symbol)(nil)), + "COFFSymbol": reflect.ValueOf((*pe.COFFSymbol)(nil)), + "COFFSymbolAuxFormat5": reflect.ValueOf((*pe.COFFSymbolAuxFormat5)(nil)), + "DataDirectory": reflect.ValueOf((*pe.DataDirectory)(nil)), + "File": reflect.ValueOf((*pe.File)(nil)), + "FileHeader": reflect.ValueOf((*pe.FileHeader)(nil)), + "FormatError": reflect.ValueOf((*pe.FormatError)(nil)), + "ImportDirectory": reflect.ValueOf((*pe.ImportDirectory)(nil)), + "OptionalHeader32": reflect.ValueOf((*pe.OptionalHeader32)(nil)), + "OptionalHeader64": reflect.ValueOf((*pe.OptionalHeader64)(nil)), + "Reloc": reflect.ValueOf((*pe.Reloc)(nil)), + "Section": reflect.ValueOf((*pe.Section)(nil)), + "SectionHeader": reflect.ValueOf((*pe.SectionHeader)(nil)), + "SectionHeader32": reflect.ValueOf((*pe.SectionHeader32)(nil)), + "StringTable": reflect.ValueOf((*pe.StringTable)(nil)), + "Symbol": reflect.ValueOf((*pe.Symbol)(nil)), } } diff --git a/stdlib/go1_16_debug_plan9obj.go b/stdlib/go1_19_debug_plan9obj.go similarity index 55% rename from stdlib/go1_16_debug_plan9obj.go rename to stdlib/go1_19_debug_plan9obj.go index fe7306ea6..ffb172823 100644 --- a/stdlib/go1_16_debug_plan9obj.go +++ b/stdlib/go1_19_debug_plan9obj.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract debug/plan9obj'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -14,12 +15,13 @@ import ( func init() { Symbols["debug/plan9obj/plan9obj"] = map[string]reflect.Value{ // function, constant and variable definitions - "Magic386": reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)), - "Magic64": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "MagicAMD64": reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)), - "MagicARM": reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)), - "NewFile": reflect.ValueOf(plan9obj.NewFile), - "Open": reflect.ValueOf(plan9obj.Open), + "ErrNoSymbols": reflect.ValueOf(&plan9obj.ErrNoSymbols).Elem(), + "Magic386": reflect.ValueOf(constant.MakeFromLiteral("491", token.INT, 0)), + "Magic64": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MagicAMD64": reflect.ValueOf(constant.MakeFromLiteral("35479", token.INT, 0)), + "MagicARM": reflect.ValueOf(constant.MakeFromLiteral("1607", token.INT, 0)), + "NewFile": reflect.ValueOf(plan9obj.NewFile), + "Open": reflect.ValueOf(plan9obj.Open), // type definitions "File": reflect.ValueOf((*plan9obj.File)(nil)), diff --git a/stdlib/go1_16_embed.go b/stdlib/go1_19_embed.go similarity index 87% rename from stdlib/go1_16_embed.go rename to stdlib/go1_19_embed.go index 2cadc15ff..5f86263e4 100644 --- a/stdlib/go1_16_embed.go +++ b/stdlib/go1_19_embed.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract embed'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding.go b/stdlib/go1_19_encoding.go similarity index 98% rename from stdlib/go1_17_encoding.go rename to stdlib/go1_19_encoding.go index 6fc6a6cb7..bc4b3f18d 100644 --- a/stdlib/go1_17_encoding.go +++ b/stdlib/go1_19_encoding.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_ascii85.go b/stdlib/go1_19_encoding_ascii85.go similarity index 94% rename from stdlib/go1_16_encoding_ascii85.go rename to stdlib/go1_19_encoding_ascii85.go index 084e01391..ea29fd2eb 100644 --- a/stdlib/go1_16_encoding_ascii85.go +++ b/stdlib/go1_19_encoding_ascii85.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/ascii85'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_asn1.go b/stdlib/go1_19_encoding_asn1.go similarity index 98% rename from stdlib/go1_17_encoding_asn1.go rename to stdlib/go1_19_encoding_asn1.go index 2573997da..d1a943cae 100644 --- a/stdlib/go1_17_encoding_asn1.go +++ b/stdlib/go1_19_encoding_asn1.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/asn1'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_base32.go b/stdlib/go1_19_encoding_base32.go similarity index 95% rename from stdlib/go1_17_encoding_base32.go rename to stdlib/go1_19_encoding_base32.go index f3fc199a9..10184ba43 100644 --- a/stdlib/go1_17_encoding_base32.go +++ b/stdlib/go1_19_encoding_base32.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/base32'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_base64.go b/stdlib/go1_19_encoding_base64.go similarity index 96% rename from stdlib/go1_17_encoding_base64.go rename to stdlib/go1_19_encoding_base64.go index 10d998629..37c5ef9c9 100644 --- a/stdlib/go1_17_encoding_base64.go +++ b/stdlib/go1_19_encoding_base64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/base64'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_binary.go b/stdlib/go1_19_encoding_binary.go similarity index 64% rename from stdlib/go1_17_encoding_binary.go rename to stdlib/go1_19_encoding_binary.go index 729c94b2a..712c0478f 100644 --- a/stdlib/go1_17_encoding_binary.go +++ b/stdlib/go1_19_encoding_binary.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/binary'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -15,6 +15,8 @@ import ( func init() { Symbols["encoding/binary/binary"] = map[string]reflect.Value{ // function, constant and variable definitions + "AppendUvarint": reflect.ValueOf(binary.AppendUvarint), + "AppendVarint": reflect.ValueOf(binary.AppendVarint), "BigEndian": reflect.ValueOf(&binary.BigEndian).Elem(), "LittleEndian": reflect.ValueOf(&binary.LittleEndian).Elem(), "MaxVarintLen16": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), @@ -31,13 +33,40 @@ func init() { "Write": reflect.ValueOf(binary.Write), // type definitions - "ByteOrder": reflect.ValueOf((*binary.ByteOrder)(nil)), + "AppendByteOrder": reflect.ValueOf((*binary.AppendByteOrder)(nil)), + "ByteOrder": reflect.ValueOf((*binary.ByteOrder)(nil)), // interface wrapper definitions - "_ByteOrder": reflect.ValueOf((*_encoding_binary_ByteOrder)(nil)), + "_AppendByteOrder": reflect.ValueOf((*_encoding_binary_AppendByteOrder)(nil)), + "_ByteOrder": reflect.ValueOf((*_encoding_binary_ByteOrder)(nil)), } } +// _encoding_binary_AppendByteOrder is an interface wrapper for AppendByteOrder type +type _encoding_binary_AppendByteOrder struct { + IValue interface{} + WAppendUint16 func(a0 []byte, a1 uint16) []byte + WAppendUint32 func(a0 []byte, a1 uint32) []byte + WAppendUint64 func(a0 []byte, a1 uint64) []byte + WString func() string +} + +func (W _encoding_binary_AppendByteOrder) AppendUint16(a0 []byte, a1 uint16) []byte { + return W.WAppendUint16(a0, a1) +} +func (W _encoding_binary_AppendByteOrder) AppendUint32(a0 []byte, a1 uint32) []byte { + return W.WAppendUint32(a0, a1) +} +func (W _encoding_binary_AppendByteOrder) AppendUint64(a0 []byte, a1 uint64) []byte { + return W.WAppendUint64(a0, a1) +} +func (W _encoding_binary_AppendByteOrder) String() string { + if W.WString == nil { + return "" + } + return W.WString() +} + // _encoding_binary_ByteOrder is an interface wrapper for ByteOrder type type _encoding_binary_ByteOrder struct { IValue interface{} diff --git a/stdlib/go1_17_encoding_csv.go b/stdlib/go1_19_encoding_csv.go similarity index 95% rename from stdlib/go1_17_encoding_csv.go rename to stdlib/go1_19_encoding_csv.go index 2a7095f36..78da39b40 100644 --- a/stdlib/go1_17_encoding_csv.go +++ b/stdlib/go1_19_encoding_csv.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/csv'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_gob.go b/stdlib/go1_19_encoding_gob.go similarity index 97% rename from stdlib/go1_16_encoding_gob.go rename to stdlib/go1_19_encoding_gob.go index 234ec3c11..a4f120a69 100644 --- a/stdlib/go1_16_encoding_gob.go +++ b/stdlib/go1_19_encoding_gob.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/gob'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_hex.go b/stdlib/go1_19_encoding_hex.go similarity index 96% rename from stdlib/go1_16_encoding_hex.go rename to stdlib/go1_19_encoding_hex.go index 10a5a39f1..4de0b6b35 100644 --- a/stdlib/go1_16_encoding_hex.go +++ b/stdlib/go1_19_encoding_hex.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/hex'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_json.go b/stdlib/go1_19_encoding_json.go similarity index 98% rename from stdlib/go1_17_encoding_json.go rename to stdlib/go1_19_encoding_json.go index 053461dbd..726424817 100644 --- a/stdlib/go1_17_encoding_json.go +++ b/stdlib/go1_19_encoding_json.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/json'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_encoding_pem.go b/stdlib/go1_19_encoding_pem.go similarity index 93% rename from stdlib/go1_16_encoding_pem.go rename to stdlib/go1_19_encoding_pem.go index c07b9f4c6..b00acbe74 100644 --- a/stdlib/go1_16_encoding_pem.go +++ b/stdlib/go1_19_encoding_pem.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract encoding/pem'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_encoding_xml.go b/stdlib/go1_19_encoding_xml.go similarity index 99% rename from stdlib/go1_17_encoding_xml.go rename to stdlib/go1_19_encoding_xml.go index fecd78807..9f0ab0ece 100644 --- a/stdlib/go1_17_encoding_xml.go +++ b/stdlib/go1_19_encoding_xml.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract encoding/xml'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_errors.go b/stdlib/go1_19_errors.go similarity index 91% rename from stdlib/go1_17_errors.go rename to stdlib/go1_19_errors.go index 1b74a50f0..8c68bc20d 100644 --- a/stdlib/go1_17_errors.go +++ b/stdlib/go1_19_errors.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract errors'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_expvar.go b/stdlib/go1_19_expvar.go similarity index 97% rename from stdlib/go1_16_expvar.go rename to stdlib/go1_19_expvar.go index fd151cdb4..2e39249c7 100644 --- a/stdlib/go1_16_expvar.go +++ b/stdlib/go1_19_expvar.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract expvar'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_flag.go b/stdlib/go1_19_flag.go similarity index 95% rename from stdlib/go1_16_flag.go rename to stdlib/go1_19_flag.go index 00772e974..8633a62dc 100644 --- a/stdlib/go1_16_flag.go +++ b/stdlib/go1_19_flag.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract flag'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -40,6 +41,7 @@ func init() { "Set": reflect.ValueOf(flag.Set), "String": reflect.ValueOf(flag.String), "StringVar": reflect.ValueOf(flag.StringVar), + "TextVar": reflect.ValueOf(flag.TextVar), "Uint": reflect.ValueOf(flag.Uint), "Uint64": reflect.ValueOf(flag.Uint64), "Uint64Var": reflect.ValueOf(flag.Uint64Var), @@ -66,12 +68,12 @@ func init() { // _flag_Getter is an interface wrapper for Getter type type _flag_Getter struct { IValue interface{} - WGet func() interface{} + WGet func() any WSet func(a0 string) error WString func() string } -func (W _flag_Getter) Get() interface{} { +func (W _flag_Getter) Get() any { return W.WGet() } func (W _flag_Getter) Set(a0 string) error { diff --git a/stdlib/go1_17_fmt.go b/stdlib/go1_19_fmt.go similarity index 96% rename from stdlib/go1_17_fmt.go rename to stdlib/go1_19_fmt.go index 2691d465d..cd58f1446 100644 --- a/stdlib/go1_17_fmt.go +++ b/stdlib/go1_19_fmt.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract fmt'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -13,6 +13,9 @@ import ( func init() { Symbols["fmt/fmt"] = map[string]reflect.Value{ // function, constant and variable definitions + "Append": reflect.ValueOf(fmt.Append), + "Appendf": reflect.ValueOf(fmt.Appendf), + "Appendln": reflect.ValueOf(fmt.Appendln), "Errorf": reflect.ValueOf(fmt.Errorf), "Fprint": reflect.ValueOf(fmt.Fprint), "Fprintf": reflect.ValueOf(fmt.Fprintf), diff --git a/stdlib/go1_17_go_ast.go b/stdlib/go1_19_go_ast.go similarity index 98% rename from stdlib/go1_17_go_ast.go rename to stdlib/go1_19_go_ast.go index 12945e016..0e7b4c4ae 100644 --- a/stdlib/go1_17_go_ast.go +++ b/stdlib/go1_19_go_ast.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/ast'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -88,6 +88,7 @@ func init() { "Importer": reflect.ValueOf((*ast.Importer)(nil)), "IncDecStmt": reflect.ValueOf((*ast.IncDecStmt)(nil)), "IndexExpr": reflect.ValueOf((*ast.IndexExpr)(nil)), + "IndexListExpr": reflect.ValueOf((*ast.IndexListExpr)(nil)), "InterfaceType": reflect.ValueOf((*ast.InterfaceType)(nil)), "KeyValueExpr": reflect.ValueOf((*ast.KeyValueExpr)(nil)), "LabeledStmt": reflect.ValueOf((*ast.LabeledStmt)(nil)), diff --git a/stdlib/go1_17_go_build.go b/stdlib/go1_19_go_build.go similarity index 97% rename from stdlib/go1_17_go_build.go rename to stdlib/go1_19_go_build.go index 7f98a7a17..7b35cb8db 100644 --- a/stdlib/go1_17_go_build.go +++ b/stdlib/go1_19_go_build.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/build'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_go_build_constraint.go b/stdlib/go1_19_go_build_constraint.go similarity index 97% rename from stdlib/go1_16_go_build_constraint.go rename to stdlib/go1_19_go_build_constraint.go index 810eda758..f55190e03 100644 --- a/stdlib/go1_16_go_build_constraint.go +++ b/stdlib/go1_19_go_build_constraint.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/build/constraint'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_go_constant.go b/stdlib/go1_19_go_constant.go similarity index 98% rename from stdlib/go1_16_go_constant.go rename to stdlib/go1_19_go_constant.go index a340d96a3..d47752cbd 100644 --- a/stdlib/go1_16_go_constant.go +++ b/stdlib/go1_19_go_constant.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/constant'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_go_doc.go b/stdlib/go1_19_go_doc.go similarity index 97% rename from stdlib/go1_17_go_doc.go rename to stdlib/go1_19_go_doc.go index 313f9ac81..1fbb034a5 100644 --- a/stdlib/go1_17_go_doc.go +++ b/stdlib/go1_19_go_doc.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/doc'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_go_format.go b/stdlib/go1_19_go_format.go similarity index 90% rename from stdlib/go1_17_go_format.go rename to stdlib/go1_19_go_format.go index bd6722d88..aa9d67ab2 100644 --- a/stdlib/go1_17_go_format.go +++ b/stdlib/go1_19_go_format.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/format'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_go_importer.go b/stdlib/go1_19_go_importer.go similarity index 93% rename from stdlib/go1_16_go_importer.go rename to stdlib/go1_19_go_importer.go index bfdd998ef..b64c01abf 100644 --- a/stdlib/go1_16_go_importer.go +++ b/stdlib/go1_19_go_importer.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/importer'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_go_parser.go b/stdlib/go1_19_go_parser.go similarity index 96% rename from stdlib/go1_17_go_parser.go rename to stdlib/go1_19_go_parser.go index 6b6a100f7..4aef2e204 100644 --- a/stdlib/go1_17_go_parser.go +++ b/stdlib/go1_19_go_parser.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/parser'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_go_printer.go b/stdlib/go1_19_go_printer.go similarity index 95% rename from stdlib/go1_16_go_printer.go rename to stdlib/go1_19_go_printer.go index a3fe16bdb..0876e1396 100644 --- a/stdlib/go1_16_go_printer.go +++ b/stdlib/go1_19_go_printer.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract go/printer'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_go_scanner.go b/stdlib/go1_19_go_scanner.go similarity index 95% rename from stdlib/go1_17_go_scanner.go rename to stdlib/go1_19_go_scanner.go index 370dce575..467dbd6ba 100644 --- a/stdlib/go1_17_go_scanner.go +++ b/stdlib/go1_19_go_scanner.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/scanner'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_go_token.go b/stdlib/go1_19_go_token.go similarity index 98% rename from stdlib/go1_17_go_token.go rename to stdlib/go1_19_go_token.go index 8b5b24657..2a721f601 100644 --- a/stdlib/go1_17_go_token.go +++ b/stdlib/go1_19_go_token.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/token'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -99,6 +99,7 @@ func init() { "SUB": reflect.ValueOf(token.SUB), "SUB_ASSIGN": reflect.ValueOf(token.SUB_ASSIGN), "SWITCH": reflect.ValueOf(token.SWITCH), + "TILDE": reflect.ValueOf(token.TILDE), "TYPE": reflect.ValueOf(token.TYPE), "UnaryPrec": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), "VAR": reflect.ValueOf(token.VAR), diff --git a/stdlib/go1_17_go_types.go b/stdlib/go1_19_go_types.go similarity index 92% rename from stdlib/go1_17_go_types.go rename to stdlib/go1_19_go_types.go index dc4aa1f1a..c05d563c4 100644 --- a/stdlib/go1_17_go_types.go +++ b/stdlib/go1_19_go_types.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract go/types'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -34,6 +34,7 @@ func init() { "Identical": reflect.ValueOf(types.Identical), "IdenticalIgnoreTags": reflect.ValueOf(types.IdenticalIgnoreTags), "Implements": reflect.ValueOf(types.Implements), + "Instantiate": reflect.ValueOf(types.Instantiate), "Int": reflect.ValueOf(types.Int), "Int16": reflect.ValueOf(types.Int16), "Int32": reflect.ValueOf(types.Int32), @@ -59,6 +60,7 @@ func init() { "NewChan": reflect.ValueOf(types.NewChan), "NewChecker": reflect.ValueOf(types.NewChecker), "NewConst": reflect.ValueOf(types.NewConst), + "NewContext": reflect.ValueOf(types.NewContext), "NewField": reflect.ValueOf(types.NewField), "NewFunc": reflect.ValueOf(types.NewFunc), "NewInterface": reflect.ValueOf(types.NewInterface), @@ -73,10 +75,14 @@ func init() { "NewPointer": reflect.ValueOf(types.NewPointer), "NewScope": reflect.ValueOf(types.NewScope), "NewSignature": reflect.ValueOf(types.NewSignature), + "NewSignatureType": reflect.ValueOf(types.NewSignatureType), "NewSlice": reflect.ValueOf(types.NewSlice), "NewStruct": reflect.ValueOf(types.NewStruct), + "NewTerm": reflect.ValueOf(types.NewTerm), "NewTuple": reflect.ValueOf(types.NewTuple), "NewTypeName": reflect.ValueOf(types.NewTypeName), + "NewTypeParam": reflect.ValueOf(types.NewTypeParam), + "NewUnion": reflect.ValueOf(types.NewUnion), "NewVar": reflect.ValueOf(types.NewVar), "ObjectString": reflect.ValueOf(types.ObjectString), "RecvOnly": reflect.ValueOf(types.RecvOnly), @@ -110,6 +116,7 @@ func init() { "WriteType": reflect.ValueOf(types.WriteType), // type definitions + "ArgumentError": reflect.ValueOf((*types.ArgumentError)(nil)), "Array": reflect.ValueOf((*types.Array)(nil)), "Basic": reflect.ValueOf((*types.Basic)(nil)), "BasicInfo": reflect.ValueOf((*types.BasicInfo)(nil)), @@ -120,6 +127,7 @@ func init() { "Checker": reflect.ValueOf((*types.Checker)(nil)), "Config": reflect.ValueOf((*types.Config)(nil)), "Const": reflect.ValueOf((*types.Const)(nil)), + "Context": reflect.ValueOf((*types.Context)(nil)), "Error": reflect.ValueOf((*types.Error)(nil)), "Func": reflect.ValueOf((*types.Func)(nil)), "ImportMode": reflect.ValueOf((*types.ImportMode)(nil)), @@ -127,6 +135,7 @@ func init() { "ImporterFrom": reflect.ValueOf((*types.ImporterFrom)(nil)), "Info": reflect.ValueOf((*types.Info)(nil)), "Initializer": reflect.ValueOf((*types.Initializer)(nil)), + "Instance": reflect.ValueOf((*types.Instance)(nil)), "Interface": reflect.ValueOf((*types.Interface)(nil)), "Label": reflect.ValueOf((*types.Label)(nil)), "Map": reflect.ValueOf((*types.Map)(nil)), @@ -146,10 +155,15 @@ func init() { "Slice": reflect.ValueOf((*types.Slice)(nil)), "StdSizes": reflect.ValueOf((*types.StdSizes)(nil)), "Struct": reflect.ValueOf((*types.Struct)(nil)), + "Term": reflect.ValueOf((*types.Term)(nil)), "Tuple": reflect.ValueOf((*types.Tuple)(nil)), "Type": reflect.ValueOf((*types.Type)(nil)), "TypeAndValue": reflect.ValueOf((*types.TypeAndValue)(nil)), + "TypeList": reflect.ValueOf((*types.TypeList)(nil)), "TypeName": reflect.ValueOf((*types.TypeName)(nil)), + "TypeParam": reflect.ValueOf((*types.TypeParam)(nil)), + "TypeParamList": reflect.ValueOf((*types.TypeParamList)(nil)), + "Union": reflect.ValueOf((*types.Union)(nil)), "Var": reflect.ValueOf((*types.Var)(nil)), // interface wrapper definitions diff --git a/stdlib/go1_17_hash.go b/stdlib/go1_19_hash.go similarity index 98% rename from stdlib/go1_17_hash.go rename to stdlib/go1_19_hash.go index 638f60b94..d73a9c2ad 100644 --- a/stdlib/go1_17_hash.go +++ b/stdlib/go1_19_hash.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_hash_adler32.go b/stdlib/go1_19_hash_adler32.go similarity index 92% rename from stdlib/go1_16_hash_adler32.go rename to stdlib/go1_19_hash_adler32.go index 68001ee47..97e920bf9 100644 --- a/stdlib/go1_16_hash_adler32.go +++ b/stdlib/go1_19_hash_adler32.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash/adler32'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_hash_crc32.go b/stdlib/go1_19_hash_crc32.go similarity index 96% rename from stdlib/go1_16_hash_crc32.go rename to stdlib/go1_19_hash_crc32.go index a3cacd8eb..325548cf8 100644 --- a/stdlib/go1_16_hash_crc32.go +++ b/stdlib/go1_19_hash_crc32.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_hash_crc64.go b/stdlib/go1_19_hash_crc64.go similarity index 95% rename from stdlib/go1_17_hash_crc64.go rename to stdlib/go1_19_hash_crc64.go index c3784797d..5e83c3e70 100644 --- a/stdlib/go1_17_hash_crc64.go +++ b/stdlib/go1_19_hash_crc64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_hash_fnv.go b/stdlib/go1_19_hash_fnv.go similarity index 93% rename from stdlib/go1_16_hash_fnv.go rename to stdlib/go1_19_hash_fnv.go index e8d93f838..f5471abe6 100644 --- a/stdlib/go1_16_hash_fnv.go +++ b/stdlib/go1_19_hash_fnv.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract hash/fnv'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_hash_maphash.go b/stdlib/go1_19_hash_maphash.go similarity index 76% rename from stdlib/go1_17_hash_maphash.go rename to stdlib/go1_19_hash_maphash.go index 04a00d518..dc5d464b6 100644 --- a/stdlib/go1_17_hash_maphash.go +++ b/stdlib/go1_19_hash_maphash.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract hash/maphash'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -13,7 +13,9 @@ import ( func init() { Symbols["hash/maphash/maphash"] = map[string]reflect.Value{ // function, constant and variable definitions + "Bytes": reflect.ValueOf(maphash.Bytes), "MakeSeed": reflect.ValueOf(maphash.MakeSeed), + "String": reflect.ValueOf(maphash.String), // type definitions "Hash": reflect.ValueOf((*maphash.Hash)(nil)), diff --git a/stdlib/go1_16_html.go b/stdlib/go1_19_html.go similarity index 90% rename from stdlib/go1_16_html.go rename to stdlib/go1_19_html.go index 99b782fd8..7f070e13d 100644 --- a/stdlib/go1_16_html.go +++ b/stdlib/go1_19_html.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract html'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_html_template.go b/stdlib/go1_19_html_template.go similarity index 98% rename from stdlib/go1_17_html_template.go rename to stdlib/go1_19_html_template.go index fad5650cf..a660bb98f 100644 --- a/stdlib/go1_17_html_template.go +++ b/stdlib/go1_19_html_template.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract html/template'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image.go b/stdlib/go1_19_image.go similarity index 99% rename from stdlib/go1_17_image.go rename to stdlib/go1_19_image.go index 04ee7fd4f..cbda85fc0 100644 --- a/stdlib/go1_17_image.go +++ b/stdlib/go1_19_image.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image_color.go b/stdlib/go1_19_image_color.go similarity index 98% rename from stdlib/go1_17_image_color.go rename to stdlib/go1_19_image_color.go index 1dd60393d..9d78055bf 100644 --- a/stdlib/go1_17_image_color.go +++ b/stdlib/go1_19_image_color.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/color'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_image_color_palette.go b/stdlib/go1_19_image_color_palette.go similarity index 91% rename from stdlib/go1_16_image_color_palette.go rename to stdlib/go1_19_image_color_palette.go index b8a16024b..50001ddaf 100644 --- a/stdlib/go1_16_image_color_palette.go +++ b/stdlib/go1_19_image_color_palette.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract image/color/palette'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image_draw.go b/stdlib/go1_19_image_draw.go similarity index 98% rename from stdlib/go1_17_image_draw.go rename to stdlib/go1_19_image_draw.go index 71bf73be6..d298dded9 100644 --- a/stdlib/go1_17_image_draw.go +++ b/stdlib/go1_19_image_draw.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/draw'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image_gif.go b/stdlib/go1_19_image_gif.go similarity index 96% rename from stdlib/go1_17_image_gif.go rename to stdlib/go1_19_image_gif.go index 47a970875..e13d32a63 100644 --- a/stdlib/go1_17_image_gif.go +++ b/stdlib/go1_19_image_gif.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/gif'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image_jpeg.go b/stdlib/go1_19_image_jpeg.go similarity index 97% rename from stdlib/go1_17_image_jpeg.go rename to stdlib/go1_19_image_jpeg.go index e4299b6ea..e028fe0e6 100644 --- a/stdlib/go1_17_image_jpeg.go +++ b/stdlib/go1_19_image_jpeg.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/jpeg'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_image_png.go b/stdlib/go1_19_image_png.go similarity index 97% rename from stdlib/go1_17_image_png.go rename to stdlib/go1_19_image_png.go index 23df89543..db866e0a4 100644 --- a/stdlib/go1_17_image_png.go +++ b/stdlib/go1_19_image_png.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract image/png'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_index_suffixarray.go b/stdlib/go1_19_index_suffixarray.go similarity index 91% rename from stdlib/go1_17_index_suffixarray.go rename to stdlib/go1_19_index_suffixarray.go index 66e9801d5..3125548a4 100644 --- a/stdlib/go1_17_index_suffixarray.go +++ b/stdlib/go1_19_index_suffixarray.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract index/suffixarray'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_io.go b/stdlib/go1_19_io.go similarity index 99% rename from stdlib/go1_16_io.go rename to stdlib/go1_19_io.go index 54bc88284..83ffbd5f3 100644 --- a/stdlib/go1_16_io.go +++ b/stdlib/go1_19_io.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract io'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_io_fs.go b/stdlib/go1_19_io_fs.go similarity index 98% rename from stdlib/go1_17_io_fs.go rename to stdlib/go1_19_io_fs.go index a9f5495d5..1effe3e9b 100644 --- a/stdlib/go1_17_io_fs.go +++ b/stdlib/go1_19_io_fs.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract io/fs'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -131,7 +131,7 @@ type _io_fs_FileInfo struct { WMode func() fs.FileMode WName func() string WSize func() int64 - WSys func() interface{} + WSys func() any } func (W _io_fs_FileInfo) IsDir() bool { @@ -149,7 +149,7 @@ func (W _io_fs_FileInfo) Name() string { func (W _io_fs_FileInfo) Size() int64 { return W.WSize() } -func (W _io_fs_FileInfo) Sys() interface{} { +func (W _io_fs_FileInfo) Sys() any { return W.WSys() } diff --git a/stdlib/go1_16_io_ioutil.go b/stdlib/go1_19_io_ioutil.go similarity index 94% rename from stdlib/go1_16_io_ioutil.go rename to stdlib/go1_19_io_ioutil.go index 55881cbb6..3c5d54a9b 100644 --- a/stdlib/go1_16_io_ioutil.go +++ b/stdlib/go1_19_io_ioutil.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract io/ioutil'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_log.go b/stdlib/go1_19_log.go similarity index 98% rename from stdlib/go1_16_log.go rename to stdlib/go1_19_log.go index 818e0d7f4..a6aa32429 100644 --- a/stdlib/go1_16_log.go +++ b/stdlib/go1_19_log.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract log'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_log_syslog.go b/stdlib/go1_19_log_syslog.go similarity index 95% rename from stdlib/go1_16_log_syslog.go rename to stdlib/go1_19_log_syslog.go index 918772b6d..1b691e1ed 100644 --- a/stdlib/go1_16_log_syslog.go +++ b/stdlib/go1_19_log_syslog.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract log/syslog'. DO NOT EDIT. -// +build go1.16,!go1.17,!windows,!nacl,!plan9 +//go:build go1.19 && !windows && !nacl && !plan9 +// +build go1.19,!windows,!nacl,!plan9 package stdlib diff --git a/stdlib/go1_17_math.go b/stdlib/go1_19_math.go similarity index 99% rename from stdlib/go1_17_math.go rename to stdlib/go1_19_math.go index 195f70ede..70258ed86 100644 --- a/stdlib/go1_17_math.go +++ b/stdlib/go1_19_math.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract math'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_math_big.go b/stdlib/go1_19_math_big.go similarity index 98% rename from stdlib/go1_17_math_big.go rename to stdlib/go1_19_math_big.go index 2bc91683a..ca24c526a 100644 --- a/stdlib/go1_17_math_big.go +++ b/stdlib/go1_19_math_big.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract math/big'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_math_bits.go b/stdlib/go1_19_math_bits.go similarity index 98% rename from stdlib/go1_16_math_bits.go rename to stdlib/go1_19_math_bits.go index adc608d90..247c5f3e0 100644 --- a/stdlib/go1_16_math_bits.go +++ b/stdlib/go1_19_math_bits.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract math/bits'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_math_cmplx.go b/stdlib/go1_19_math_cmplx.go similarity index 97% rename from stdlib/go1_16_math_cmplx.go rename to stdlib/go1_19_math_cmplx.go index a67696904..ab5b4c9e9 100644 --- a/stdlib/go1_16_math_cmplx.go +++ b/stdlib/go1_19_math_cmplx.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract math/cmplx'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_math_rand.go b/stdlib/go1_19_math_rand.go similarity index 98% rename from stdlib/go1_17_math_rand.go rename to stdlib/go1_19_math_rand.go index a8aae8bd6..b25ad36f1 100644 --- a/stdlib/go1_17_math_rand.go +++ b/stdlib/go1_19_math_rand.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract math/rand'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_mime.go b/stdlib/go1_19_mime.go similarity index 96% rename from stdlib/go1_16_mime.go rename to stdlib/go1_19_mime.go index e4a77e8e7..e8dd5aae6 100644 --- a/stdlib/go1_16_mime.go +++ b/stdlib/go1_19_mime.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract mime'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_mime_multipart.go b/stdlib/go1_19_mime_multipart.go similarity index 97% rename from stdlib/go1_17_mime_multipart.go rename to stdlib/go1_19_mime_multipart.go index 7a1da003c..a324b6184 100644 --- a/stdlib/go1_17_mime_multipart.go +++ b/stdlib/go1_19_mime_multipart.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract mime/multipart'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_mime_quotedprintable.go b/stdlib/go1_19_mime_quotedprintable.go similarity index 93% rename from stdlib/go1_16_mime_quotedprintable.go rename to stdlib/go1_19_mime_quotedprintable.go index f755adca1..28aa61ef7 100644 --- a/stdlib/go1_16_mime_quotedprintable.go +++ b/stdlib/go1_19_mime_quotedprintable.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract mime/quotedprintable'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net.go b/stdlib/go1_19_net.go similarity index 98% rename from stdlib/go1_16_net.go rename to stdlib/go1_19_net.go index 682c3a131..3419be6e5 100644 --- a/stdlib/go1_16_net.go +++ b/stdlib/go1_19_net.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -78,6 +79,8 @@ func init() { "ResolveUDPAddr": reflect.ValueOf(net.ResolveUDPAddr), "ResolveUnixAddr": reflect.ValueOf(net.ResolveUnixAddr), "SplitHostPort": reflect.ValueOf(net.SplitHostPort), + "TCPAddrFromAddrPort": reflect.ValueOf(net.TCPAddrFromAddrPort), + "UDPAddrFromAddrPort": reflect.ValueOf(net.UDPAddrFromAddrPort), // type definitions "Addr": reflect.ValueOf((*net.Addr)(nil)), diff --git a/stdlib/go1_16_net_http.go b/stdlib/go1_19_net_http.go similarity index 98% rename from stdlib/go1_16_net_http.go rename to stdlib/go1_19_net_http.go index 898308037..5e0fcc726 100644 --- a/stdlib/go1_16_net_http.go +++ b/stdlib/go1_19_net_http.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -18,6 +19,7 @@ import ( func init() { Symbols["net/http/http"] = map[string]reflect.Value{ // function, constant and variable definitions + "AllowQuerySemicolons": reflect.ValueOf(http.AllowQuerySemicolons), "CanonicalHeaderKey": reflect.ValueOf(http.CanonicalHeaderKey), "DefaultClient": reflect.ValueOf(&http.DefaultClient).Elem(), "DefaultMaxHeaderBytes": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), @@ -56,6 +58,7 @@ func init() { "ListenAndServe": reflect.ValueOf(http.ListenAndServe), "ListenAndServeTLS": reflect.ValueOf(http.ListenAndServeTLS), "LocalAddrContextKey": reflect.ValueOf(&http.LocalAddrContextKey).Elem(), + "MaxBytesHandler": reflect.ValueOf(http.MaxBytesHandler), "MaxBytesReader": reflect.ValueOf(http.MaxBytesReader), "MethodConnect": reflect.ValueOf(constant.MakeFromLiteral("\"CONNECT\"", token.STRING, 0)), "MethodDelete": reflect.ValueOf(constant.MakeFromLiteral("\"DELETE\"", token.STRING, 0)), @@ -180,6 +183,7 @@ func init() { "HandlerFunc": reflect.ValueOf((*http.HandlerFunc)(nil)), "Header": reflect.ValueOf((*http.Header)(nil)), "Hijacker": reflect.ValueOf((*http.Hijacker)(nil)), + "MaxBytesError": reflect.ValueOf((*http.MaxBytesError)(nil)), "ProtocolError": reflect.ValueOf((*http.ProtocolError)(nil)), "PushOptions": reflect.ValueOf((*http.PushOptions)(nil)), "Pusher": reflect.ValueOf((*http.Pusher)(nil)), diff --git a/stdlib/go1_16_net_http_cgi.go b/stdlib/go1_19_net_http_cgi.go similarity index 93% rename from stdlib/go1_16_net_http_cgi.go rename to stdlib/go1_19_net_http_cgi.go index d5fef7600..6e1d2316a 100644 --- a/stdlib/go1_16_net_http_cgi.go +++ b/stdlib/go1_19_net_http_cgi.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/cgi'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_cookiejar.go b/stdlib/go1_19_net_http_cookiejar.go similarity index 97% rename from stdlib/go1_16_net_http_cookiejar.go rename to stdlib/go1_19_net_http_cookiejar.go index 11b8cad27..94fb01c64 100644 --- a/stdlib/go1_16_net_http_cookiejar.go +++ b/stdlib/go1_19_net_http_cookiejar.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/cookiejar'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_fcgi.go b/stdlib/go1_19_net_http_fcgi.go similarity index 93% rename from stdlib/go1_16_net_http_fcgi.go rename to stdlib/go1_19_net_http_fcgi.go index 7fdda7fd0..34c895167 100644 --- a/stdlib/go1_16_net_http_fcgi.go +++ b/stdlib/go1_19_net_http_fcgi.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/fcgi'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_httptest.go b/stdlib/go1_19_net_http_httptest.go similarity index 96% rename from stdlib/go1_16_net_http_httptest.go rename to stdlib/go1_19_net_http_httptest.go index e87315537..ec603d139 100644 --- a/stdlib/go1_16_net_http_httptest.go +++ b/stdlib/go1_19_net_http_httptest.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/httptest'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_httptrace.go b/stdlib/go1_19_net_http_httptrace.go similarity index 95% rename from stdlib/go1_16_net_http_httptrace.go rename to stdlib/go1_19_net_http_httptrace.go index d09e44d59..26fcc6ec1 100644 --- a/stdlib/go1_16_net_http_httptrace.go +++ b/stdlib/go1_19_net_http_httptrace.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/httptrace'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_http_httputil.go b/stdlib/go1_19_net_http_httputil.go similarity index 98% rename from stdlib/go1_16_net_http_httputil.go rename to stdlib/go1_19_net_http_httputil.go index 71d885e16..d3d5cb681 100644 --- a/stdlib/go1_16_net_http_httputil.go +++ b/stdlib/go1_19_net_http_httputil.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/http/httputil'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_net_http_pprof.go b/stdlib/go1_19_net_http_pprof.go similarity index 93% rename from stdlib/go1_17_net_http_pprof.go rename to stdlib/go1_19_net_http_pprof.go index 0fe4d41ca..f8db3ab3a 100644 --- a/stdlib/go1_17_net_http_pprof.go +++ b/stdlib/go1_19_net_http_pprof.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/http/pprof'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_mail.go b/stdlib/go1_19_net_mail.go similarity index 95% rename from stdlib/go1_16_net_mail.go rename to stdlib/go1_19_net_mail.go index 2239f0b1f..e25b8d373 100644 --- a/stdlib/go1_16_net_mail.go +++ b/stdlib/go1_19_net_mail.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/mail'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_19_net_netip.go b/stdlib/go1_19_net_netip.go new file mode 100644 index 000000000..ceaf1ad06 --- /dev/null +++ b/stdlib/go1_19_net_netip.go @@ -0,0 +1,36 @@ +// Code generated by 'yaegi extract net/netip'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package stdlib + +import ( + "net/netip" + "reflect" +) + +func init() { + Symbols["net/netip/netip"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AddrFrom16": reflect.ValueOf(netip.AddrFrom16), + "AddrFrom4": reflect.ValueOf(netip.AddrFrom4), + "AddrFromSlice": reflect.ValueOf(netip.AddrFromSlice), + "AddrPortFrom": reflect.ValueOf(netip.AddrPortFrom), + "IPv4Unspecified": reflect.ValueOf(netip.IPv4Unspecified), + "IPv6LinkLocalAllNodes": reflect.ValueOf(netip.IPv6LinkLocalAllNodes), + "IPv6Unspecified": reflect.ValueOf(netip.IPv6Unspecified), + "MustParseAddr": reflect.ValueOf(netip.MustParseAddr), + "MustParseAddrPort": reflect.ValueOf(netip.MustParseAddrPort), + "MustParsePrefix": reflect.ValueOf(netip.MustParsePrefix), + "ParseAddr": reflect.ValueOf(netip.ParseAddr), + "ParseAddrPort": reflect.ValueOf(netip.ParseAddrPort), + "ParsePrefix": reflect.ValueOf(netip.ParsePrefix), + "PrefixFrom": reflect.ValueOf(netip.PrefixFrom), + + // type definitions + "Addr": reflect.ValueOf((*netip.Addr)(nil)), + "AddrPort": reflect.ValueOf((*netip.AddrPort)(nil)), + "Prefix": reflect.ValueOf((*netip.Prefix)(nil)), + } +} diff --git a/stdlib/go1_17_net_rpc.go b/stdlib/go1_19_net_rpc.go similarity index 85% rename from stdlib/go1_17_net_rpc.go rename to stdlib/go1_19_net_rpc.go index 5a8cf5c96..394713f86 100644 --- a/stdlib/go1_17_net_rpc.go +++ b/stdlib/go1_19_net_rpc.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/rpc'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -53,21 +53,21 @@ func init() { type _net_rpc_ClientCodec struct { IValue interface{} WClose func() error - WReadResponseBody func(a0 interface{}) error + WReadResponseBody func(a0 any) error WReadResponseHeader func(a0 *rpc.Response) error - WWriteRequest func(a0 *rpc.Request, a1 interface{}) error + WWriteRequest func(a0 *rpc.Request, a1 any) error } func (W _net_rpc_ClientCodec) Close() error { return W.WClose() } -func (W _net_rpc_ClientCodec) ReadResponseBody(a0 interface{}) error { +func (W _net_rpc_ClientCodec) ReadResponseBody(a0 any) error { return W.WReadResponseBody(a0) } func (W _net_rpc_ClientCodec) ReadResponseHeader(a0 *rpc.Response) error { return W.WReadResponseHeader(a0) } -func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) error { +func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 any) error { return W.WWriteRequest(a0, a1) } @@ -75,20 +75,20 @@ func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) erro type _net_rpc_ServerCodec struct { IValue interface{} WClose func() error - WReadRequestBody func(a0 interface{}) error + WReadRequestBody func(a0 any) error WReadRequestHeader func(a0 *rpc.Request) error - WWriteResponse func(a0 *rpc.Response, a1 interface{}) error + WWriteResponse func(a0 *rpc.Response, a1 any) error } func (W _net_rpc_ServerCodec) Close() error { return W.WClose() } -func (W _net_rpc_ServerCodec) ReadRequestBody(a0 interface{}) error { +func (W _net_rpc_ServerCodec) ReadRequestBody(a0 any) error { return W.WReadRequestBody(a0) } func (W _net_rpc_ServerCodec) ReadRequestHeader(a0 *rpc.Request) error { return W.WReadRequestHeader(a0) } -func (W _net_rpc_ServerCodec) WriteResponse(a0 *rpc.Response, a1 interface{}) error { +func (W _net_rpc_ServerCodec) WriteResponse(a0 *rpc.Response, a1 any) error { return W.WWriteResponse(a0, a1) } diff --git a/stdlib/go1_16_net_rpc_jsonrpc.go b/stdlib/go1_19_net_rpc_jsonrpc.go similarity index 93% rename from stdlib/go1_16_net_rpc_jsonrpc.go rename to stdlib/go1_19_net_rpc_jsonrpc.go index 517af0ead..6eb7e1cde 100644 --- a/stdlib/go1_16_net_rpc_jsonrpc.go +++ b/stdlib/go1_19_net_rpc_jsonrpc.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_net_smtp.go b/stdlib/go1_19_net_smtp.go similarity index 97% rename from stdlib/go1_17_net_smtp.go rename to stdlib/go1_19_net_smtp.go index 7a99d318b..41fb884c9 100644 --- a/stdlib/go1_17_net_smtp.go +++ b/stdlib/go1_19_net_smtp.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/smtp'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_net_textproto.go b/stdlib/go1_19_net_textproto.go similarity index 97% rename from stdlib/go1_17_net_textproto.go rename to stdlib/go1_19_net_textproto.go index d9e175cdd..870a6e886 100644 --- a/stdlib/go1_17_net_textproto.go +++ b/stdlib/go1_19_net_textproto.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract net/textproto'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_net_url.go b/stdlib/go1_19_net_url.go similarity index 92% rename from stdlib/go1_16_net_url.go rename to stdlib/go1_19_net_url.go index 323c89d88..06e8df8c3 100644 --- a/stdlib/go1_16_net_url.go +++ b/stdlib/go1_19_net_url.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract net/url'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -12,6 +13,7 @@ import ( func init() { Symbols["net/url/url"] = map[string]reflect.Value{ // function, constant and variable definitions + "JoinPath": reflect.ValueOf(url.JoinPath), "Parse": reflect.ValueOf(url.Parse), "ParseQuery": reflect.ValueOf(url.ParseQuery), "ParseRequestURI": reflect.ValueOf(url.ParseRequestURI), diff --git a/stdlib/go1_16_os.go b/stdlib/go1_19_os.go similarity index 98% rename from stdlib/go1_16_os.go rename to stdlib/go1_19_os.go index 911c5e7e0..ddac452ee 100644 --- a/stdlib/go1_16_os.go +++ b/stdlib/go1_19_os.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract os'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -170,7 +171,7 @@ type _os_FileInfo struct { WMode func() fs.FileMode WName func() string WSize func() int64 - WSys func() interface{} + WSys func() any } func (W _os_FileInfo) IsDir() bool { @@ -188,7 +189,7 @@ func (W _os_FileInfo) Name() string { func (W _os_FileInfo) Size() int64 { return W.WSize() } -func (W _os_FileInfo) Sys() interface{} { +func (W _os_FileInfo) Sys() any { return W.WSys() } diff --git a/stdlib/go1_16_os_signal.go b/stdlib/go1_19_os_signal.go similarity index 94% rename from stdlib/go1_16_os_signal.go rename to stdlib/go1_19_os_signal.go index d3ea022a2..10de33092 100644 --- a/stdlib/go1_16_os_signal.go +++ b/stdlib/go1_19_os_signal.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract os/signal'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_os_user.go b/stdlib/go1_19_os_user.go similarity index 96% rename from stdlib/go1_16_os_user.go rename to stdlib/go1_19_os_user.go index aa0b60039..a9997d29a 100644 --- a/stdlib/go1_16_os_user.go +++ b/stdlib/go1_19_os_user.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract os/user'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_path.go b/stdlib/go1_19_path.go similarity index 95% rename from stdlib/go1_16_path.go rename to stdlib/go1_19_path.go index ed7d5bb6e..c2d84acde 100644 --- a/stdlib/go1_16_path.go +++ b/stdlib/go1_19_path.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract path'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_path_filepath.go b/stdlib/go1_19_path_filepath.go similarity index 97% rename from stdlib/go1_16_path_filepath.go rename to stdlib/go1_19_path_filepath.go index 885c4cf32..bf5afc41d 100644 --- a/stdlib/go1_16_path_filepath.go +++ b/stdlib/go1_19_path_filepath.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract path/filepath'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_reflect.go b/stdlib/go1_19_reflect.go similarity index 98% rename from stdlib/go1_17_reflect.go rename to stdlib/go1_19_reflect.go index 40c0748e6..1966443c8 100644 --- a/stdlib/go1_17_reflect.go +++ b/stdlib/go1_19_reflect.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract reflect'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -45,6 +45,8 @@ func init() { "MapOf": reflect.ValueOf(reflect.MapOf), "New": reflect.ValueOf(reflect.New), "NewAt": reflect.ValueOf(reflect.NewAt), + "Pointer": reflect.ValueOf(reflect.Pointer), + "PointerTo": reflect.ValueOf(reflect.PointerTo), "Ptr": reflect.ValueOf(reflect.Ptr), "PtrTo": reflect.ValueOf(reflect.PtrTo), "RecvDir": reflect.ValueOf(reflect.RecvDir), diff --git a/stdlib/go1_16_regexp.go b/stdlib/go1_19_regexp.go similarity index 95% rename from stdlib/go1_16_regexp.go rename to stdlib/go1_19_regexp.go index 29730fbe2..948147deb 100644 --- a/stdlib/go1_16_regexp.go +++ b/stdlib/go1_19_regexp.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract regexp'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_regexp_syntax.go b/stdlib/go1_19_regexp_syntax.go similarity index 98% rename from stdlib/go1_16_regexp_syntax.go rename to stdlib/go1_19_regexp_syntax.go index 8bed4f00e..392c7ebc6 100644 --- a/stdlib/go1_16_regexp_syntax.go +++ b/stdlib/go1_19_regexp_syntax.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract regexp/syntax'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -34,6 +35,7 @@ func init() { "ErrMissingBracket": reflect.ValueOf(syntax.ErrMissingBracket), "ErrMissingParen": reflect.ValueOf(syntax.ErrMissingParen), "ErrMissingRepeatArgument": reflect.ValueOf(syntax.ErrMissingRepeatArgument), + "ErrNestingDepth": reflect.ValueOf(syntax.ErrNestingDepth), "ErrTrailingBackslash": reflect.ValueOf(syntax.ErrTrailingBackslash), "ErrUnexpectedParen": reflect.ValueOf(syntax.ErrUnexpectedParen), "FoldCase": reflect.ValueOf(syntax.FoldCase), diff --git a/stdlib/go1_16_runtime.go b/stdlib/go1_19_runtime.go similarity index 99% rename from stdlib/go1_16_runtime.go rename to stdlib/go1_19_runtime.go index d37f19564..9820ba94d 100644 --- a/stdlib/go1_16_runtime.go +++ b/stdlib/go1_19_runtime.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract runtime'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_runtime_debug.go b/stdlib/go1_19_runtime_debug.go similarity index 69% rename from stdlib/go1_17_runtime_debug.go rename to stdlib/go1_19_runtime_debug.go index f009ed4bd..177722c9a 100644 --- a/stdlib/go1_17_runtime_debug.go +++ b/stdlib/go1_19_runtime_debug.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract runtime/debug'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -14,20 +14,23 @@ func init() { Symbols["runtime/debug/debug"] = map[string]reflect.Value{ // function, constant and variable definitions "FreeOSMemory": reflect.ValueOf(debug.FreeOSMemory), + "ParseBuildInfo": reflect.ValueOf(debug.ParseBuildInfo), "PrintStack": reflect.ValueOf(debug.PrintStack), "ReadBuildInfo": reflect.ValueOf(debug.ReadBuildInfo), "ReadGCStats": reflect.ValueOf(debug.ReadGCStats), "SetGCPercent": reflect.ValueOf(debug.SetGCPercent), "SetMaxStack": reflect.ValueOf(debug.SetMaxStack), "SetMaxThreads": reflect.ValueOf(debug.SetMaxThreads), + "SetMemoryLimit": reflect.ValueOf(debug.SetMemoryLimit), "SetPanicOnFault": reflect.ValueOf(debug.SetPanicOnFault), "SetTraceback": reflect.ValueOf(debug.SetTraceback), "Stack": reflect.ValueOf(debug.Stack), "WriteHeapDump": reflect.ValueOf(debug.WriteHeapDump), // type definitions - "BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)), - "GCStats": reflect.ValueOf((*debug.GCStats)(nil)), - "Module": reflect.ValueOf((*debug.Module)(nil)), + "BuildInfo": reflect.ValueOf((*debug.BuildInfo)(nil)), + "BuildSetting": reflect.ValueOf((*debug.BuildSetting)(nil)), + "GCStats": reflect.ValueOf((*debug.GCStats)(nil)), + "Module": reflect.ValueOf((*debug.Module)(nil)), } } diff --git a/stdlib/go1_16_runtime_metrics.go b/stdlib/go1_19_runtime_metrics.go similarity index 96% rename from stdlib/go1_16_runtime_metrics.go rename to stdlib/go1_19_runtime_metrics.go index 4d1d7ac56..8dd281cca 100644 --- a/stdlib/go1_16_runtime_metrics.go +++ b/stdlib/go1_19_runtime_metrics.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract runtime/metrics'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_runtime_pprof.go b/stdlib/go1_19_runtime_pprof.go similarity index 96% rename from stdlib/go1_16_runtime_pprof.go rename to stdlib/go1_19_runtime_pprof.go index c01db1bea..1f2c1fc93 100644 --- a/stdlib/go1_16_runtime_pprof.go +++ b/stdlib/go1_19_runtime_pprof.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract runtime/pprof'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_runtime_trace.go b/stdlib/go1_19_runtime_trace.go similarity index 95% rename from stdlib/go1_17_runtime_trace.go rename to stdlib/go1_19_runtime_trace.go index 4e063b1c0..1111cedfe 100644 --- a/stdlib/go1_17_runtime_trace.go +++ b/stdlib/go1_19_runtime_trace.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_sort.go b/stdlib/go1_19_sort.go similarity index 95% rename from stdlib/go1_16_sort.go rename to stdlib/go1_19_sort.go index 8a4f9f629..444619eef 100644 --- a/stdlib/go1_16_sort.go +++ b/stdlib/go1_19_sort.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract sort'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -12,6 +13,7 @@ import ( func init() { Symbols["sort/sort"] = map[string]reflect.Value{ // function, constant and variable definitions + "Find": reflect.ValueOf(sort.Find), "Float64s": reflect.ValueOf(sort.Float64s), "Float64sAreSorted": reflect.ValueOf(sort.Float64sAreSorted), "Ints": reflect.ValueOf(sort.Ints), diff --git a/stdlib/go1_17_strconv.go b/stdlib/go1_19_strconv.go similarity index 98% rename from stdlib/go1_17_strconv.go rename to stdlib/go1_19_strconv.go index 08a1947a2..3a2e03337 100644 --- a/stdlib/go1_17_strconv.go +++ b/stdlib/go1_19_strconv.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract strconv'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_strings.go b/stdlib/go1_19_strings.go similarity index 95% rename from stdlib/go1_16_strings.go rename to stdlib/go1_19_strings.go index 94aa21043..495d22ad7 100644 --- a/stdlib/go1_16_strings.go +++ b/stdlib/go1_19_strings.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract strings'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -12,11 +13,13 @@ import ( func init() { Symbols["strings/strings"] = map[string]reflect.Value{ // function, constant and variable definitions + "Clone": reflect.ValueOf(strings.Clone), "Compare": reflect.ValueOf(strings.Compare), "Contains": reflect.ValueOf(strings.Contains), "ContainsAny": reflect.ValueOf(strings.ContainsAny), "ContainsRune": reflect.ValueOf(strings.ContainsRune), "Count": reflect.ValueOf(strings.Count), + "Cut": reflect.ValueOf(strings.Cut), "EqualFold": reflect.ValueOf(strings.EqualFold), "Fields": reflect.ValueOf(strings.Fields), "FieldsFunc": reflect.ValueOf(strings.FieldsFunc), diff --git a/stdlib/go1_17_sync.go b/stdlib/go1_19_sync.go similarity index 96% rename from stdlib/go1_17_sync.go rename to stdlib/go1_19_sync.go index 49f376207..5de5054d9 100644 --- a/stdlib/go1_17_sync.go +++ b/stdlib/go1_19_sync.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract sync'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_sync_atomic.go b/stdlib/go1_19_sync_atomic.go similarity index 84% rename from stdlib/go1_16_sync_atomic.go rename to stdlib/go1_19_sync_atomic.go index d057a53d9..e3fe5aa29 100644 --- a/stdlib/go1_16_sync_atomic.go +++ b/stdlib/go1_19_sync_atomic.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract sync/atomic'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -43,6 +44,12 @@ func init() { "SwapUintptr": reflect.ValueOf(atomic.SwapUintptr), // type definitions - "Value": reflect.ValueOf((*atomic.Value)(nil)), + "Bool": reflect.ValueOf((*atomic.Bool)(nil)), + "Int32": reflect.ValueOf((*atomic.Int32)(nil)), + "Int64": reflect.ValueOf((*atomic.Int64)(nil)), + "Uint32": reflect.ValueOf((*atomic.Uint32)(nil)), + "Uint64": reflect.ValueOf((*atomic.Uint64)(nil)), + "Uintptr": reflect.ValueOf((*atomic.Uintptr)(nil)), + "Value": reflect.ValueOf((*atomic.Value)(nil)), } } diff --git a/stdlib/go1_17_testing.go b/stdlib/go1_19_testing.go similarity index 57% rename from stdlib/go1_17_testing.go rename to stdlib/go1_19_testing.go index 283b08f19..d65173b52 100644 --- a/stdlib/go1_17_testing.go +++ b/stdlib/go1_19_testing.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract testing'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -28,17 +28,19 @@ func init() { "Verbose": reflect.ValueOf(testing.Verbose), // type definitions - "B": reflect.ValueOf((*testing.B)(nil)), - "BenchmarkResult": reflect.ValueOf((*testing.BenchmarkResult)(nil)), - "Cover": reflect.ValueOf((*testing.Cover)(nil)), - "CoverBlock": reflect.ValueOf((*testing.CoverBlock)(nil)), - "InternalBenchmark": reflect.ValueOf((*testing.InternalBenchmark)(nil)), - "InternalExample": reflect.ValueOf((*testing.InternalExample)(nil)), - "InternalTest": reflect.ValueOf((*testing.InternalTest)(nil)), - "M": reflect.ValueOf((*testing.M)(nil)), - "PB": reflect.ValueOf((*testing.PB)(nil)), - "T": reflect.ValueOf((*testing.T)(nil)), - "TB": reflect.ValueOf((*testing.TB)(nil)), + "B": reflect.ValueOf((*testing.B)(nil)), + "BenchmarkResult": reflect.ValueOf((*testing.BenchmarkResult)(nil)), + "Cover": reflect.ValueOf((*testing.Cover)(nil)), + "CoverBlock": reflect.ValueOf((*testing.CoverBlock)(nil)), + "F": reflect.ValueOf((*testing.F)(nil)), + "InternalBenchmark": reflect.ValueOf((*testing.InternalBenchmark)(nil)), + "InternalExample": reflect.ValueOf((*testing.InternalExample)(nil)), + "InternalFuzzTarget": reflect.ValueOf((*testing.InternalFuzzTarget)(nil)), + "InternalTest": reflect.ValueOf((*testing.InternalTest)(nil)), + "M": reflect.ValueOf((*testing.M)(nil)), + "PB": reflect.ValueOf((*testing.PB)(nil)), + "T": reflect.ValueOf((*testing.T)(nil)), + "TB": reflect.ValueOf((*testing.TB)(nil)), // interface wrapper definitions "_TB": reflect.ValueOf((*_testing_TB)(nil)), @@ -49,21 +51,21 @@ func init() { type _testing_TB struct { IValue interface{} WCleanup func(a0 func()) - WError func(args ...interface{}) - WErrorf func(format string, args ...interface{}) + WError func(args ...any) + WErrorf func(format string, args ...any) WFail func() WFailNow func() WFailed func() bool - WFatal func(args ...interface{}) - WFatalf func(format string, args ...interface{}) + WFatal func(args ...any) + WFatalf func(format string, args ...any) WHelper func() - WLog func(args ...interface{}) - WLogf func(format string, args ...interface{}) + WLog func(args ...any) + WLogf func(format string, args ...any) WName func() string WSetenv func(key string, value string) - WSkip func(args ...interface{}) + WSkip func(args ...any) WSkipNow func() - WSkipf func(format string, args ...interface{}) + WSkipf func(format string, args ...any) WSkipped func() bool WTempDir func() string } @@ -71,10 +73,10 @@ type _testing_TB struct { func (W _testing_TB) Cleanup(a0 func()) { W.WCleanup(a0) } -func (W _testing_TB) Error(args ...interface{}) { +func (W _testing_TB) Error(args ...any) { W.WError(args...) } -func (W _testing_TB) Errorf(format string, args ...interface{}) { +func (W _testing_TB) Errorf(format string, args ...any) { W.WErrorf(format, args...) } func (W _testing_TB) Fail() { @@ -86,19 +88,19 @@ func (W _testing_TB) FailNow() { func (W _testing_TB) Failed() bool { return W.WFailed() } -func (W _testing_TB) Fatal(args ...interface{}) { +func (W _testing_TB) Fatal(args ...any) { W.WFatal(args...) } -func (W _testing_TB) Fatalf(format string, args ...interface{}) { +func (W _testing_TB) Fatalf(format string, args ...any) { W.WFatalf(format, args...) } func (W _testing_TB) Helper() { W.WHelper() } -func (W _testing_TB) Log(args ...interface{}) { +func (W _testing_TB) Log(args ...any) { W.WLog(args...) } -func (W _testing_TB) Logf(format string, args ...interface{}) { +func (W _testing_TB) Logf(format string, args ...any) { W.WLogf(format, args...) } func (W _testing_TB) Name() string { @@ -107,13 +109,13 @@ func (W _testing_TB) Name() string { func (W _testing_TB) Setenv(key string, value string) { W.WSetenv(key, value) } -func (W _testing_TB) Skip(args ...interface{}) { +func (W _testing_TB) Skip(args ...any) { W.WSkip(args...) } func (W _testing_TB) SkipNow() { W.WSkipNow() } -func (W _testing_TB) Skipf(format string, args ...interface{}) { +func (W _testing_TB) Skipf(format string, args ...any) { W.WSkipf(format, args...) } func (W _testing_TB) Skipped() bool { diff --git a/stdlib/go1_17_testing_fstest.go b/stdlib/go1_19_testing_fstest.go similarity index 92% rename from stdlib/go1_17_testing_fstest.go rename to stdlib/go1_19_testing_fstest.go index 208fd1572..21a9a0a7d 100644 --- a/stdlib/go1_17_testing_fstest.go +++ b/stdlib/go1_19_testing_fstest.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract testing/fstest'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_testing_iotest.go b/stdlib/go1_19_testing_iotest.go similarity index 96% rename from stdlib/go1_17_testing_iotest.go rename to stdlib/go1_19_testing_iotest.go index 5d9b8fe47..ffe56d6e8 100644 --- a/stdlib/go1_17_testing_iotest.go +++ b/stdlib/go1_19_testing_iotest.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract testing/iotest'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_testing_quick.go b/stdlib/go1_19_testing_quick.go similarity index 97% rename from stdlib/go1_17_testing_quick.go rename to stdlib/go1_19_testing_quick.go index d5e668265..346217412 100644 --- a/stdlib/go1_17_testing_quick.go +++ b/stdlib/go1_19_testing_quick.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract testing/quick'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_text_scanner.go b/stdlib/go1_19_text_scanner.go similarity index 98% rename from stdlib/go1_16_text_scanner.go rename to stdlib/go1_19_text_scanner.go index 81993bcd0..9ccffe9c3 100644 --- a/stdlib/go1_16_text_scanner.go +++ b/stdlib/go1_19_text_scanner.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract text/scanner'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_text_tabwriter.go b/stdlib/go1_19_text_tabwriter.go similarity index 96% rename from stdlib/go1_16_text_tabwriter.go rename to stdlib/go1_19_text_tabwriter.go index 39b87dc8f..446c2b5dd 100644 --- a/stdlib/go1_16_text_tabwriter.go +++ b/stdlib/go1_19_text_tabwriter.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract text/tabwriter'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_text_template.go b/stdlib/go1_19_text_template.go similarity index 97% rename from stdlib/go1_17_text_template.go rename to stdlib/go1_19_text_template.go index 45b00653d..78748ad81 100644 --- a/stdlib/go1_17_text_template.go +++ b/stdlib/go1_19_text_template.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract text/template'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_text_template_parse.go b/stdlib/go1_19_text_template_parse.go similarity index 93% rename from stdlib/go1_17_text_template_parse.go rename to stdlib/go1_19_text_template_parse.go index a8789962b..a34a9859a 100644 --- a/stdlib/go1_17_text_template_parse.go +++ b/stdlib/go1_19_text_template_parse.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract text/template/parse'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -18,9 +18,11 @@ func init() { "NewIdentifier": reflect.ValueOf(parse.NewIdentifier), "NodeAction": reflect.ValueOf(parse.NodeAction), "NodeBool": reflect.ValueOf(parse.NodeBool), + "NodeBreak": reflect.ValueOf(parse.NodeBreak), "NodeChain": reflect.ValueOf(parse.NodeChain), "NodeCommand": reflect.ValueOf(parse.NodeCommand), "NodeComment": reflect.ValueOf(parse.NodeComment), + "NodeContinue": reflect.ValueOf(parse.NodeContinue), "NodeDot": reflect.ValueOf(parse.NodeDot), "NodeField": reflect.ValueOf(parse.NodeField), "NodeIdentifier": reflect.ValueOf(parse.NodeIdentifier), @@ -43,9 +45,11 @@ func init() { "ActionNode": reflect.ValueOf((*parse.ActionNode)(nil)), "BoolNode": reflect.ValueOf((*parse.BoolNode)(nil)), "BranchNode": reflect.ValueOf((*parse.BranchNode)(nil)), + "BreakNode": reflect.ValueOf((*parse.BreakNode)(nil)), "ChainNode": reflect.ValueOf((*parse.ChainNode)(nil)), "CommandNode": reflect.ValueOf((*parse.CommandNode)(nil)), "CommentNode": reflect.ValueOf((*parse.CommentNode)(nil)), + "ContinueNode": reflect.ValueOf((*parse.ContinueNode)(nil)), "DotNode": reflect.ValueOf((*parse.DotNode)(nil)), "FieldNode": reflect.ValueOf((*parse.FieldNode)(nil)), "IdentifierNode": reflect.ValueOf((*parse.IdentifierNode)(nil)), diff --git a/stdlib/go1_17_time.go b/stdlib/go1_19_time.go similarity index 99% rename from stdlib/go1_17_time.go rename to stdlib/go1_19_time.go index 25b71f6dd..d6a0fa4d2 100644 --- a/stdlib/go1_17_time.go +++ b/stdlib/go1_19_time.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract time'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_17_unicode.go b/stdlib/go1_19_unicode.go similarity index 99% rename from stdlib/go1_17_unicode.go rename to stdlib/go1_19_unicode.go index 16f344c30..12d114082 100644 --- a/stdlib/go1_17_unicode.go +++ b/stdlib/go1_19_unicode.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract unicode'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_unicode_utf16.go b/stdlib/go1_19_unicode_utf16.go similarity index 93% rename from stdlib/go1_16_unicode_utf16.go rename to stdlib/go1_19_unicode_utf16.go index 3e99668a3..919f691ca 100644 --- a/stdlib/go1_16_unicode_utf16.go +++ b/stdlib/go1_19_unicode_utf16.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract unicode/utf16'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib diff --git a/stdlib/go1_16_unicode_utf8.go b/stdlib/go1_19_unicode_utf8.go similarity index 94% rename from stdlib/go1_16_unicode_utf8.go rename to stdlib/go1_19_unicode_utf8.go index 1327789ca..2b0aa4a71 100644 --- a/stdlib/go1_16_unicode_utf8.go +++ b/stdlib/go1_19_unicode_utf8.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract unicode/utf8'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package stdlib @@ -14,6 +15,7 @@ import ( func init() { Symbols["unicode/utf8/utf8"] = map[string]reflect.Value{ // function, constant and variable definitions + "AppendRune": reflect.ValueOf(utf8.AppendRune), "DecodeLastRune": reflect.ValueOf(utf8.DecodeLastRune), "DecodeLastRuneInString": reflect.ValueOf(utf8.DecodeLastRuneInString), "DecodeRune": reflect.ValueOf(utf8.DecodeRune), diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index 31bf108ae..b4b027728 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Package stdlib provides wrappers of standard library packages to be imported natively in Yaegi. package stdlib @@ -34,7 +34,7 @@ func init() { //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 debug/buildinfo debug/dwarf debug/elf debug/gosym debug/macho debug/pe debug/plan9obj //go:generate ../internal/cmd/extract/extract embed 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 @@ -50,7 +50,7 @@ func init() { //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 net/mail net/netip 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/metrics runtime/pprof runtime/trace diff --git a/stdlib/syscall/go1_17_syscall_plan9_amd64.go b/stdlib/syscall/go1_17_syscall_plan9_amd64.go deleted file mode 100644 index d4fbac8ad..000000000 --- a/stdlib/syscall/go1_17_syscall_plan9_amd64.go +++ /dev/null @@ -1,244 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package syscall - -import ( - "go/constant" - "go/token" - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "Await": reflect.ValueOf(syscall.Await), - "Bind": reflect.ValueOf(syscall.Bind), - "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), - "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), - "Chdir": reflect.ValueOf(syscall.Chdir), - "Clearenv": reflect.ValueOf(syscall.Clearenv), - "Close": reflect.ValueOf(syscall.Close), - "Create": reflect.ValueOf(syscall.Create), - "DMAPPEND": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "DMAUTH": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "DMDIR": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "DMEXCL": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "DMEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DMMOUNT": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), - "DMREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "DMTMP": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), - "DMWRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "Dup": reflect.ValueOf(syscall.Dup), - "EACCES": reflect.ValueOf(&syscall.EACCES).Elem(), - "EAFNOSUPPORT": reflect.ValueOf(&syscall.EAFNOSUPPORT).Elem(), - "EBUSY": reflect.ValueOf(&syscall.EBUSY).Elem(), - "EEXIST": reflect.ValueOf(&syscall.EEXIST).Elem(), - "EINTR": reflect.ValueOf(&syscall.EINTR).Elem(), - "EINVAL": reflect.ValueOf(&syscall.EINVAL).Elem(), - "EIO": reflect.ValueOf(&syscall.EIO).Elem(), - "EISDIR": reflect.ValueOf(&syscall.EISDIR).Elem(), - "EMFILE": reflect.ValueOf(&syscall.EMFILE).Elem(), - "ENAMETOOLONG": reflect.ValueOf(&syscall.ENAMETOOLONG).Elem(), - "ENOENT": reflect.ValueOf(&syscall.ENOENT).Elem(), - "ENOTDIR": reflect.ValueOf(&syscall.ENOTDIR).Elem(), - "EPERM": reflect.ValueOf(&syscall.EPERM).Elem(), - "EPLAN9": reflect.ValueOf(&syscall.EPLAN9).Elem(), - "ERRMAX": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "ESPIPE": reflect.ValueOf(&syscall.ESPIPE).Elem(), - "ETIMEDOUT": reflect.ValueOf(&syscall.ETIMEDOUT).Elem(), - "Environ": reflect.ValueOf(syscall.Environ), - "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), - "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), - "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Fchdir": reflect.ValueOf(syscall.Fchdir), - "Fd2path": reflect.ValueOf(syscall.Fd2path), - "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), - "Fstat": reflect.ValueOf(syscall.Fstat), - "Fwstat": reflect.ValueOf(syscall.Fwstat), - "Getegid": reflect.ValueOf(syscall.Getegid), - "Getenv": reflect.ValueOf(syscall.Getenv), - "Geteuid": reflect.ValueOf(syscall.Geteuid), - "Getgid": reflect.ValueOf(syscall.Getgid), - "Getgroups": reflect.ValueOf(syscall.Getgroups), - "Getpagesize": reflect.ValueOf(syscall.Getpagesize), - "Getpid": reflect.ValueOf(syscall.Getpid), - "Getppid": reflect.ValueOf(syscall.Getppid), - "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), - "Getuid": reflect.ValueOf(syscall.Getuid), - "Getwd": reflect.ValueOf(syscall.Getwd), - "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "MAFTER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "MBEFORE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "MCACHE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "MCREATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "MMASK": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "MORDER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "MREPL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "Mkdir": reflect.ValueOf(syscall.Mkdir), - "Mount": reflect.ValueOf(syscall.Mount), - "NewError": reflect.ValueOf(syscall.NewError), - "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), - "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Open": reflect.ValueOf(syscall.Open), - "Pipe": reflect.ValueOf(syscall.Pipe), - "Pread": reflect.ValueOf(syscall.Pread), - "Pwrite": reflect.ValueOf(syscall.Pwrite), - "QTAPPEND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "QTAUTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "QTDIR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "QTEXCL": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "QTFILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "QTMOUNT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "QTTMP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "RFCENVG": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "RFCFDG": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "RFCNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "RFENVG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "RFFDG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "RFMEM": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "RFNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RFNOMNT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "RFNOTEG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "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)), - "Read": reflect.ValueOf(syscall.Read), - "Remove": reflect.ValueOf(syscall.Remove), - "SIGABRT": reflect.ValueOf(syscall.SIGABRT), - "SIGALRM": reflect.ValueOf(syscall.SIGALRM), - "SIGHUP": reflect.ValueOf(syscall.SIGHUP), - "SIGINT": reflect.ValueOf(syscall.SIGINT), - "SIGKILL": reflect.ValueOf(syscall.SIGKILL), - "SIGTERM": reflect.ValueOf(syscall.SIGTERM), - "STATFIXLEN": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), - "STATMAX": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), - "SYS_ALARM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "SYS_AWAIT": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), - "SYS_BIND": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SYS_BRK_": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "SYS_CHDIR": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SYS_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SYS_CREATE": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "SYS_DUP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SYS_ERRSTR": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "SYS_EXEC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SYS_EXITS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SYS_FAUTH": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SYS_FD2PATH": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "SYS_FSTAT": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), - "SYS_FVERSION": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), - "SYS_FWSTAT": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), - "SYS_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), - "SYS_NOTED": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "SYS_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "SYS_NSEC": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), - "SYS_OPEN": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "SYS_OSEEK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "SYS_PIPE": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "SYS_PREAD": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), - "SYS_PWRITE": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), - "SYS_REMOVE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "SYS_RENDEZVOUS": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), - "SYS_RFORK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "SYS_SEEK": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), - "SYS_SEGATTACH": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), - "SYS_SEGBRK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "SYS_SEGDETACH": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), - "SYS_SEGFLUSH": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), - "SYS_SEGFREE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "SYS_SEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), - "SYS_SEMRELEASE": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), - "SYS_SLEEP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "SYS_STAT": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), - "SYS_SYSR1": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SYS_TSEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), - "SYS_UNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), - "SYS_WSTAT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), - "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), - "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), - "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), - "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), - "Seek": reflect.ValueOf(syscall.Seek), - "Setenv": reflect.ValueOf(syscall.Setenv), - "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), - "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "Stat": reflect.ValueOf(syscall.Stat), - "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), - "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), - "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), - "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), - "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), - "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), - "Unmount": reflect.ValueOf(syscall.Unmount), - "Unsetenv": reflect.ValueOf(syscall.Unsetenv), - "WaitProcess": reflect.ValueOf(syscall.WaitProcess), - "Write": reflect.ValueOf(syscall.Write), - "Wstat": reflect.ValueOf(syscall.Wstat), - - // type definitions - "Conn": reflect.ValueOf((*syscall.Conn)(nil)), - "Dir": reflect.ValueOf((*syscall.Dir)(nil)), - "ErrorString": reflect.ValueOf((*syscall.ErrorString)(nil)), - "Note": reflect.ValueOf((*syscall.Note)(nil)), - "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "Qid": reflect.ValueOf((*syscall.Qid)(nil)), - "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), - "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), - "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), - "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), - "Waitmsg": reflect.ValueOf((*syscall.Waitmsg)(nil)), - - // interface wrapper definitions - "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), - "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), - } -} - -// _syscall_Conn is an interface wrapper for Conn type -type _syscall_Conn struct { - IValue interface{} - WSyscallConn func() (syscall.RawConn, error) -} - -func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { - return W.WSyscallConn() -} - -// _syscall_RawConn is an interface wrapper for RawConn type -type _syscall_RawConn struct { - IValue interface{} - WControl func(f func(fd uintptr)) error - WRead func(f func(fd uintptr) (done bool)) error - WWrite func(f func(fd uintptr) (done bool)) error -} - -func (W _syscall_RawConn) Control(f func(fd uintptr)) error { - return W.WControl(f) -} -func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { - return W.WRead(f) -} -func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { - return W.WWrite(f) -} diff --git a/stdlib/syscall/go1_17_syscall_plan9_arm.go b/stdlib/syscall/go1_17_syscall_plan9_arm.go deleted file mode 100644 index d4fbac8ad..000000000 --- a/stdlib/syscall/go1_17_syscall_plan9_arm.go +++ /dev/null @@ -1,244 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package syscall - -import ( - "go/constant" - "go/token" - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "Await": reflect.ValueOf(syscall.Await), - "Bind": reflect.ValueOf(syscall.Bind), - "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), - "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), - "Chdir": reflect.ValueOf(syscall.Chdir), - "Clearenv": reflect.ValueOf(syscall.Clearenv), - "Close": reflect.ValueOf(syscall.Close), - "Create": reflect.ValueOf(syscall.Create), - "DMAPPEND": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "DMAUTH": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "DMDIR": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "DMEXCL": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "DMEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DMMOUNT": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), - "DMREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "DMTMP": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), - "DMWRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "Dup": reflect.ValueOf(syscall.Dup), - "EACCES": reflect.ValueOf(&syscall.EACCES).Elem(), - "EAFNOSUPPORT": reflect.ValueOf(&syscall.EAFNOSUPPORT).Elem(), - "EBUSY": reflect.ValueOf(&syscall.EBUSY).Elem(), - "EEXIST": reflect.ValueOf(&syscall.EEXIST).Elem(), - "EINTR": reflect.ValueOf(&syscall.EINTR).Elem(), - "EINVAL": reflect.ValueOf(&syscall.EINVAL).Elem(), - "EIO": reflect.ValueOf(&syscall.EIO).Elem(), - "EISDIR": reflect.ValueOf(&syscall.EISDIR).Elem(), - "EMFILE": reflect.ValueOf(&syscall.EMFILE).Elem(), - "ENAMETOOLONG": reflect.ValueOf(&syscall.ENAMETOOLONG).Elem(), - "ENOENT": reflect.ValueOf(&syscall.ENOENT).Elem(), - "ENOTDIR": reflect.ValueOf(&syscall.ENOTDIR).Elem(), - "EPERM": reflect.ValueOf(&syscall.EPERM).Elem(), - "EPLAN9": reflect.ValueOf(&syscall.EPLAN9).Elem(), - "ERRMAX": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "ESPIPE": reflect.ValueOf(&syscall.ESPIPE).Elem(), - "ETIMEDOUT": reflect.ValueOf(&syscall.ETIMEDOUT).Elem(), - "Environ": reflect.ValueOf(syscall.Environ), - "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), - "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), - "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), - "Fchdir": reflect.ValueOf(syscall.Fchdir), - "Fd2path": reflect.ValueOf(syscall.Fd2path), - "Fixwd": reflect.ValueOf(syscall.Fixwd), - "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), - "Fstat": reflect.ValueOf(syscall.Fstat), - "Fwstat": reflect.ValueOf(syscall.Fwstat), - "Getegid": reflect.ValueOf(syscall.Getegid), - "Getenv": reflect.ValueOf(syscall.Getenv), - "Geteuid": reflect.ValueOf(syscall.Geteuid), - "Getgid": reflect.ValueOf(syscall.Getgid), - "Getgroups": reflect.ValueOf(syscall.Getgroups), - "Getpagesize": reflect.ValueOf(syscall.Getpagesize), - "Getpid": reflect.ValueOf(syscall.Getpid), - "Getppid": reflect.ValueOf(syscall.Getppid), - "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), - "Getuid": reflect.ValueOf(syscall.Getuid), - "Getwd": reflect.ValueOf(syscall.Getwd), - "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "MAFTER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "MBEFORE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "MCACHE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "MCREATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "MMASK": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "MORDER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "MREPL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "Mkdir": reflect.ValueOf(syscall.Mkdir), - "Mount": reflect.ValueOf(syscall.Mount), - "NewError": reflect.ValueOf(syscall.NewError), - "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), - "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Open": reflect.ValueOf(syscall.Open), - "Pipe": reflect.ValueOf(syscall.Pipe), - "Pread": reflect.ValueOf(syscall.Pread), - "Pwrite": reflect.ValueOf(syscall.Pwrite), - "QTAPPEND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "QTAUTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "QTDIR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "QTEXCL": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "QTFILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "QTMOUNT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "QTTMP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "RFCENVG": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "RFCFDG": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "RFCNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "RFENVG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "RFFDG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "RFMEM": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "RFNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "RFNOMNT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "RFNOTEG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "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)), - "Read": reflect.ValueOf(syscall.Read), - "Remove": reflect.ValueOf(syscall.Remove), - "SIGABRT": reflect.ValueOf(syscall.SIGABRT), - "SIGALRM": reflect.ValueOf(syscall.SIGALRM), - "SIGHUP": reflect.ValueOf(syscall.SIGHUP), - "SIGINT": reflect.ValueOf(syscall.SIGINT), - "SIGKILL": reflect.ValueOf(syscall.SIGKILL), - "SIGTERM": reflect.ValueOf(syscall.SIGTERM), - "STATFIXLEN": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), - "STATMAX": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), - "SYS_ALARM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "SYS_AWAIT": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), - "SYS_BIND": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SYS_BRK_": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "SYS_CHDIR": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SYS_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SYS_CREATE": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "SYS_DUP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SYS_ERRSTR": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "SYS_EXEC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SYS_EXITS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SYS_FAUTH": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SYS_FD2PATH": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "SYS_FSTAT": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), - "SYS_FVERSION": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), - "SYS_FWSTAT": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), - "SYS_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), - "SYS_NOTED": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "SYS_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "SYS_NSEC": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), - "SYS_OPEN": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "SYS_OSEEK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "SYS_PIPE": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "SYS_PREAD": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), - "SYS_PWRITE": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), - "SYS_REMOVE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "SYS_RENDEZVOUS": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), - "SYS_RFORK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "SYS_SEEK": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), - "SYS_SEGATTACH": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), - "SYS_SEGBRK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "SYS_SEGDETACH": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), - "SYS_SEGFLUSH": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), - "SYS_SEGFREE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "SYS_SEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), - "SYS_SEMRELEASE": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), - "SYS_SLEEP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "SYS_STAT": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), - "SYS_SYSR1": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SYS_TSEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), - "SYS_UNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), - "SYS_WSTAT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), - "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), - "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), - "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), - "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), - "Seek": reflect.ValueOf(syscall.Seek), - "Setenv": reflect.ValueOf(syscall.Setenv), - "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), - "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "Stat": reflect.ValueOf(syscall.Stat), - "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), - "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), - "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), - "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), - "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), - "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), - "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), - "Unmount": reflect.ValueOf(syscall.Unmount), - "Unsetenv": reflect.ValueOf(syscall.Unsetenv), - "WaitProcess": reflect.ValueOf(syscall.WaitProcess), - "Write": reflect.ValueOf(syscall.Write), - "Wstat": reflect.ValueOf(syscall.Wstat), - - // type definitions - "Conn": reflect.ValueOf((*syscall.Conn)(nil)), - "Dir": reflect.ValueOf((*syscall.Dir)(nil)), - "ErrorString": reflect.ValueOf((*syscall.ErrorString)(nil)), - "Note": reflect.ValueOf((*syscall.Note)(nil)), - "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "Qid": reflect.ValueOf((*syscall.Qid)(nil)), - "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), - "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), - "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), - "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), - "Waitmsg": reflect.ValueOf((*syscall.Waitmsg)(nil)), - - // interface wrapper definitions - "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), - "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), - } -} - -// _syscall_Conn is an interface wrapper for Conn type -type _syscall_Conn struct { - IValue interface{} - WSyscallConn func() (syscall.RawConn, error) -} - -func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { - return W.WSyscallConn() -} - -// _syscall_RawConn is an interface wrapper for RawConn type -type _syscall_RawConn struct { - IValue interface{} - WControl func(f func(fd uintptr)) error - WRead func(f func(fd uintptr) (done bool)) error - WWrite func(f func(fd uintptr) (done bool)) error -} - -func (W _syscall_RawConn) Control(f func(fd uintptr)) error { - return W.WControl(f) -} -func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { - return W.WRead(f) -} -func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { - return W.WWrite(f) -} diff --git a/stdlib/syscall/go1_17_syscall_windows_amd64.go b/stdlib/syscall/go1_17_syscall_windows_amd64.go deleted file mode 100644 index 3622d3b86..000000000 --- a/stdlib/syscall/go1_17_syscall_windows_amd64.go +++ /dev/null @@ -1,1037 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package syscall - -import ( - "go/constant" - "go/token" - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "Accept": reflect.ValueOf(syscall.Accept), - "AcceptEx": reflect.ValueOf(syscall.AcceptEx), - "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Bind": reflect.ValueOf(syscall.Bind), - "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), - "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), - "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), - "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), - "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), - "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), - "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), - "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), - "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), - "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), - "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CancelIo": reflect.ValueOf(syscall.CancelIo), - "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), - "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), - "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), - "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), - "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), - "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), - "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), - "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), - "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), - "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), - "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), - "Chdir": reflect.ValueOf(syscall.Chdir), - "Chmod": reflect.ValueOf(syscall.Chmod), - "Chown": reflect.ValueOf(syscall.Chown), - "Clearenv": reflect.ValueOf(syscall.Clearenv), - "Close": reflect.ValueOf(syscall.Close), - "CloseHandle": reflect.ValueOf(syscall.CloseHandle), - "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), - "Closesocket": reflect.ValueOf(syscall.Closesocket), - "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), - "ComputerName": reflect.ValueOf(syscall.ComputerName), - "Connect": reflect.ValueOf(syscall.Connect), - "ConnectEx": reflect.ValueOf(syscall.ConnectEx), - "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), - "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), - "CopySid": reflect.ValueOf(syscall.CopySid), - "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), - "CreateFile": reflect.ValueOf(syscall.CreateFile), - "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), - "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), - "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), - "CreatePipe": reflect.ValueOf(syscall.CreatePipe), - "CreateProcess": reflect.ValueOf(syscall.CreateProcess), - "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), - "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), - "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), - "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), - "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), - "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), - "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), - "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), - "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), - "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), - "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), - "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), - "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), - "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), - "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), - "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), - "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), - "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), - "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), - "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), - "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), - "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), - "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), - "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), - "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), - "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), - "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), - "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), - "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), - "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), - "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), - "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), - "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), - "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), - "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DeleteFile": reflect.ValueOf(syscall.DeleteFile), - "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), - "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), - "DnsQuery": reflect.ValueOf(syscall.DnsQuery), - "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), - "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), - "E2BIG": reflect.ValueOf(syscall.E2BIG), - "EACCES": reflect.ValueOf(syscall.EACCES), - "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), - "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), - "EADV": reflect.ValueOf(syscall.EADV), - "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), - "EAGAIN": reflect.ValueOf(syscall.EAGAIN), - "EALREADY": reflect.ValueOf(syscall.EALREADY), - "EBADE": reflect.ValueOf(syscall.EBADE), - "EBADF": reflect.ValueOf(syscall.EBADF), - "EBADFD": reflect.ValueOf(syscall.EBADFD), - "EBADMSG": reflect.ValueOf(syscall.EBADMSG), - "EBADR": reflect.ValueOf(syscall.EBADR), - "EBADRQC": reflect.ValueOf(syscall.EBADRQC), - "EBADSLT": reflect.ValueOf(syscall.EBADSLT), - "EBFONT": reflect.ValueOf(syscall.EBFONT), - "EBUSY": reflect.ValueOf(syscall.EBUSY), - "ECANCELED": reflect.ValueOf(syscall.ECANCELED), - "ECHILD": reflect.ValueOf(syscall.ECHILD), - "ECHRNG": reflect.ValueOf(syscall.ECHRNG), - "ECOMM": reflect.ValueOf(syscall.ECOMM), - "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), - "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), - "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), - "EDEADLK": reflect.ValueOf(syscall.EDEADLK), - "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), - "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), - "EDOM": reflect.ValueOf(syscall.EDOM), - "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), - "EDQUOT": reflect.ValueOf(syscall.EDQUOT), - "EEXIST": reflect.ValueOf(syscall.EEXIST), - "EFAULT": reflect.ValueOf(syscall.EFAULT), - "EFBIG": reflect.ValueOf(syscall.EFBIG), - "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), - "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), - "EIDRM": reflect.ValueOf(syscall.EIDRM), - "EILSEQ": reflect.ValueOf(syscall.EILSEQ), - "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), - "EINTR": reflect.ValueOf(syscall.EINTR), - "EINVAL": reflect.ValueOf(syscall.EINVAL), - "EIO": reflect.ValueOf(syscall.EIO), - "EISCONN": reflect.ValueOf(syscall.EISCONN), - "EISDIR": reflect.ValueOf(syscall.EISDIR), - "EISNAM": reflect.ValueOf(syscall.EISNAM), - "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), - "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), - "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), - "EL2HLT": reflect.ValueOf(syscall.EL2HLT), - "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), - "EL3HLT": reflect.ValueOf(syscall.EL3HLT), - "EL3RST": reflect.ValueOf(syscall.EL3RST), - "ELIBACC": reflect.ValueOf(syscall.ELIBACC), - "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), - "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), - "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), - "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), - "ELNRNG": reflect.ValueOf(syscall.ELNRNG), - "ELOOP": reflect.ValueOf(syscall.ELOOP), - "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), - "EMFILE": reflect.ValueOf(syscall.EMFILE), - "EMLINK": reflect.ValueOf(syscall.EMLINK), - "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), - "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), - "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), - "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), - "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), - "ENETRESET": reflect.ValueOf(syscall.ENETRESET), - "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), - "ENFILE": reflect.ValueOf(syscall.ENFILE), - "ENOANO": reflect.ValueOf(syscall.ENOANO), - "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), - "ENOCSI": reflect.ValueOf(syscall.ENOCSI), - "ENODATA": reflect.ValueOf(syscall.ENODATA), - "ENODEV": reflect.ValueOf(syscall.ENODEV), - "ENOENT": reflect.ValueOf(syscall.ENOENT), - "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), - "ENOKEY": reflect.ValueOf(syscall.ENOKEY), - "ENOLCK": reflect.ValueOf(syscall.ENOLCK), - "ENOLINK": reflect.ValueOf(syscall.ENOLINK), - "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), - "ENOMEM": reflect.ValueOf(syscall.ENOMEM), - "ENOMSG": reflect.ValueOf(syscall.ENOMSG), - "ENONET": reflect.ValueOf(syscall.ENONET), - "ENOPKG": reflect.ValueOf(syscall.ENOPKG), - "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), - "ENOSPC": reflect.ValueOf(syscall.ENOSPC), - "ENOSR": reflect.ValueOf(syscall.ENOSR), - "ENOSTR": reflect.ValueOf(syscall.ENOSTR), - "ENOSYS": reflect.ValueOf(syscall.ENOSYS), - "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), - "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), - "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), - "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), - "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), - "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), - "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), - "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), - "ENOTTY": reflect.ValueOf(syscall.ENOTTY), - "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), - "ENXIO": reflect.ValueOf(syscall.ENXIO), - "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), - "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), - "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), - "EPERM": reflect.ValueOf(syscall.EPERM), - "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), - "EPIPE": reflect.ValueOf(syscall.EPIPE), - "EPROTO": reflect.ValueOf(syscall.EPROTO), - "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), - "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), - "ERANGE": reflect.ValueOf(syscall.ERANGE), - "EREMCHG": reflect.ValueOf(syscall.EREMCHG), - "EREMOTE": reflect.ValueOf(syscall.EREMOTE), - "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), - "ERESTART": reflect.ValueOf(syscall.ERESTART), - "EROFS": reflect.ValueOf(syscall.EROFS), - "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), - "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), - "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), - "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), - "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), - "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), - "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), - "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), - "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), - "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), - "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), - "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), - "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), - "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), - "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), - "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), - "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), - "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), - "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), - "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), - "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), - "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), - "ESPIPE": reflect.ValueOf(syscall.ESPIPE), - "ESRCH": reflect.ValueOf(syscall.ESRCH), - "ESRMNT": reflect.ValueOf(syscall.ESRMNT), - "ESTALE": reflect.ValueOf(syscall.ESTALE), - "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), - "ETIME": reflect.ValueOf(syscall.ETIME), - "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), - "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), - "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), - "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), - "EUNATCH": reflect.ValueOf(syscall.EUNATCH), - "EUSERS": reflect.ValueOf(syscall.EUSERS), - "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), - "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), - "EXDEV": reflect.ValueOf(syscall.EXDEV), - "EXFULL": reflect.ValueOf(syscall.EXFULL), - "Environ": reflect.ValueOf(syscall.Environ), - "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "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)), - "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), - "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), - "Fchdir": reflect.ValueOf(syscall.Fchdir), - "Fchmod": reflect.ValueOf(syscall.Fchmod), - "Fchown": reflect.ValueOf(syscall.Fchown), - "FindClose": reflect.ValueOf(syscall.FindClose), - "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), - "FindNextFile": reflect.ValueOf(syscall.FindNextFile), - "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), - "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), - "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), - "FormatMessage": reflect.ValueOf(syscall.FormatMessage), - "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), - "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), - "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), - "Fsync": reflect.ValueOf(syscall.Fsync), - "Ftruncate": reflect.ValueOf(syscall.Ftruncate), - "FullPath": reflect.ValueOf(syscall.FullPath), - "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), - "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), - "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), - "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), - "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), - "GetComputerName": reflect.ValueOf(syscall.GetComputerName), - "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), - "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), - "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), - "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), - "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), - "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), - "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), - "GetFileType": reflect.ValueOf(syscall.GetFileType), - "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), - "GetHostByName": reflect.ValueOf(syscall.GetHostByName), - "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), - "GetLastError": reflect.ValueOf(syscall.GetLastError), - "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), - "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), - "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), - "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), - "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), - "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), - "GetServByName": reflect.ValueOf(syscall.GetServByName), - "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), - "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), - "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), - "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), - "GetTempPath": reflect.ValueOf(syscall.GetTempPath), - "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), - "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), - "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), - "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), - "GetVersion": reflect.ValueOf(syscall.GetVersion), - "Getegid": reflect.ValueOf(syscall.Getegid), - "Getenv": reflect.ValueOf(syscall.Getenv), - "Geteuid": reflect.ValueOf(syscall.Geteuid), - "Getgid": reflect.ValueOf(syscall.Getgid), - "Getgroups": reflect.ValueOf(syscall.Getgroups), - "Getpagesize": reflect.ValueOf(syscall.Getpagesize), - "Getpeername": reflect.ValueOf(syscall.Getpeername), - "Getpid": reflect.ValueOf(syscall.Getpid), - "Getppid": reflect.ValueOf(syscall.Getppid), - "Getsockname": reflect.ValueOf(syscall.Getsockname), - "Getsockopt": reflect.ValueOf(syscall.Getsockopt), - "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), - "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), - "Getuid": reflect.ValueOf(syscall.Getuid), - "Getwd": reflect.ValueOf(syscall.Getwd), - "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), - "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), - "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), - "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), - "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), - "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), - "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), - "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), - "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), - "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), - "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), - "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), - "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "Lchown": reflect.ValueOf(syscall.Lchown), - "Link": reflect.ValueOf(syscall.Link), - "Listen": reflect.ValueOf(syscall.Listen), - "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), - "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), - "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), - "LoadDLL": reflect.ValueOf(syscall.LoadDLL), - "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), - "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), - "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), - "LocalFree": reflect.ValueOf(syscall.LocalFree), - "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), - "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), - "LookupSID": reflect.ValueOf(syscall.LookupSID), - "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), - "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), - "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "Mkdir": reflect.ValueOf(syscall.Mkdir), - "MoveFile": reflect.ValueOf(syscall.MoveFile), - "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), - "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), - "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), - "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), - "NewCallback": reflect.ValueOf(syscall.NewCallback), - "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), - "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), - "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), - "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), - "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), - "Ntohs": reflect.ValueOf(syscall.Ntohs), - "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), - "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), - "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), - "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Open": reflect.ValueOf(syscall.Open), - "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), - "OpenProcess": reflect.ValueOf(syscall.OpenProcess), - "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), - "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "Pipe": reflect.ValueOf(syscall.Pipe), - "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), - "Process32First": reflect.ValueOf(syscall.Process32First), - "Process32Next": reflect.ValueOf(syscall.Process32Next), - "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Read": reflect.ValueOf(syscall.Read), - "ReadConsole": reflect.ValueOf(syscall.ReadConsole), - "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), - "ReadFile": reflect.ValueOf(syscall.ReadFile), - "Readlink": reflect.ValueOf(syscall.Readlink), - "Recvfrom": reflect.ValueOf(syscall.Recvfrom), - "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), - "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), - "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), - "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), - "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), - "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), - "Rename": reflect.ValueOf(syscall.Rename), - "Rmdir": reflect.ValueOf(syscall.Rmdir), - "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SIGABRT": reflect.ValueOf(syscall.SIGABRT), - "SIGALRM": reflect.ValueOf(syscall.SIGALRM), - "SIGBUS": reflect.ValueOf(syscall.SIGBUS), - "SIGFPE": reflect.ValueOf(syscall.SIGFPE), - "SIGHUP": reflect.ValueOf(syscall.SIGHUP), - "SIGILL": reflect.ValueOf(syscall.SIGILL), - "SIGINT": reflect.ValueOf(syscall.SIGINT), - "SIGKILL": reflect.ValueOf(syscall.SIGKILL), - "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), - "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), - "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), - "SIGTERM": reflect.ValueOf(syscall.SIGTERM), - "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), - "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), - "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), - "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), - "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), - "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), - "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), - "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), - "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), - "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), - "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), - "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), - "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), - "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), - "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), - "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), - "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), - "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), - "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), - "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), - "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), - "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "Seek": reflect.ValueOf(syscall.Seek), - "Sendto": reflect.ValueOf(syscall.Sendto), - "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), - "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), - "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), - "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), - "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), - "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), - "SetFileTime": reflect.ValueOf(syscall.SetFileTime), - "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), - "SetNonblock": reflect.ValueOf(syscall.SetNonblock), - "Setenv": reflect.ValueOf(syscall.Setenv), - "Setsockopt": reflect.ValueOf(syscall.Setsockopt), - "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), - "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), - "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), - "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), - "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), - "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "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)), - "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "Socket": reflect.ValueOf(syscall.Socket), - "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), - "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), - "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), - "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), - "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), - "StringToSid": reflect.ValueOf(syscall.StringToSid), - "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), - "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), - "Symlink": reflect.ValueOf(syscall.Symlink), - "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)), - "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), - "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), - "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), - "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), - "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), - "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), - "TranslateName": reflect.ValueOf(syscall.TranslateName), - "TransmitFile": reflect.ValueOf(syscall.TransmitFile), - "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), - "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), - "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), - "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), - "Unlink": reflect.ValueOf(syscall.Unlink), - "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), - "Unsetenv": reflect.ValueOf(syscall.Unsetenv), - "Utimes": reflect.ValueOf(syscall.Utimes), - "UtimesNano": reflect.ValueOf(syscall.UtimesNano), - "VirtualLock": reflect.ValueOf(syscall.VirtualLock), - "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), - "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), - "WSACleanup": reflect.ValueOf(syscall.WSACleanup), - "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), - "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), - "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), - "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), - "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), - "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), - "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "WSARecv": reflect.ValueOf(syscall.WSARecv), - "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), - "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WSASend": reflect.ValueOf(syscall.WSASend), - "WSASendTo": reflect.ValueOf(syscall.WSASendTo), - "WSASendto": reflect.ValueOf(syscall.WSASendto), - "WSAStartup": reflect.ValueOf(syscall.WSAStartup), - "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), - "Write": reflect.ValueOf(syscall.Write), - "WriteConsole": reflect.ValueOf(syscall.WriteConsole), - "WriteFile": reflect.ValueOf(syscall.WriteFile), - "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), - "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - - // type definitions - "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), - "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), - "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), - "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), - "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), - "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), - "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), - "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), - "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), - "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), - "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), - "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), - "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), - "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), - "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), - "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), - "Conn": reflect.ValueOf((*syscall.Conn)(nil)), - "DLL": reflect.ValueOf((*syscall.DLL)(nil)), - "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), - "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), - "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), - "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), - "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), - "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), - "Errno": reflect.ValueOf((*syscall.Errno)(nil)), - "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), - "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), - "GUID": reflect.ValueOf((*syscall.GUID)(nil)), - "Handle": reflect.ValueOf((*syscall.Handle)(nil)), - "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), - "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), - "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), - "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), - "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), - "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), - "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), - "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), - "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), - "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), - "Linger": reflect.ValueOf((*syscall.Linger)(nil)), - "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), - "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), - "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), - "Proc": reflect.ValueOf((*syscall.Proc)(nil)), - "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), - "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), - "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), - "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), - "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), - "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), - "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), - "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), - "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), - "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), - "SID": reflect.ValueOf((*syscall.SID)(nil)), - "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), - "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), - "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), - "Servent": reflect.ValueOf((*syscall.Servent)(nil)), - "Signal": reflect.ValueOf((*syscall.Signal)(nil)), - "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), - "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), - "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), - "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), - "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), - "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), - "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), - "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), - "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), - "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), - "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), - "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), - "Token": reflect.ValueOf((*syscall.Token)(nil)), - "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), - "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), - "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), - "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), - "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), - "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), - "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), - "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), - "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), - "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), - "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), - - // interface wrapper definitions - "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), - "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), - "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), - } -} - -// _syscall_Conn is an interface wrapper for Conn type -type _syscall_Conn struct { - IValue interface{} - WSyscallConn func() (syscall.RawConn, error) -} - -func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { - return W.WSyscallConn() -} - -// _syscall_RawConn is an interface wrapper for RawConn type -type _syscall_RawConn struct { - IValue interface{} - WControl func(f func(fd uintptr)) error - WRead func(f func(fd uintptr) (done bool)) error - WWrite func(f func(fd uintptr) (done bool)) error -} - -func (W _syscall_RawConn) Control(f func(fd uintptr)) error { - return W.WControl(f) -} -func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { - return W.WRead(f) -} -func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { - return W.WWrite(f) -} - -// _syscall_Sockaddr is an interface wrapper for Sockaddr type -type _syscall_Sockaddr struct { - IValue interface{} -} diff --git a/stdlib/syscall/go1_17_syscall_windows_arm.go b/stdlib/syscall/go1_17_syscall_windows_arm.go deleted file mode 100644 index 3622d3b86..000000000 --- a/stdlib/syscall/go1_17_syscall_windows_arm.go +++ /dev/null @@ -1,1037 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package syscall - -import ( - "go/constant" - "go/token" - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "Accept": reflect.ValueOf(syscall.Accept), - "AcceptEx": reflect.ValueOf(syscall.AcceptEx), - "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Bind": reflect.ValueOf(syscall.Bind), - "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), - "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), - "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), - "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), - "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), - "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), - "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), - "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), - "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), - "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), - "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CancelIo": reflect.ValueOf(syscall.CancelIo), - "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), - "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), - "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), - "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), - "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), - "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), - "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), - "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), - "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), - "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), - "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), - "Chdir": reflect.ValueOf(syscall.Chdir), - "Chmod": reflect.ValueOf(syscall.Chmod), - "Chown": reflect.ValueOf(syscall.Chown), - "Clearenv": reflect.ValueOf(syscall.Clearenv), - "Close": reflect.ValueOf(syscall.Close), - "CloseHandle": reflect.ValueOf(syscall.CloseHandle), - "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), - "Closesocket": reflect.ValueOf(syscall.Closesocket), - "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), - "ComputerName": reflect.ValueOf(syscall.ComputerName), - "Connect": reflect.ValueOf(syscall.Connect), - "ConnectEx": reflect.ValueOf(syscall.ConnectEx), - "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), - "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), - "CopySid": reflect.ValueOf(syscall.CopySid), - "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), - "CreateFile": reflect.ValueOf(syscall.CreateFile), - "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), - "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), - "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), - "CreatePipe": reflect.ValueOf(syscall.CreatePipe), - "CreateProcess": reflect.ValueOf(syscall.CreateProcess), - "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), - "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), - "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), - "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), - "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), - "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), - "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), - "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), - "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), - "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), - "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), - "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), - "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), - "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), - "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), - "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), - "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), - "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), - "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), - "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), - "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), - "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), - "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), - "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), - "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), - "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), - "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), - "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), - "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), - "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), - "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), - "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), - "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), - "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), - "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DeleteFile": reflect.ValueOf(syscall.DeleteFile), - "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), - "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), - "DnsQuery": reflect.ValueOf(syscall.DnsQuery), - "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), - "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), - "E2BIG": reflect.ValueOf(syscall.E2BIG), - "EACCES": reflect.ValueOf(syscall.EACCES), - "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), - "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), - "EADV": reflect.ValueOf(syscall.EADV), - "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), - "EAGAIN": reflect.ValueOf(syscall.EAGAIN), - "EALREADY": reflect.ValueOf(syscall.EALREADY), - "EBADE": reflect.ValueOf(syscall.EBADE), - "EBADF": reflect.ValueOf(syscall.EBADF), - "EBADFD": reflect.ValueOf(syscall.EBADFD), - "EBADMSG": reflect.ValueOf(syscall.EBADMSG), - "EBADR": reflect.ValueOf(syscall.EBADR), - "EBADRQC": reflect.ValueOf(syscall.EBADRQC), - "EBADSLT": reflect.ValueOf(syscall.EBADSLT), - "EBFONT": reflect.ValueOf(syscall.EBFONT), - "EBUSY": reflect.ValueOf(syscall.EBUSY), - "ECANCELED": reflect.ValueOf(syscall.ECANCELED), - "ECHILD": reflect.ValueOf(syscall.ECHILD), - "ECHRNG": reflect.ValueOf(syscall.ECHRNG), - "ECOMM": reflect.ValueOf(syscall.ECOMM), - "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), - "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), - "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), - "EDEADLK": reflect.ValueOf(syscall.EDEADLK), - "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), - "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), - "EDOM": reflect.ValueOf(syscall.EDOM), - "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), - "EDQUOT": reflect.ValueOf(syscall.EDQUOT), - "EEXIST": reflect.ValueOf(syscall.EEXIST), - "EFAULT": reflect.ValueOf(syscall.EFAULT), - "EFBIG": reflect.ValueOf(syscall.EFBIG), - "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), - "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), - "EIDRM": reflect.ValueOf(syscall.EIDRM), - "EILSEQ": reflect.ValueOf(syscall.EILSEQ), - "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), - "EINTR": reflect.ValueOf(syscall.EINTR), - "EINVAL": reflect.ValueOf(syscall.EINVAL), - "EIO": reflect.ValueOf(syscall.EIO), - "EISCONN": reflect.ValueOf(syscall.EISCONN), - "EISDIR": reflect.ValueOf(syscall.EISDIR), - "EISNAM": reflect.ValueOf(syscall.EISNAM), - "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), - "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), - "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), - "EL2HLT": reflect.ValueOf(syscall.EL2HLT), - "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), - "EL3HLT": reflect.ValueOf(syscall.EL3HLT), - "EL3RST": reflect.ValueOf(syscall.EL3RST), - "ELIBACC": reflect.ValueOf(syscall.ELIBACC), - "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), - "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), - "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), - "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), - "ELNRNG": reflect.ValueOf(syscall.ELNRNG), - "ELOOP": reflect.ValueOf(syscall.ELOOP), - "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), - "EMFILE": reflect.ValueOf(syscall.EMFILE), - "EMLINK": reflect.ValueOf(syscall.EMLINK), - "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), - "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), - "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), - "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), - "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), - "ENETRESET": reflect.ValueOf(syscall.ENETRESET), - "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), - "ENFILE": reflect.ValueOf(syscall.ENFILE), - "ENOANO": reflect.ValueOf(syscall.ENOANO), - "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), - "ENOCSI": reflect.ValueOf(syscall.ENOCSI), - "ENODATA": reflect.ValueOf(syscall.ENODATA), - "ENODEV": reflect.ValueOf(syscall.ENODEV), - "ENOENT": reflect.ValueOf(syscall.ENOENT), - "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), - "ENOKEY": reflect.ValueOf(syscall.ENOKEY), - "ENOLCK": reflect.ValueOf(syscall.ENOLCK), - "ENOLINK": reflect.ValueOf(syscall.ENOLINK), - "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), - "ENOMEM": reflect.ValueOf(syscall.ENOMEM), - "ENOMSG": reflect.ValueOf(syscall.ENOMSG), - "ENONET": reflect.ValueOf(syscall.ENONET), - "ENOPKG": reflect.ValueOf(syscall.ENOPKG), - "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), - "ENOSPC": reflect.ValueOf(syscall.ENOSPC), - "ENOSR": reflect.ValueOf(syscall.ENOSR), - "ENOSTR": reflect.ValueOf(syscall.ENOSTR), - "ENOSYS": reflect.ValueOf(syscall.ENOSYS), - "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), - "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), - "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), - "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), - "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), - "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), - "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), - "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), - "ENOTTY": reflect.ValueOf(syscall.ENOTTY), - "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), - "ENXIO": reflect.ValueOf(syscall.ENXIO), - "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), - "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), - "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), - "EPERM": reflect.ValueOf(syscall.EPERM), - "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), - "EPIPE": reflect.ValueOf(syscall.EPIPE), - "EPROTO": reflect.ValueOf(syscall.EPROTO), - "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), - "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), - "ERANGE": reflect.ValueOf(syscall.ERANGE), - "EREMCHG": reflect.ValueOf(syscall.EREMCHG), - "EREMOTE": reflect.ValueOf(syscall.EREMOTE), - "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), - "ERESTART": reflect.ValueOf(syscall.ERESTART), - "EROFS": reflect.ValueOf(syscall.EROFS), - "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), - "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), - "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), - "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), - "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), - "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), - "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), - "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), - "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), - "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), - "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), - "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), - "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), - "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), - "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), - "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), - "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), - "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), - "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), - "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), - "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), - "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), - "ESPIPE": reflect.ValueOf(syscall.ESPIPE), - "ESRCH": reflect.ValueOf(syscall.ESRCH), - "ESRMNT": reflect.ValueOf(syscall.ESRMNT), - "ESTALE": reflect.ValueOf(syscall.ESTALE), - "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), - "ETIME": reflect.ValueOf(syscall.ETIME), - "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), - "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), - "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), - "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), - "EUNATCH": reflect.ValueOf(syscall.EUNATCH), - "EUSERS": reflect.ValueOf(syscall.EUSERS), - "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), - "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), - "EXDEV": reflect.ValueOf(syscall.EXDEV), - "EXFULL": reflect.ValueOf(syscall.EXFULL), - "Environ": reflect.ValueOf(syscall.Environ), - "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "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)), - "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), - "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), - "Fchdir": reflect.ValueOf(syscall.Fchdir), - "Fchmod": reflect.ValueOf(syscall.Fchmod), - "Fchown": reflect.ValueOf(syscall.Fchown), - "FindClose": reflect.ValueOf(syscall.FindClose), - "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), - "FindNextFile": reflect.ValueOf(syscall.FindNextFile), - "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), - "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), - "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), - "FormatMessage": reflect.ValueOf(syscall.FormatMessage), - "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), - "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), - "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), - "Fsync": reflect.ValueOf(syscall.Fsync), - "Ftruncate": reflect.ValueOf(syscall.Ftruncate), - "FullPath": reflect.ValueOf(syscall.FullPath), - "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), - "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), - "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), - "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), - "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), - "GetComputerName": reflect.ValueOf(syscall.GetComputerName), - "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), - "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), - "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), - "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), - "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), - "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), - "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), - "GetFileType": reflect.ValueOf(syscall.GetFileType), - "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), - "GetHostByName": reflect.ValueOf(syscall.GetHostByName), - "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), - "GetLastError": reflect.ValueOf(syscall.GetLastError), - "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), - "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), - "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), - "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), - "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), - "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), - "GetServByName": reflect.ValueOf(syscall.GetServByName), - "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), - "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), - "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), - "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), - "GetTempPath": reflect.ValueOf(syscall.GetTempPath), - "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), - "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), - "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), - "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), - "GetVersion": reflect.ValueOf(syscall.GetVersion), - "Getegid": reflect.ValueOf(syscall.Getegid), - "Getenv": reflect.ValueOf(syscall.Getenv), - "Geteuid": reflect.ValueOf(syscall.Geteuid), - "Getgid": reflect.ValueOf(syscall.Getgid), - "Getgroups": reflect.ValueOf(syscall.Getgroups), - "Getpagesize": reflect.ValueOf(syscall.Getpagesize), - "Getpeername": reflect.ValueOf(syscall.Getpeername), - "Getpid": reflect.ValueOf(syscall.Getpid), - "Getppid": reflect.ValueOf(syscall.Getppid), - "Getsockname": reflect.ValueOf(syscall.Getsockname), - "Getsockopt": reflect.ValueOf(syscall.Getsockopt), - "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), - "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), - "Getuid": reflect.ValueOf(syscall.Getuid), - "Getwd": reflect.ValueOf(syscall.Getwd), - "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), - "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), - "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), - "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), - "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), - "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), - "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), - "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), - "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), - "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), - "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), - "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), - "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "Lchown": reflect.ValueOf(syscall.Lchown), - "Link": reflect.ValueOf(syscall.Link), - "Listen": reflect.ValueOf(syscall.Listen), - "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), - "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), - "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), - "LoadDLL": reflect.ValueOf(syscall.LoadDLL), - "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), - "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), - "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), - "LocalFree": reflect.ValueOf(syscall.LocalFree), - "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), - "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), - "LookupSID": reflect.ValueOf(syscall.LookupSID), - "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), - "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), - "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "Mkdir": reflect.ValueOf(syscall.Mkdir), - "MoveFile": reflect.ValueOf(syscall.MoveFile), - "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), - "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), - "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), - "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), - "NewCallback": reflect.ValueOf(syscall.NewCallback), - "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), - "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), - "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), - "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), - "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), - "Ntohs": reflect.ValueOf(syscall.Ntohs), - "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), - "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), - "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), - "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Open": reflect.ValueOf(syscall.Open), - "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), - "OpenProcess": reflect.ValueOf(syscall.OpenProcess), - "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), - "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "Pipe": reflect.ValueOf(syscall.Pipe), - "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), - "Process32First": reflect.ValueOf(syscall.Process32First), - "Process32Next": reflect.ValueOf(syscall.Process32Next), - "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Read": reflect.ValueOf(syscall.Read), - "ReadConsole": reflect.ValueOf(syscall.ReadConsole), - "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), - "ReadFile": reflect.ValueOf(syscall.ReadFile), - "Readlink": reflect.ValueOf(syscall.Readlink), - "Recvfrom": reflect.ValueOf(syscall.Recvfrom), - "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), - "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), - "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), - "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), - "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), - "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), - "Rename": reflect.ValueOf(syscall.Rename), - "Rmdir": reflect.ValueOf(syscall.Rmdir), - "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SIGABRT": reflect.ValueOf(syscall.SIGABRT), - "SIGALRM": reflect.ValueOf(syscall.SIGALRM), - "SIGBUS": reflect.ValueOf(syscall.SIGBUS), - "SIGFPE": reflect.ValueOf(syscall.SIGFPE), - "SIGHUP": reflect.ValueOf(syscall.SIGHUP), - "SIGILL": reflect.ValueOf(syscall.SIGILL), - "SIGINT": reflect.ValueOf(syscall.SIGINT), - "SIGKILL": reflect.ValueOf(syscall.SIGKILL), - "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), - "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), - "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), - "SIGTERM": reflect.ValueOf(syscall.SIGTERM), - "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), - "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), - "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), - "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), - "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), - "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), - "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), - "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), - "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), - "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), - "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), - "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), - "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), - "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), - "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), - "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), - "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), - "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), - "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), - "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), - "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), - "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "Seek": reflect.ValueOf(syscall.Seek), - "Sendto": reflect.ValueOf(syscall.Sendto), - "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), - "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), - "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), - "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), - "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), - "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), - "SetFileTime": reflect.ValueOf(syscall.SetFileTime), - "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), - "SetNonblock": reflect.ValueOf(syscall.SetNonblock), - "Setenv": reflect.ValueOf(syscall.Setenv), - "Setsockopt": reflect.ValueOf(syscall.Setsockopt), - "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), - "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), - "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), - "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), - "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), - "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "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)), - "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "Socket": reflect.ValueOf(syscall.Socket), - "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), - "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), - "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), - "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), - "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), - "StringToSid": reflect.ValueOf(syscall.StringToSid), - "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), - "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), - "Symlink": reflect.ValueOf(syscall.Symlink), - "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)), - "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), - "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), - "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), - "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), - "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), - "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), - "TranslateName": reflect.ValueOf(syscall.TranslateName), - "TransmitFile": reflect.ValueOf(syscall.TransmitFile), - "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), - "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), - "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), - "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), - "Unlink": reflect.ValueOf(syscall.Unlink), - "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), - "Unsetenv": reflect.ValueOf(syscall.Unsetenv), - "Utimes": reflect.ValueOf(syscall.Utimes), - "UtimesNano": reflect.ValueOf(syscall.UtimesNano), - "VirtualLock": reflect.ValueOf(syscall.VirtualLock), - "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), - "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), - "WSACleanup": reflect.ValueOf(syscall.WSACleanup), - "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), - "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), - "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), - "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), - "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), - "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), - "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "WSARecv": reflect.ValueOf(syscall.WSARecv), - "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), - "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WSASend": reflect.ValueOf(syscall.WSASend), - "WSASendTo": reflect.ValueOf(syscall.WSASendTo), - "WSASendto": reflect.ValueOf(syscall.WSASendto), - "WSAStartup": reflect.ValueOf(syscall.WSAStartup), - "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), - "Write": reflect.ValueOf(syscall.Write), - "WriteConsole": reflect.ValueOf(syscall.WriteConsole), - "WriteFile": reflect.ValueOf(syscall.WriteFile), - "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), - "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - - // type definitions - "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), - "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), - "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), - "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), - "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), - "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), - "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), - "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), - "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), - "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), - "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), - "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), - "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), - "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), - "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), - "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), - "Conn": reflect.ValueOf((*syscall.Conn)(nil)), - "DLL": reflect.ValueOf((*syscall.DLL)(nil)), - "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), - "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), - "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), - "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), - "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), - "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), - "Errno": reflect.ValueOf((*syscall.Errno)(nil)), - "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), - "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), - "GUID": reflect.ValueOf((*syscall.GUID)(nil)), - "Handle": reflect.ValueOf((*syscall.Handle)(nil)), - "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), - "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), - "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), - "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), - "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), - "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), - "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), - "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), - "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), - "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), - "Linger": reflect.ValueOf((*syscall.Linger)(nil)), - "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), - "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), - "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), - "Proc": reflect.ValueOf((*syscall.Proc)(nil)), - "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), - "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), - "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), - "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), - "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), - "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), - "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), - "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), - "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), - "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), - "SID": reflect.ValueOf((*syscall.SID)(nil)), - "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), - "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), - "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), - "Servent": reflect.ValueOf((*syscall.Servent)(nil)), - "Signal": reflect.ValueOf((*syscall.Signal)(nil)), - "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), - "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), - "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), - "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), - "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), - "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), - "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), - "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), - "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), - "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), - "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), - "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), - "Token": reflect.ValueOf((*syscall.Token)(nil)), - "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), - "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), - "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), - "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), - "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), - "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), - "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), - "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), - "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), - "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), - "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), - - // interface wrapper definitions - "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), - "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), - "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), - } -} - -// _syscall_Conn is an interface wrapper for Conn type -type _syscall_Conn struct { - IValue interface{} - WSyscallConn func() (syscall.RawConn, error) -} - -func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { - return W.WSyscallConn() -} - -// _syscall_RawConn is an interface wrapper for RawConn type -type _syscall_RawConn struct { - IValue interface{} - WControl func(f func(fd uintptr)) error - WRead func(f func(fd uintptr) (done bool)) error - WWrite func(f func(fd uintptr) (done bool)) error -} - -func (W _syscall_RawConn) Control(f func(fd uintptr)) error { - return W.WControl(f) -} -func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { - return W.WRead(f) -} -func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { - return W.WWrite(f) -} - -// _syscall_Sockaddr is an interface wrapper for Sockaddr type -type _syscall_Sockaddr struct { - IValue interface{} -} diff --git a/stdlib/syscall/go1_17_syscall_windows_arm64.go b/stdlib/syscall/go1_17_syscall_windows_arm64.go deleted file mode 100644 index 3622d3b86..000000000 --- a/stdlib/syscall/go1_17_syscall_windows_arm64.go +++ /dev/null @@ -1,1037 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package syscall - -import ( - "go/constant" - "go/token" - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "Accept": reflect.ValueOf(syscall.Accept), - "AcceptEx": reflect.ValueOf(syscall.AcceptEx), - "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Bind": reflect.ValueOf(syscall.Bind), - "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), - "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), - "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), - "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), - "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), - "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), - "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), - "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), - "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), - "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), - "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "CancelIo": reflect.ValueOf(syscall.CancelIo), - "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), - "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), - "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), - "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), - "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), - "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), - "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), - "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), - "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), - "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), - "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), - "Chdir": reflect.ValueOf(syscall.Chdir), - "Chmod": reflect.ValueOf(syscall.Chmod), - "Chown": reflect.ValueOf(syscall.Chown), - "Clearenv": reflect.ValueOf(syscall.Clearenv), - "Close": reflect.ValueOf(syscall.Close), - "CloseHandle": reflect.ValueOf(syscall.CloseHandle), - "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), - "Closesocket": reflect.ValueOf(syscall.Closesocket), - "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), - "ComputerName": reflect.ValueOf(syscall.ComputerName), - "Connect": reflect.ValueOf(syscall.Connect), - "ConnectEx": reflect.ValueOf(syscall.ConnectEx), - "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), - "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), - "CopySid": reflect.ValueOf(syscall.CopySid), - "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), - "CreateFile": reflect.ValueOf(syscall.CreateFile), - "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), - "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), - "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), - "CreatePipe": reflect.ValueOf(syscall.CreatePipe), - "CreateProcess": reflect.ValueOf(syscall.CreateProcess), - "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), - "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), - "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), - "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), - "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), - "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), - "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), - "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), - "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), - "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), - "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), - "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), - "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), - "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), - "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), - "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), - "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), - "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), - "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), - "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), - "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), - "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), - "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), - "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), - "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), - "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), - "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), - "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), - "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), - "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), - "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), - "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), - "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), - "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), - "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), - "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DeleteFile": reflect.ValueOf(syscall.DeleteFile), - "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), - "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), - "DnsQuery": reflect.ValueOf(syscall.DnsQuery), - "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), - "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), - "E2BIG": reflect.ValueOf(syscall.E2BIG), - "EACCES": reflect.ValueOf(syscall.EACCES), - "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), - "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), - "EADV": reflect.ValueOf(syscall.EADV), - "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), - "EAGAIN": reflect.ValueOf(syscall.EAGAIN), - "EALREADY": reflect.ValueOf(syscall.EALREADY), - "EBADE": reflect.ValueOf(syscall.EBADE), - "EBADF": reflect.ValueOf(syscall.EBADF), - "EBADFD": reflect.ValueOf(syscall.EBADFD), - "EBADMSG": reflect.ValueOf(syscall.EBADMSG), - "EBADR": reflect.ValueOf(syscall.EBADR), - "EBADRQC": reflect.ValueOf(syscall.EBADRQC), - "EBADSLT": reflect.ValueOf(syscall.EBADSLT), - "EBFONT": reflect.ValueOf(syscall.EBFONT), - "EBUSY": reflect.ValueOf(syscall.EBUSY), - "ECANCELED": reflect.ValueOf(syscall.ECANCELED), - "ECHILD": reflect.ValueOf(syscall.ECHILD), - "ECHRNG": reflect.ValueOf(syscall.ECHRNG), - "ECOMM": reflect.ValueOf(syscall.ECOMM), - "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), - "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), - "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), - "EDEADLK": reflect.ValueOf(syscall.EDEADLK), - "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), - "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), - "EDOM": reflect.ValueOf(syscall.EDOM), - "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), - "EDQUOT": reflect.ValueOf(syscall.EDQUOT), - "EEXIST": reflect.ValueOf(syscall.EEXIST), - "EFAULT": reflect.ValueOf(syscall.EFAULT), - "EFBIG": reflect.ValueOf(syscall.EFBIG), - "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), - "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), - "EIDRM": reflect.ValueOf(syscall.EIDRM), - "EILSEQ": reflect.ValueOf(syscall.EILSEQ), - "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), - "EINTR": reflect.ValueOf(syscall.EINTR), - "EINVAL": reflect.ValueOf(syscall.EINVAL), - "EIO": reflect.ValueOf(syscall.EIO), - "EISCONN": reflect.ValueOf(syscall.EISCONN), - "EISDIR": reflect.ValueOf(syscall.EISDIR), - "EISNAM": reflect.ValueOf(syscall.EISNAM), - "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), - "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), - "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), - "EL2HLT": reflect.ValueOf(syscall.EL2HLT), - "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), - "EL3HLT": reflect.ValueOf(syscall.EL3HLT), - "EL3RST": reflect.ValueOf(syscall.EL3RST), - "ELIBACC": reflect.ValueOf(syscall.ELIBACC), - "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), - "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), - "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), - "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), - "ELNRNG": reflect.ValueOf(syscall.ELNRNG), - "ELOOP": reflect.ValueOf(syscall.ELOOP), - "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), - "EMFILE": reflect.ValueOf(syscall.EMFILE), - "EMLINK": reflect.ValueOf(syscall.EMLINK), - "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), - "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), - "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), - "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), - "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), - "ENETRESET": reflect.ValueOf(syscall.ENETRESET), - "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), - "ENFILE": reflect.ValueOf(syscall.ENFILE), - "ENOANO": reflect.ValueOf(syscall.ENOANO), - "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), - "ENOCSI": reflect.ValueOf(syscall.ENOCSI), - "ENODATA": reflect.ValueOf(syscall.ENODATA), - "ENODEV": reflect.ValueOf(syscall.ENODEV), - "ENOENT": reflect.ValueOf(syscall.ENOENT), - "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), - "ENOKEY": reflect.ValueOf(syscall.ENOKEY), - "ENOLCK": reflect.ValueOf(syscall.ENOLCK), - "ENOLINK": reflect.ValueOf(syscall.ENOLINK), - "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), - "ENOMEM": reflect.ValueOf(syscall.ENOMEM), - "ENOMSG": reflect.ValueOf(syscall.ENOMSG), - "ENONET": reflect.ValueOf(syscall.ENONET), - "ENOPKG": reflect.ValueOf(syscall.ENOPKG), - "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), - "ENOSPC": reflect.ValueOf(syscall.ENOSPC), - "ENOSR": reflect.ValueOf(syscall.ENOSR), - "ENOSTR": reflect.ValueOf(syscall.ENOSTR), - "ENOSYS": reflect.ValueOf(syscall.ENOSYS), - "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), - "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), - "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), - "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), - "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), - "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), - "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), - "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), - "ENOTTY": reflect.ValueOf(syscall.ENOTTY), - "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), - "ENXIO": reflect.ValueOf(syscall.ENXIO), - "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), - "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), - "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), - "EPERM": reflect.ValueOf(syscall.EPERM), - "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), - "EPIPE": reflect.ValueOf(syscall.EPIPE), - "EPROTO": reflect.ValueOf(syscall.EPROTO), - "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), - "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), - "ERANGE": reflect.ValueOf(syscall.ERANGE), - "EREMCHG": reflect.ValueOf(syscall.EREMCHG), - "EREMOTE": reflect.ValueOf(syscall.EREMOTE), - "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), - "ERESTART": reflect.ValueOf(syscall.ERESTART), - "EROFS": reflect.ValueOf(syscall.EROFS), - "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), - "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), - "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), - "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), - "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), - "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), - "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), - "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), - "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), - "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), - "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), - "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), - "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), - "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), - "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), - "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), - "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), - "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), - "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), - "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), - "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), - "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), - "ESPIPE": reflect.ValueOf(syscall.ESPIPE), - "ESRCH": reflect.ValueOf(syscall.ESRCH), - "ESRMNT": reflect.ValueOf(syscall.ESRMNT), - "ESTALE": reflect.ValueOf(syscall.ESTALE), - "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), - "ETIME": reflect.ValueOf(syscall.ETIME), - "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), - "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), - "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), - "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), - "EUNATCH": reflect.ValueOf(syscall.EUNATCH), - "EUSERS": reflect.ValueOf(syscall.EUSERS), - "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), - "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), - "EXDEV": reflect.ValueOf(syscall.EXDEV), - "EXFULL": reflect.ValueOf(syscall.EXFULL), - "Environ": reflect.ValueOf(syscall.Environ), - "EscapeArg": reflect.ValueOf(syscall.EscapeArg), - "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)), - "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), - "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), - "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), - "Fchdir": reflect.ValueOf(syscall.Fchdir), - "Fchmod": reflect.ValueOf(syscall.Fchmod), - "Fchown": reflect.ValueOf(syscall.Fchown), - "FindClose": reflect.ValueOf(syscall.FindClose), - "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), - "FindNextFile": reflect.ValueOf(syscall.FindNextFile), - "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), - "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), - "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), - "FormatMessage": reflect.ValueOf(syscall.FormatMessage), - "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), - "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), - "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), - "Fsync": reflect.ValueOf(syscall.Fsync), - "Ftruncate": reflect.ValueOf(syscall.Ftruncate), - "FullPath": reflect.ValueOf(syscall.FullPath), - "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), - "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), - "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), - "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), - "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), - "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), - "GetComputerName": reflect.ValueOf(syscall.GetComputerName), - "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), - "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), - "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), - "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), - "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), - "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), - "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), - "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), - "GetFileType": reflect.ValueOf(syscall.GetFileType), - "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), - "GetHostByName": reflect.ValueOf(syscall.GetHostByName), - "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), - "GetLastError": reflect.ValueOf(syscall.GetLastError), - "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), - "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), - "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), - "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), - "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), - "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), - "GetServByName": reflect.ValueOf(syscall.GetServByName), - "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), - "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), - "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), - "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), - "GetTempPath": reflect.ValueOf(syscall.GetTempPath), - "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), - "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), - "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), - "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), - "GetVersion": reflect.ValueOf(syscall.GetVersion), - "Getegid": reflect.ValueOf(syscall.Getegid), - "Getenv": reflect.ValueOf(syscall.Getenv), - "Geteuid": reflect.ValueOf(syscall.Geteuid), - "Getgid": reflect.ValueOf(syscall.Getgid), - "Getgroups": reflect.ValueOf(syscall.Getgroups), - "Getpagesize": reflect.ValueOf(syscall.Getpagesize), - "Getpeername": reflect.ValueOf(syscall.Getpeername), - "Getpid": reflect.ValueOf(syscall.Getpid), - "Getppid": reflect.ValueOf(syscall.Getppid), - "Getsockname": reflect.ValueOf(syscall.Getsockname), - "Getsockopt": reflect.ValueOf(syscall.Getsockopt), - "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), - "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), - "Getuid": reflect.ValueOf(syscall.Getuid), - "Getwd": reflect.ValueOf(syscall.Getwd), - "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), - "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), - "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), - "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), - "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), - "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), - "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), - "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), - "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), - "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), - "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), - "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), - "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), - "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), - "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), - "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), - "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), - "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "Lchown": reflect.ValueOf(syscall.Lchown), - "Link": reflect.ValueOf(syscall.Link), - "Listen": reflect.ValueOf(syscall.Listen), - "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), - "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), - "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), - "LoadDLL": reflect.ValueOf(syscall.LoadDLL), - "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), - "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), - "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), - "LocalFree": reflect.ValueOf(syscall.LocalFree), - "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), - "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), - "LookupSID": reflect.ValueOf(syscall.LookupSID), - "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), - "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), - "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), - "Mkdir": reflect.ValueOf(syscall.Mkdir), - "MoveFile": reflect.ValueOf(syscall.MoveFile), - "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), - "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), - "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), - "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), - "NewCallback": reflect.ValueOf(syscall.NewCallback), - "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), - "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), - "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), - "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), - "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), - "Ntohs": reflect.ValueOf(syscall.Ntohs), - "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), - "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), - "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), - "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Open": reflect.ValueOf(syscall.Open), - "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), - "OpenProcess": reflect.ValueOf(syscall.OpenProcess), - "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), - "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "Pipe": reflect.ValueOf(syscall.Pipe), - "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), - "Process32First": reflect.ValueOf(syscall.Process32First), - "Process32Next": reflect.ValueOf(syscall.Process32Next), - "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "Read": reflect.ValueOf(syscall.Read), - "ReadConsole": reflect.ValueOf(syscall.ReadConsole), - "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), - "ReadFile": reflect.ValueOf(syscall.ReadFile), - "Readlink": reflect.ValueOf(syscall.Readlink), - "Recvfrom": reflect.ValueOf(syscall.Recvfrom), - "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), - "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), - "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), - "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), - "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), - "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), - "Rename": reflect.ValueOf(syscall.Rename), - "Rmdir": reflect.ValueOf(syscall.Rmdir), - "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SIGABRT": reflect.ValueOf(syscall.SIGABRT), - "SIGALRM": reflect.ValueOf(syscall.SIGALRM), - "SIGBUS": reflect.ValueOf(syscall.SIGBUS), - "SIGFPE": reflect.ValueOf(syscall.SIGFPE), - "SIGHUP": reflect.ValueOf(syscall.SIGHUP), - "SIGILL": reflect.ValueOf(syscall.SIGILL), - "SIGINT": reflect.ValueOf(syscall.SIGINT), - "SIGKILL": reflect.ValueOf(syscall.SIGKILL), - "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), - "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), - "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), - "SIGTERM": reflect.ValueOf(syscall.SIGTERM), - "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), - "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), - "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), - "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), - "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), - "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), - "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), - "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), - "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), - "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), - "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), - "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), - "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), - "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), - "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), - "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), - "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), - "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), - "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), - "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), - "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), - "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), - "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "Seek": reflect.ValueOf(syscall.Seek), - "Sendto": reflect.ValueOf(syscall.Sendto), - "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), - "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), - "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), - "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), - "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), - "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), - "SetFileTime": reflect.ValueOf(syscall.SetFileTime), - "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), - "SetNonblock": reflect.ValueOf(syscall.SetNonblock), - "Setenv": reflect.ValueOf(syscall.Setenv), - "Setsockopt": reflect.ValueOf(syscall.Setsockopt), - "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), - "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), - "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), - "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), - "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), - "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), - "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)), - "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "Socket": reflect.ValueOf(syscall.Socket), - "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), - "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), - "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), - "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), - "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), - "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), - "StringToSid": reflect.ValueOf(syscall.StringToSid), - "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), - "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), - "Symlink": reflect.ValueOf(syscall.Symlink), - "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)), - "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), - "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), - "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), - "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), - "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), - "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), - "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), - "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), - "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), - "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), - "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), - "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), - "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), - "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), - "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), - "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), - "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), - "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), - "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), - "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), - "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), - "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), - "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), - "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), - "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), - "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), - "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), - "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), - "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), - "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), - "TranslateName": reflect.ValueOf(syscall.TranslateName), - "TransmitFile": reflect.ValueOf(syscall.TransmitFile), - "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), - "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), - "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), - "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), - "Unlink": reflect.ValueOf(syscall.Unlink), - "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), - "Unsetenv": reflect.ValueOf(syscall.Unsetenv), - "Utimes": reflect.ValueOf(syscall.Utimes), - "UtimesNano": reflect.ValueOf(syscall.UtimesNano), - "VirtualLock": reflect.ValueOf(syscall.VirtualLock), - "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), - "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), - "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), - "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), - "WSACleanup": reflect.ValueOf(syscall.WSACleanup), - "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), - "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), - "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), - "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), - "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), - "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), - "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), - "WSARecv": reflect.ValueOf(syscall.WSARecv), - "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), - "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "WSASend": reflect.ValueOf(syscall.WSASend), - "WSASendTo": reflect.ValueOf(syscall.WSASendTo), - "WSASendto": reflect.ValueOf(syscall.WSASendto), - "WSAStartup": reflect.ValueOf(syscall.WSAStartup), - "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), - "Write": reflect.ValueOf(syscall.Write), - "WriteConsole": reflect.ValueOf(syscall.WriteConsole), - "WriteFile": reflect.ValueOf(syscall.WriteFile), - "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), - "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), - "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), - "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), - "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), - "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), - "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), - "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), - "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), - "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), - "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), - "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), - "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), - "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), - "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), - "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), - "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), - "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), - "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), - - // type definitions - "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), - "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), - "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), - "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), - "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), - "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), - "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), - "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), - "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), - "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), - "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), - "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), - "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), - "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), - "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), - "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), - "Conn": reflect.ValueOf((*syscall.Conn)(nil)), - "DLL": reflect.ValueOf((*syscall.DLL)(nil)), - "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), - "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), - "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), - "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), - "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), - "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), - "Errno": reflect.ValueOf((*syscall.Errno)(nil)), - "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), - "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), - "GUID": reflect.ValueOf((*syscall.GUID)(nil)), - "Handle": reflect.ValueOf((*syscall.Handle)(nil)), - "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), - "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), - "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), - "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), - "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), - "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), - "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), - "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), - "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), - "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), - "Linger": reflect.ValueOf((*syscall.Linger)(nil)), - "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), - "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), - "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), - "Proc": reflect.ValueOf((*syscall.Proc)(nil)), - "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), - "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), - "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), - "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), - "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), - "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), - "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), - "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), - "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), - "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), - "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), - "SID": reflect.ValueOf((*syscall.SID)(nil)), - "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), - "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), - "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), - "Servent": reflect.ValueOf((*syscall.Servent)(nil)), - "Signal": reflect.ValueOf((*syscall.Signal)(nil)), - "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), - "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), - "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), - "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), - "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), - "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), - "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), - "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), - "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), - "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), - "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), - "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), - "Token": reflect.ValueOf((*syscall.Token)(nil)), - "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), - "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), - "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), - "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), - "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), - "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), - "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), - "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), - "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), - "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), - "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), - - // interface wrapper definitions - "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), - "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), - "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), - } -} - -// _syscall_Conn is an interface wrapper for Conn type -type _syscall_Conn struct { - IValue interface{} - WSyscallConn func() (syscall.RawConn, error) -} - -func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { - return W.WSyscallConn() -} - -// _syscall_RawConn is an interface wrapper for RawConn type -type _syscall_RawConn struct { - IValue interface{} - WControl func(f func(fd uintptr)) error - WRead func(f func(fd uintptr) (done bool)) error - WWrite func(f func(fd uintptr) (done bool)) error -} - -func (W _syscall_RawConn) Control(f func(fd uintptr)) error { - return W.WControl(f) -} -func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { - return W.WRead(f) -} -func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { - return W.WWrite(f) -} - -// _syscall_Sockaddr is an interface wrapper for Sockaddr type -type _syscall_Sockaddr struct { - IValue interface{} -} diff --git a/stdlib/syscall/go1_17_syscall_aix_ppc64.go b/stdlib/syscall/go1_18_syscall_aix_ppc64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_aix_ppc64.go rename to stdlib/syscall/go1_18_syscall_aix_ppc64.go index 13be5328c..60eb8123d 100644 --- a/stdlib/syscall/go1_17_syscall_aix_ppc64.go +++ b/stdlib/syscall/go1_18_syscall_aix_ppc64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_android_386.go b/stdlib/syscall/go1_18_syscall_android_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_android_386.go rename to stdlib/syscall/go1_18_syscall_android_386.go index 1709b8b0f..18048c772 100644 --- a/stdlib/syscall/go1_16_syscall_android_386.go +++ b/stdlib/syscall/go1_18_syscall_android_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_17_syscall_android_amd64.go b/stdlib/syscall/go1_18_syscall_android_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_android_amd64.go rename to stdlib/syscall/go1_18_syscall_android_amd64.go index 6ffa81618..52ebe77d2 100644 --- a/stdlib/syscall/go1_17_syscall_android_amd64.go +++ b/stdlib/syscall/go1_18_syscall_android_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !linux -// +build go1.17,!linux +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_arm.go b/stdlib/syscall/go1_18_syscall_android_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_arm.go rename to stdlib/syscall/go1_18_syscall_android_arm.go index 3ff343538..5202bfcfc 100644 --- a/stdlib/syscall/go1_17_syscall_linux_arm.go +++ b/stdlib/syscall/go1_18_syscall_android_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_arm64.go b/stdlib/syscall/go1_18_syscall_android_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_arm64.go rename to stdlib/syscall/go1_18_syscall_android_arm64.go index 4f300d78b..58e02d0f7 100644 --- a/stdlib/syscall/go1_16_syscall_linux_arm64.go +++ b/stdlib/syscall/go1_18_syscall_android_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_16_syscall_darwin_amd64.go b/stdlib/syscall/go1_18_syscall_darwin_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_darwin_amd64.go rename to stdlib/syscall/go1_18_syscall_darwin_amd64.go index a4d1bf5a5..842ca1024 100644 --- a/stdlib/syscall/go1_16_syscall_darwin_amd64.go +++ b/stdlib/syscall/go1_18_syscall_darwin_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_ios_arm64.go b/stdlib/syscall/go1_18_syscall_darwin_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_ios_arm64.go rename to stdlib/syscall/go1_18_syscall_darwin_arm64.go index 25d5908fd..386f2caf2 100644 --- a/stdlib/syscall/go1_17_syscall_ios_arm64.go +++ b/stdlib/syscall/go1_18_syscall_darwin_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_dragonfly_amd64.go b/stdlib/syscall/go1_18_syscall_dragonfly_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_dragonfly_amd64.go rename to stdlib/syscall/go1_18_syscall_dragonfly_amd64.go index 1a017a074..8f916e58d 100644 --- a/stdlib/syscall/go1_16_syscall_dragonfly_amd64.go +++ b/stdlib/syscall/go1_18_syscall_dragonfly_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1037,6 +1038,7 @@ func init() { "MAP_VPAGETABLE": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), "MCL_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "MCL_FUTURE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MSG_CMSG_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), "MSG_CTRUNC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "MSG_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "MSG_DONTWAIT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), @@ -1144,6 +1146,7 @@ func init() { "ParseUnixRights": reflect.ValueOf(syscall.ParseUnixRights), "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), + "Pipe2": reflect.ValueOf(syscall.Pipe2), "Pread": reflect.ValueOf(syscall.Pread), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), @@ -1551,6 +1554,7 @@ func init() { "SYS_OPENBSD_POLL": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), "SYS_PATHCONF": reflect.ValueOf(constant.MakeFromLiteral("191", token.INT, 0)), "SYS_PIPE": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "SYS_PIPE2": reflect.ValueOf(constant.MakeFromLiteral("538", token.INT, 0)), "SYS_POLL": reflect.ValueOf(constant.MakeFromLiteral("209", token.INT, 0)), "SYS_PROFIL": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), "SYS_PSELECT": reflect.ValueOf(constant.MakeFromLiteral("499", token.INT, 0)), @@ -1660,6 +1664,7 @@ func init() { "SYS_VMSPACE_PWRITE": reflect.ValueOf(constant.MakeFromLiteral("493", token.INT, 0)), "SYS_VQUOTACTL": reflect.ValueOf(constant.MakeFromLiteral("530", token.INT, 0)), "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SYS_WAIT6": reflect.ValueOf(constant.MakeFromLiteral("548", token.INT, 0)), "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), "SYS_YIELD": reflect.ValueOf(constant.MakeFromLiteral("321", token.INT, 0)), @@ -1892,8 +1897,10 @@ func init() { "VWERASE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCONTINUED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCOREFLAG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), "WLINUXCLONE": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), "WSTOPPED": reflect.ValueOf(constant.MakeFromLiteral("127", token.INT, 0)), "WUNTRACED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "Wait4": reflect.ValueOf(syscall.Wait4), diff --git a/stdlib/syscall/go1_16_syscall_freebsd_386.go b/stdlib/syscall/go1_18_syscall_freebsd_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_freebsd_386.go rename to stdlib/syscall/go1_18_syscall_freebsd_386.go index 074e5d2ef..f81ac8819 100644 --- a/stdlib/syscall/go1_16_syscall_freebsd_386.go +++ b/stdlib/syscall/go1_18_syscall_freebsd_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_freebsd_amd64.go b/stdlib/syscall/go1_18_syscall_freebsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_freebsd_amd64.go rename to stdlib/syscall/go1_18_syscall_freebsd_amd64.go index f24be8514..27d043503 100644 --- a/stdlib/syscall/go1_16_syscall_freebsd_amd64.go +++ b/stdlib/syscall/go1_18_syscall_freebsd_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_freebsd_arm.go b/stdlib/syscall/go1_18_syscall_freebsd_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_freebsd_arm.go rename to stdlib/syscall/go1_18_syscall_freebsd_arm.go index c47b1e694..e5ed7533b 100644 --- a/stdlib/syscall/go1_17_syscall_freebsd_arm.go +++ b/stdlib/syscall/go1_18_syscall_freebsd_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_freebsd_arm64.go b/stdlib/syscall/go1_18_syscall_freebsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_freebsd_arm64.go rename to stdlib/syscall/go1_18_syscall_freebsd_arm64.go index a35eb2849..fb9b904b9 100644 --- a/stdlib/syscall/go1_16_syscall_freebsd_arm64.go +++ b/stdlib/syscall/go1_18_syscall_freebsd_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_illumos_amd64.go b/stdlib/syscall/go1_18_syscall_illumos_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_illumos_amd64.go rename to stdlib/syscall/go1_18_syscall_illumos_amd64.go index 703a5456f..5ed92442c 100644 --- a/stdlib/syscall/go1_16_syscall_illumos_amd64.go +++ b/stdlib/syscall/go1_18_syscall_illumos_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!solaris +//go:build go1.18 && !go1.19 && !solaris +// +build go1.18,!go1.19,!solaris package syscall diff --git a/stdlib/syscall/go1_17_syscall_ios_amd64.go b/stdlib/syscall/go1_18_syscall_ios_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_ios_amd64.go rename to stdlib/syscall/go1_18_syscall_ios_amd64.go index 5109e697a..842ca1024 100644 --- a/stdlib/syscall/go1_17_syscall_ios_amd64.go +++ b/stdlib/syscall/go1_18_syscall_ios_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_ios_arm64.go b/stdlib/syscall/go1_18_syscall_ios_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_ios_arm64.go rename to stdlib/syscall/go1_18_syscall_ios_arm64.go index cdb869b5f..386f2caf2 100644 --- a/stdlib/syscall/go1_16_syscall_ios_arm64.go +++ b/stdlib/syscall/go1_18_syscall_ios_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_js_wasm.go b/stdlib/syscall/go1_18_syscall_js_wasm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_js_wasm.go rename to stdlib/syscall/go1_18_syscall_js_wasm.go index 86552e194..ebae88890 100644 --- a/stdlib/syscall/go1_16_syscall_js_wasm.go +++ b/stdlib/syscall/go1_18_syscall_js_wasm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_386.go b/stdlib/syscall/go1_18_syscall_linux_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_386.go rename to stdlib/syscall/go1_18_syscall_linux_386.go index d4051c056..082f05a32 100644 --- a/stdlib/syscall/go1_16_syscall_linux_386.go +++ b/stdlib/syscall/go1_18_syscall_linux_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_amd64.go b/stdlib/syscall/go1_18_syscall_linux_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_amd64.go rename to stdlib/syscall/go1_18_syscall_linux_amd64.go index 853cfff60..f442c4a68 100644 --- a/stdlib/syscall/go1_16_syscall_linux_amd64.go +++ b/stdlib/syscall/go1_18_syscall_linux_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_android_arm.go b/stdlib/syscall/go1_18_syscall_linux_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_android_arm.go rename to stdlib/syscall/go1_18_syscall_linux_arm.go index 1ecce839c..ef399edcd 100644 --- a/stdlib/syscall/go1_17_syscall_android_arm.go +++ b/stdlib/syscall/go1_18_syscall_linux_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !linux -// +build go1.17,!linux +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_android_arm64.go b/stdlib/syscall/go1_18_syscall_linux_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_android_arm64.go rename to stdlib/syscall/go1_18_syscall_linux_arm64.go index 23ca31f6f..ec9bdf57f 100644 --- a/stdlib/syscall/go1_17_syscall_android_arm64.go +++ b/stdlib/syscall/go1_18_syscall_linux_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !linux -// +build go1.17,!linux +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_mipsle.go b/stdlib/syscall/go1_18_syscall_linux_mips.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_mipsle.go rename to stdlib/syscall/go1_18_syscall_linux_mips.go index d64306bcd..bed57a7ba 100644 --- a/stdlib/syscall/go1_17_syscall_linux_mipsle.go +++ b/stdlib/syscall/go1_18_syscall_linux_mips.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_mips64.go b/stdlib/syscall/go1_18_syscall_linux_mips64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_mips64.go rename to stdlib/syscall/go1_18_syscall_linux_mips64.go index d4c9289fc..6a7ef7558 100644 --- a/stdlib/syscall/go1_16_syscall_linux_mips64.go +++ b/stdlib/syscall/go1_18_syscall_linux_mips64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_mips64le.go b/stdlib/syscall/go1_18_syscall_linux_mips64le.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_mips64le.go rename to stdlib/syscall/go1_18_syscall_linux_mips64le.go index a862f705b..6a7ef7558 100644 --- a/stdlib/syscall/go1_17_syscall_linux_mips64le.go +++ b/stdlib/syscall/go1_18_syscall_linux_mips64le.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_mipsle.go b/stdlib/syscall/go1_18_syscall_linux_mipsle.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_mipsle.go rename to stdlib/syscall/go1_18_syscall_linux_mipsle.go index 3519748c7..bed57a7ba 100644 --- a/stdlib/syscall/go1_16_syscall_linux_mipsle.go +++ b/stdlib/syscall/go1_18_syscall_linux_mipsle.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_ppc64.go b/stdlib/syscall/go1_18_syscall_linux_ppc64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_ppc64.go rename to stdlib/syscall/go1_18_syscall_linux_ppc64.go index b60a68e1e..795463701 100644 --- a/stdlib/syscall/go1_17_syscall_linux_ppc64.go +++ b/stdlib/syscall/go1_18_syscall_linux_ppc64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_ppc64le.go b/stdlib/syscall/go1_18_syscall_linux_ppc64le.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_ppc64le.go rename to stdlib/syscall/go1_18_syscall_linux_ppc64le.go index eeef50b9c..9240040d7 100644 --- a/stdlib/syscall/go1_16_syscall_linux_ppc64le.go +++ b/stdlib/syscall/go1_18_syscall_linux_ppc64le.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_riscv64.go b/stdlib/syscall/go1_18_syscall_linux_riscv64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_riscv64.go rename to stdlib/syscall/go1_18_syscall_linux_riscv64.go index 03a4480f6..b83a6b6fc 100644 --- a/stdlib/syscall/go1_16_syscall_linux_riscv64.go +++ b/stdlib/syscall/go1_18_syscall_linux_riscv64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_s390x.go b/stdlib/syscall/go1_18_syscall_linux_s390x.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_s390x.go rename to stdlib/syscall/go1_18_syscall_linux_s390x.go index a0055ef57..261d5b549 100644 --- a/stdlib/syscall/go1_16_syscall_linux_s390x.go +++ b/stdlib/syscall/go1_18_syscall_linux_s390x.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_netbsd_386.go b/stdlib/syscall/go1_18_syscall_netbsd_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_netbsd_386.go rename to stdlib/syscall/go1_18_syscall_netbsd_386.go index 6be6bdc0b..0d3b4ff90 100644 --- a/stdlib/syscall/go1_16_syscall_netbsd_386.go +++ b/stdlib/syscall/go1_18_syscall_netbsd_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1751,6 +1752,7 @@ func init() { "SYS_VADVISE": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), "SYS_VFORK": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("449", token.INT, 0)), + "SYS_WAIT6": reflect.ValueOf(constant.MakeFromLiteral("481", token.INT, 0)), "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), "SYS__LWP_CONTINUE": reflect.ValueOf(constant.MakeFromLiteral("314", token.INT, 0)), @@ -2022,6 +2024,7 @@ func init() { "WALTSIG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCLONE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCOREFLAG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), "WNOZOMBIE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_netbsd_amd64.go b/stdlib/syscall/go1_18_syscall_netbsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_netbsd_amd64.go rename to stdlib/syscall/go1_18_syscall_netbsd_amd64.go index bbbf18ee3..156c907ac 100644 --- a/stdlib/syscall/go1_16_syscall_netbsd_amd64.go +++ b/stdlib/syscall/go1_18_syscall_netbsd_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1741,6 +1742,7 @@ func init() { "SYS_VADVISE": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), "SYS_VFORK": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("449", token.INT, 0)), + "SYS_WAIT6": reflect.ValueOf(constant.MakeFromLiteral("481", token.INT, 0)), "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), "SYS__LWP_CONTINUE": reflect.ValueOf(constant.MakeFromLiteral("314", token.INT, 0)), @@ -2012,6 +2014,7 @@ func init() { "WALTSIG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCLONE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCOREFLAG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), "WNOZOMBIE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_netbsd_arm.go b/stdlib/syscall/go1_18_syscall_netbsd_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_netbsd_arm.go rename to stdlib/syscall/go1_18_syscall_netbsd_arm.go index 18747cbfd..b544b8c63 100644 --- a/stdlib/syscall/go1_16_syscall_netbsd_arm.go +++ b/stdlib/syscall/go1_18_syscall_netbsd_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1728,6 +1729,7 @@ func init() { "SYS_VADVISE": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), "SYS_VFORK": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("449", token.INT, 0)), + "SYS_WAIT6": reflect.ValueOf(constant.MakeFromLiteral("481", token.INT, 0)), "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), "SYS__LWP_CONTINUE": reflect.ValueOf(constant.MakeFromLiteral("314", token.INT, 0)), @@ -1998,6 +2000,7 @@ func init() { "WALTSIG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCLONE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCOREFLAG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), "WNOZOMBIE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_netbsd_arm64.go b/stdlib/syscall/go1_18_syscall_netbsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_netbsd_arm64.go rename to stdlib/syscall/go1_18_syscall_netbsd_arm64.go index bbbf18ee3..156c907ac 100644 --- a/stdlib/syscall/go1_16_syscall_netbsd_arm64.go +++ b/stdlib/syscall/go1_18_syscall_netbsd_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1741,6 +1742,7 @@ func init() { "SYS_VADVISE": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), "SYS_VFORK": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("449", token.INT, 0)), + "SYS_WAIT6": reflect.ValueOf(constant.MakeFromLiteral("481", token.INT, 0)), "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), "SYS__LWP_CONTINUE": reflect.ValueOf(constant.MakeFromLiteral("314", token.INT, 0)), @@ -2012,6 +2014,7 @@ func init() { "WALTSIG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCLONE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "WCOREFLAG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), "WNOZOMBIE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_openbsd_386.go b/stdlib/syscall/go1_18_syscall_openbsd_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_openbsd_386.go rename to stdlib/syscall/go1_18_syscall_openbsd_386.go index b755bea76..d567e370d 100644 --- a/stdlib/syscall/go1_16_syscall_openbsd_386.go +++ b/stdlib/syscall/go1_18_syscall_openbsd_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1068,6 +1069,7 @@ func init() { "MCL_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "MCL_FUTURE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "MSG_BCAST": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MSG_CMSG_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "MSG_CTRUNC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "MSG_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "MSG_DONTWAIT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_openbsd_amd64.go b/stdlib/syscall/go1_18_syscall_openbsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_openbsd_amd64.go rename to stdlib/syscall/go1_18_syscall_openbsd_amd64.go index e1bb4f94f..65709fbc6 100644 --- a/stdlib/syscall/go1_16_syscall_openbsd_amd64.go +++ b/stdlib/syscall/go1_18_syscall_openbsd_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall @@ -1068,6 +1069,7 @@ func init() { "MCL_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), "MCL_FUTURE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), "MSG_BCAST": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MSG_CMSG_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), "MSG_CTRUNC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), "MSG_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), "MSG_DONTWAIT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_openbsd_arm.go b/stdlib/syscall/go1_18_syscall_openbsd_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_openbsd_arm.go rename to stdlib/syscall/go1_18_syscall_openbsd_arm.go index cab28b28c..805c24207 100644 --- a/stdlib/syscall/go1_16_syscall_openbsd_arm.go +++ b/stdlib/syscall/go1_18_syscall_openbsd_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_openbsd_arm64.go b/stdlib/syscall/go1_18_syscall_openbsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_openbsd_arm64.go rename to stdlib/syscall/go1_18_syscall_openbsd_arm64.go index 7b5e086e0..a0482def5 100644 --- a/stdlib/syscall/go1_16_syscall_openbsd_arm64.go +++ b/stdlib/syscall/go1_18_syscall_openbsd_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_openbsd_mips64.go b/stdlib/syscall/go1_18_syscall_openbsd_mips64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_openbsd_mips64.go rename to stdlib/syscall/go1_18_syscall_openbsd_mips64.go index 553b5469b..0ca46973b 100644 --- a/stdlib/syscall/go1_16_syscall_openbsd_mips64.go +++ b/stdlib/syscall/go1_18_syscall_openbsd_mips64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_plan9_arm.go b/stdlib/syscall/go1_18_syscall_plan9_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_plan9_arm.go rename to stdlib/syscall/go1_18_syscall_plan9_386.go index c5b87fd3f..f84032b0d 100644 --- a/stdlib/syscall/go1_16_syscall_plan9_arm.go +++ b/stdlib/syscall/go1_18_syscall_plan9_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_18_syscall_plan9_amd64.go b/stdlib/syscall/go1_18_syscall_plan9_amd64.go new file mode 100644 index 000000000..f84032b0d --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_plan9_amd64.go @@ -0,0 +1,244 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Await": reflect.ValueOf(syscall.Await), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "Create": reflect.ValueOf(syscall.Create), + "DMAPPEND": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "DMAUTH": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "DMDIR": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "DMEXCL": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "DMEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DMMOUNT": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "DMREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DMTMP": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "DMWRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Dup": reflect.ValueOf(syscall.Dup), + "EACCES": reflect.ValueOf(&syscall.EACCES).Elem(), + "EAFNOSUPPORT": reflect.ValueOf(&syscall.EAFNOSUPPORT).Elem(), + "EBUSY": reflect.ValueOf(&syscall.EBUSY).Elem(), + "EEXIST": reflect.ValueOf(&syscall.EEXIST).Elem(), + "EINTR": reflect.ValueOf(&syscall.EINTR).Elem(), + "EINVAL": reflect.ValueOf(&syscall.EINVAL).Elem(), + "EIO": reflect.ValueOf(&syscall.EIO).Elem(), + "EISDIR": reflect.ValueOf(&syscall.EISDIR).Elem(), + "EMFILE": reflect.ValueOf(&syscall.EMFILE).Elem(), + "ENAMETOOLONG": reflect.ValueOf(&syscall.ENAMETOOLONG).Elem(), + "ENOENT": reflect.ValueOf(&syscall.ENOENT).Elem(), + "ENOTDIR": reflect.ValueOf(&syscall.ENOTDIR).Elem(), + "EPERM": reflect.ValueOf(&syscall.EPERM).Elem(), + "EPLAN9": reflect.ValueOf(&syscall.EPLAN9).Elem(), + "ERRMAX": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "ESPIPE": reflect.ValueOf(&syscall.ESPIPE).Elem(), + "ETIMEDOUT": reflect.ValueOf(&syscall.ETIMEDOUT).Elem(), + "Environ": reflect.ValueOf(syscall.Environ), + "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), + "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), + "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fd2path": reflect.ValueOf(syscall.Fd2path), + "Fixwd": reflect.ValueOf(syscall.Fixwd), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "Fstat": reflect.ValueOf(syscall.Fstat), + "Fwstat": reflect.ValueOf(syscall.Fwstat), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "MAFTER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MBEFORE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MCACHE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MCREATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MMASK": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "MORDER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "MREPL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "Mount": reflect.ValueOf(syscall.Mount), + "NewError": reflect.ValueOf(syscall.NewError), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "Pipe": reflect.ValueOf(syscall.Pipe), + "Pread": reflect.ValueOf(syscall.Pread), + "Pwrite": reflect.ValueOf(syscall.Pwrite), + "QTAPPEND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "QTAUTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "QTDIR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "QTEXCL": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "QTFILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "QTMOUNT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "QTTMP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RFCENVG": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "RFCFDG": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "RFCNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "RFENVG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RFFDG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RFMEM": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "RFNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RFNOMNT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "RFNOTEG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "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)), + "Read": reflect.ValueOf(syscall.Read), + "Remove": reflect.ValueOf(syscall.Remove), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "STATFIXLEN": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "STATMAX": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SYS_ALARM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SYS_AWAIT": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "SYS_BIND": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SYS_BRK_": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "SYS_CHDIR": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SYS_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SYS_CREATE": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "SYS_DUP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SYS_ERRSTR": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SYS_EXEC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SYS_EXITS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SYS_FAUTH": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SYS_FD2PATH": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "SYS_FSTAT": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "SYS_FVERSION": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "SYS_FWSTAT": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "SYS_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "SYS_NOTED": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SYS_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "SYS_NSEC": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "SYS_OPEN": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "SYS_OSEEK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SYS_PIPE": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "SYS_PREAD": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "SYS_PWRITE": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "SYS_REMOVE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "SYS_RENDEZVOUS": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "SYS_RFORK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "SYS_SEEK": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "SYS_SEGATTACH": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "SYS_SEGBRK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SYS_SEGDETACH": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "SYS_SEGFLUSH": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "SYS_SEGFREE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SYS_SEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SYS_SEMRELEASE": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "SYS_SLEEP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "SYS_STAT": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "SYS_SYSR1": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SYS_TSEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "SYS_UNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SYS_WSTAT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Setenv": reflect.ValueOf(syscall.Setenv), + "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stat": reflect.ValueOf(syscall.Stat), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), + "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), + "Unmount": reflect.ValueOf(syscall.Unmount), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "WaitProcess": reflect.ValueOf(syscall.WaitProcess), + "Write": reflect.ValueOf(syscall.Write), + "Wstat": reflect.ValueOf(syscall.Wstat), + + // type definitions + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "Dir": reflect.ValueOf((*syscall.Dir)(nil)), + "ErrorString": reflect.ValueOf((*syscall.ErrorString)(nil)), + "Note": reflect.ValueOf((*syscall.Note)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "Qid": reflect.ValueOf((*syscall.Qid)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Waitmsg": reflect.ValueOf((*syscall.Waitmsg)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} diff --git a/stdlib/syscall/go1_18_syscall_plan9_arm.go b/stdlib/syscall/go1_18_syscall_plan9_arm.go new file mode 100644 index 000000000..f84032b0d --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_plan9_arm.go @@ -0,0 +1,244 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "Await": reflect.ValueOf(syscall.Await), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "Create": reflect.ValueOf(syscall.Create), + "DMAPPEND": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "DMAUTH": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "DMDIR": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "DMEXCL": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "DMEXEC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DMMOUNT": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "DMREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DMTMP": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "DMWRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Dup": reflect.ValueOf(syscall.Dup), + "EACCES": reflect.ValueOf(&syscall.EACCES).Elem(), + "EAFNOSUPPORT": reflect.ValueOf(&syscall.EAFNOSUPPORT).Elem(), + "EBUSY": reflect.ValueOf(&syscall.EBUSY).Elem(), + "EEXIST": reflect.ValueOf(&syscall.EEXIST).Elem(), + "EINTR": reflect.ValueOf(&syscall.EINTR).Elem(), + "EINVAL": reflect.ValueOf(&syscall.EINVAL).Elem(), + "EIO": reflect.ValueOf(&syscall.EIO).Elem(), + "EISDIR": reflect.ValueOf(&syscall.EISDIR).Elem(), + "EMFILE": reflect.ValueOf(&syscall.EMFILE).Elem(), + "ENAMETOOLONG": reflect.ValueOf(&syscall.ENAMETOOLONG).Elem(), + "ENOENT": reflect.ValueOf(&syscall.ENOENT).Elem(), + "ENOTDIR": reflect.ValueOf(&syscall.ENOTDIR).Elem(), + "EPERM": reflect.ValueOf(&syscall.EPERM).Elem(), + "EPLAN9": reflect.ValueOf(&syscall.EPLAN9).Elem(), + "ERRMAX": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "ESPIPE": reflect.ValueOf(&syscall.ESPIPE).Elem(), + "ETIMEDOUT": reflect.ValueOf(&syscall.ETIMEDOUT).Elem(), + "Environ": reflect.ValueOf(syscall.Environ), + "ErrBadName": reflect.ValueOf(&syscall.ErrBadName).Elem(), + "ErrBadStat": reflect.ValueOf(&syscall.ErrBadStat).Elem(), + "ErrShortStat": reflect.ValueOf(&syscall.ErrShortStat).Elem(), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fd2path": reflect.ValueOf(syscall.Fd2path), + "Fixwd": reflect.ValueOf(syscall.Fixwd), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "Fstat": reflect.ValueOf(syscall.Fstat), + "Fwstat": reflect.ValueOf(syscall.Fwstat), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "MAFTER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MBEFORE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MCACHE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MCREATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MMASK": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "MORDER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "MREPL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "Mount": reflect.ValueOf(syscall.Mount), + "NewError": reflect.ValueOf(syscall.NewError), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "Pipe": reflect.ValueOf(syscall.Pipe), + "Pread": reflect.ValueOf(syscall.Pread), + "Pwrite": reflect.ValueOf(syscall.Pwrite), + "QTAPPEND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "QTAUTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "QTDIR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "QTEXCL": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "QTFILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "QTMOUNT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "QTTMP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RFCENVG": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "RFCFDG": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "RFCNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "RFENVG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RFFDG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RFMEM": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "RFNAMEG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RFNOMNT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "RFNOTEG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "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)), + "Read": reflect.ValueOf(syscall.Read), + "Remove": reflect.ValueOf(syscall.Remove), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "STATFIXLEN": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "STATMAX": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SYS_ALARM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SYS_AWAIT": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "SYS_BIND": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SYS_BRK_": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "SYS_CHDIR": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SYS_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SYS_CREATE": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "SYS_DUP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SYS_ERRSTR": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SYS_EXEC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SYS_EXITS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SYS_FAUTH": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SYS_FD2PATH": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "SYS_FSTAT": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "SYS_FVERSION": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "SYS_FWSTAT": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "SYS_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "SYS_NOTED": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SYS_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "SYS_NSEC": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "SYS_OPEN": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "SYS_OSEEK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SYS_PIPE": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "SYS_PREAD": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "SYS_PWRITE": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "SYS_REMOVE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "SYS_RENDEZVOUS": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "SYS_RFORK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "SYS_SEEK": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "SYS_SEGATTACH": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "SYS_SEGBRK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SYS_SEGDETACH": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "SYS_SEGFLUSH": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "SYS_SEGFREE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SYS_SEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SYS_SEMRELEASE": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "SYS_SLEEP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "SYS_STAT": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "SYS_SYSR1": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SYS_TSEMACQUIRE": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "SYS_UNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SYS_WSTAT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Setenv": reflect.ValueOf(syscall.Setenv), + "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stat": reflect.ValueOf(syscall.Stat), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), + "UnmarshalDir": reflect.ValueOf(syscall.UnmarshalDir), + "Unmount": reflect.ValueOf(syscall.Unmount), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "WaitProcess": reflect.ValueOf(syscall.WaitProcess), + "Write": reflect.ValueOf(syscall.Write), + "Wstat": reflect.ValueOf(syscall.Wstat), + + // type definitions + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "Dir": reflect.ValueOf((*syscall.Dir)(nil)), + "ErrorString": reflect.ValueOf((*syscall.ErrorString)(nil)), + "Note": reflect.ValueOf((*syscall.Note)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "Qid": reflect.ValueOf((*syscall.Qid)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Waitmsg": reflect.ValueOf((*syscall.Waitmsg)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} diff --git a/stdlib/syscall/go1_16_syscall_solaris_amd64.go b/stdlib/syscall/go1_18_syscall_solaris_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_solaris_amd64.go rename to stdlib/syscall/go1_18_syscall_solaris_amd64.go index d1633e5e1..7438a5959 100644 --- a/stdlib/syscall/go1_16_syscall_solaris_amd64.go +++ b/stdlib/syscall/go1_18_syscall_solaris_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package syscall diff --git a/stdlib/syscall/go1_18_syscall_windows_386.go b/stdlib/syscall/go1_18_syscall_windows_386.go new file mode 100644 index 000000000..0038ff4d8 --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_windows_386.go @@ -0,0 +1,1037 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Accept": reflect.ValueOf(syscall.Accept), + "AcceptEx": reflect.ValueOf(syscall.AcceptEx), + "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), + "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), + "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), + "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), + "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), + "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), + "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CancelIo": reflect.ValueOf(syscall.CancelIo), + "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), + "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), + "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), + "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), + "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), + "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), + "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), + "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), + "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), + "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), + "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Chmod": reflect.ValueOf(syscall.Chmod), + "Chown": reflect.ValueOf(syscall.Chown), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "CloseHandle": reflect.ValueOf(syscall.CloseHandle), + "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), + "Closesocket": reflect.ValueOf(syscall.Closesocket), + "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), + "ComputerName": reflect.ValueOf(syscall.ComputerName), + "Connect": reflect.ValueOf(syscall.Connect), + "ConnectEx": reflect.ValueOf(syscall.ConnectEx), + "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), + "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), + "CopySid": reflect.ValueOf(syscall.CopySid), + "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), + "CreateFile": reflect.ValueOf(syscall.CreateFile), + "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), + "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), + "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), + "CreatePipe": reflect.ValueOf(syscall.CreatePipe), + "CreateProcess": reflect.ValueOf(syscall.CreateProcess), + "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), + "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), + "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), + "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), + "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), + "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), + "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), + "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), + "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), + "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), + "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), + "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), + "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), + "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DeleteFile": reflect.ValueOf(syscall.DeleteFile), + "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), + "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), + "DnsQuery": reflect.ValueOf(syscall.DnsQuery), + "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), + "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), + "E2BIG": reflect.ValueOf(syscall.E2BIG), + "EACCES": reflect.ValueOf(syscall.EACCES), + "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), + "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), + "EADV": reflect.ValueOf(syscall.EADV), + "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), + "EAGAIN": reflect.ValueOf(syscall.EAGAIN), + "EALREADY": reflect.ValueOf(syscall.EALREADY), + "EBADE": reflect.ValueOf(syscall.EBADE), + "EBADF": reflect.ValueOf(syscall.EBADF), + "EBADFD": reflect.ValueOf(syscall.EBADFD), + "EBADMSG": reflect.ValueOf(syscall.EBADMSG), + "EBADR": reflect.ValueOf(syscall.EBADR), + "EBADRQC": reflect.ValueOf(syscall.EBADRQC), + "EBADSLT": reflect.ValueOf(syscall.EBADSLT), + "EBFONT": reflect.ValueOf(syscall.EBFONT), + "EBUSY": reflect.ValueOf(syscall.EBUSY), + "ECANCELED": reflect.ValueOf(syscall.ECANCELED), + "ECHILD": reflect.ValueOf(syscall.ECHILD), + "ECHRNG": reflect.ValueOf(syscall.ECHRNG), + "ECOMM": reflect.ValueOf(syscall.ECOMM), + "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), + "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), + "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), + "EDEADLK": reflect.ValueOf(syscall.EDEADLK), + "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), + "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), + "EDOM": reflect.ValueOf(syscall.EDOM), + "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), + "EDQUOT": reflect.ValueOf(syscall.EDQUOT), + "EEXIST": reflect.ValueOf(syscall.EEXIST), + "EFAULT": reflect.ValueOf(syscall.EFAULT), + "EFBIG": reflect.ValueOf(syscall.EFBIG), + "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), + "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), + "EIDRM": reflect.ValueOf(syscall.EIDRM), + "EILSEQ": reflect.ValueOf(syscall.EILSEQ), + "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), + "EINTR": reflect.ValueOf(syscall.EINTR), + "EINVAL": reflect.ValueOf(syscall.EINVAL), + "EIO": reflect.ValueOf(syscall.EIO), + "EISCONN": reflect.ValueOf(syscall.EISCONN), + "EISDIR": reflect.ValueOf(syscall.EISDIR), + "EISNAM": reflect.ValueOf(syscall.EISNAM), + "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), + "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), + "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), + "EL2HLT": reflect.ValueOf(syscall.EL2HLT), + "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), + "EL3HLT": reflect.ValueOf(syscall.EL3HLT), + "EL3RST": reflect.ValueOf(syscall.EL3RST), + "ELIBACC": reflect.ValueOf(syscall.ELIBACC), + "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), + "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), + "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), + "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), + "ELNRNG": reflect.ValueOf(syscall.ELNRNG), + "ELOOP": reflect.ValueOf(syscall.ELOOP), + "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), + "EMFILE": reflect.ValueOf(syscall.EMFILE), + "EMLINK": reflect.ValueOf(syscall.EMLINK), + "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), + "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), + "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), + "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), + "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), + "ENETRESET": reflect.ValueOf(syscall.ENETRESET), + "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), + "ENFILE": reflect.ValueOf(syscall.ENFILE), + "ENOANO": reflect.ValueOf(syscall.ENOANO), + "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), + "ENOCSI": reflect.ValueOf(syscall.ENOCSI), + "ENODATA": reflect.ValueOf(syscall.ENODATA), + "ENODEV": reflect.ValueOf(syscall.ENODEV), + "ENOENT": reflect.ValueOf(syscall.ENOENT), + "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), + "ENOKEY": reflect.ValueOf(syscall.ENOKEY), + "ENOLCK": reflect.ValueOf(syscall.ENOLCK), + "ENOLINK": reflect.ValueOf(syscall.ENOLINK), + "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), + "ENOMEM": reflect.ValueOf(syscall.ENOMEM), + "ENOMSG": reflect.ValueOf(syscall.ENOMSG), + "ENONET": reflect.ValueOf(syscall.ENONET), + "ENOPKG": reflect.ValueOf(syscall.ENOPKG), + "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), + "ENOSPC": reflect.ValueOf(syscall.ENOSPC), + "ENOSR": reflect.ValueOf(syscall.ENOSR), + "ENOSTR": reflect.ValueOf(syscall.ENOSTR), + "ENOSYS": reflect.ValueOf(syscall.ENOSYS), + "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), + "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), + "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), + "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), + "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), + "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), + "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), + "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), + "ENOTTY": reflect.ValueOf(syscall.ENOTTY), + "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), + "ENXIO": reflect.ValueOf(syscall.ENXIO), + "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), + "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), + "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), + "EPERM": reflect.ValueOf(syscall.EPERM), + "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), + "EPIPE": reflect.ValueOf(syscall.EPIPE), + "EPROTO": reflect.ValueOf(syscall.EPROTO), + "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), + "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), + "ERANGE": reflect.ValueOf(syscall.ERANGE), + "EREMCHG": reflect.ValueOf(syscall.EREMCHG), + "EREMOTE": reflect.ValueOf(syscall.EREMOTE), + "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), + "ERESTART": reflect.ValueOf(syscall.ERESTART), + "EROFS": reflect.ValueOf(syscall.EROFS), + "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), + "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), + "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), + "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), + "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), + "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), + "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), + "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), + "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), + "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), + "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), + "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), + "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), + "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), + "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), + "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), + "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), + "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), + "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), + "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), + "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), + "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), + "ESPIPE": reflect.ValueOf(syscall.ESPIPE), + "ESRCH": reflect.ValueOf(syscall.ESRCH), + "ESRMNT": reflect.ValueOf(syscall.ESRMNT), + "ESTALE": reflect.ValueOf(syscall.ESTALE), + "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), + "ETIME": reflect.ValueOf(syscall.ETIME), + "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), + "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), + "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), + "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), + "EUNATCH": reflect.ValueOf(syscall.EUNATCH), + "EUSERS": reflect.ValueOf(syscall.EUSERS), + "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), + "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), + "EXDEV": reflect.ValueOf(syscall.EXDEV), + "EXFULL": reflect.ValueOf(syscall.EXFULL), + "Environ": reflect.ValueOf(syscall.Environ), + "EscapeArg": reflect.ValueOf(syscall.EscapeArg), + "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)), + "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fchmod": reflect.ValueOf(syscall.Fchmod), + "Fchown": reflect.ValueOf(syscall.Fchown), + "FindClose": reflect.ValueOf(syscall.FindClose), + "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), + "FindNextFile": reflect.ValueOf(syscall.FindNextFile), + "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), + "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "FormatMessage": reflect.ValueOf(syscall.FormatMessage), + "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), + "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), + "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), + "Fsync": reflect.ValueOf(syscall.Fsync), + "Ftruncate": reflect.ValueOf(syscall.Ftruncate), + "FullPath": reflect.ValueOf(syscall.FullPath), + "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), + "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), + "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), + "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), + "GetComputerName": reflect.ValueOf(syscall.GetComputerName), + "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), + "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), + "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), + "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), + "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), + "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), + "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), + "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), + "GetFileType": reflect.ValueOf(syscall.GetFileType), + "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), + "GetHostByName": reflect.ValueOf(syscall.GetHostByName), + "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), + "GetLastError": reflect.ValueOf(syscall.GetLastError), + "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), + "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), + "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), + "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), + "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), + "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), + "GetServByName": reflect.ValueOf(syscall.GetServByName), + "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), + "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), + "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), + "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), + "GetTempPath": reflect.ValueOf(syscall.GetTempPath), + "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), + "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), + "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), + "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), + "GetVersion": reflect.ValueOf(syscall.GetVersion), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpeername": reflect.ValueOf(syscall.Getpeername), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Getsockname": reflect.ValueOf(syscall.Getsockname), + "Getsockopt": reflect.ValueOf(syscall.Getsockopt), + "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), + "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), + "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), + "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), + "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), + "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), + "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), + "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), + "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), + "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), + "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), + "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), + "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Lchown": reflect.ValueOf(syscall.Lchown), + "Link": reflect.ValueOf(syscall.Link), + "Listen": reflect.ValueOf(syscall.Listen), + "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), + "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), + "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), + "LoadDLL": reflect.ValueOf(syscall.LoadDLL), + "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), + "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), + "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), + "LocalFree": reflect.ValueOf(syscall.LocalFree), + "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), + "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), + "LookupSID": reflect.ValueOf(syscall.LookupSID), + "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), + "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "MoveFile": reflect.ValueOf(syscall.MoveFile), + "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), + "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), + "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), + "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), + "NewCallback": reflect.ValueOf(syscall.NewCallback), + "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), + "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), + "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), + "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "Ntohs": reflect.ValueOf(syscall.Ntohs), + "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), + "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), + "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), + "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), + "OpenProcess": reflect.ValueOf(syscall.OpenProcess), + "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), + "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "Pipe": reflect.ValueOf(syscall.Pipe), + "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), + "Process32First": reflect.ValueOf(syscall.Process32First), + "Process32Next": reflect.ValueOf(syscall.Process32Next), + "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Read": reflect.ValueOf(syscall.Read), + "ReadConsole": reflect.ValueOf(syscall.ReadConsole), + "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), + "ReadFile": reflect.ValueOf(syscall.ReadFile), + "Readlink": reflect.ValueOf(syscall.Readlink), + "Recvfrom": reflect.ValueOf(syscall.Recvfrom), + "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), + "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), + "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), + "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), + "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), + "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), + "Rename": reflect.ValueOf(syscall.Rename), + "Rmdir": reflect.ValueOf(syscall.Rmdir), + "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGBUS": reflect.ValueOf(syscall.SIGBUS), + "SIGFPE": reflect.ValueOf(syscall.SIGFPE), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGILL": reflect.ValueOf(syscall.SIGILL), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), + "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), + "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), + "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), + "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), + "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), + "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), + "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), + "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), + "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), + "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), + "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), + "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), + "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), + "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), + "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), + "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), + "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Sendto": reflect.ValueOf(syscall.Sendto), + "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), + "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), + "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), + "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), + "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), + "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), + "SetFileTime": reflect.ValueOf(syscall.SetFileTime), + "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), + "SetNonblock": reflect.ValueOf(syscall.SetNonblock), + "Setenv": reflect.ValueOf(syscall.Setenv), + "Setsockopt": reflect.ValueOf(syscall.Setsockopt), + "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), + "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), + "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), + "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), + "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), + "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), + "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)), + "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "Socket": reflect.ValueOf(syscall.Socket), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringToSid": reflect.ValueOf(syscall.StringToSid), + "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), + "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), + "Symlink": reflect.ValueOf(syscall.Symlink), + "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)), + "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), + "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), + "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), + "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), + "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), + "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), + "TranslateName": reflect.ValueOf(syscall.TranslateName), + "TransmitFile": reflect.ValueOf(syscall.TransmitFile), + "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), + "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), + "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), + "Unlink": reflect.ValueOf(syscall.Unlink), + "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "Utimes": reflect.ValueOf(syscall.Utimes), + "UtimesNano": reflect.ValueOf(syscall.UtimesNano), + "VirtualLock": reflect.ValueOf(syscall.VirtualLock), + "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), + "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), + "WSACleanup": reflect.ValueOf(syscall.WSACleanup), + "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), + "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), + "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), + "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), + "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), + "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), + "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "WSARecv": reflect.ValueOf(syscall.WSARecv), + "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), + "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WSASend": reflect.ValueOf(syscall.WSASend), + "WSASendTo": reflect.ValueOf(syscall.WSASendTo), + "WSASendto": reflect.ValueOf(syscall.WSASendto), + "WSAStartup": reflect.ValueOf(syscall.WSAStartup), + "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), + "Write": reflect.ValueOf(syscall.Write), + "WriteConsole": reflect.ValueOf(syscall.WriteConsole), + "WriteFile": reflect.ValueOf(syscall.WriteFile), + "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + + // type definitions + "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), + "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), + "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), + "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), + "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), + "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), + "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), + "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), + "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), + "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), + "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), + "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), + "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), + "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), + "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), + "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "DLL": reflect.ValueOf((*syscall.DLL)(nil)), + "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), + "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), + "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), + "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), + "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), + "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), + "Errno": reflect.ValueOf((*syscall.Errno)(nil)), + "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), + "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), + "GUID": reflect.ValueOf((*syscall.GUID)(nil)), + "Handle": reflect.ValueOf((*syscall.Handle)(nil)), + "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), + "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), + "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), + "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), + "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), + "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), + "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), + "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), + "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), + "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), + "Linger": reflect.ValueOf((*syscall.Linger)(nil)), + "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), + "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), + "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), + "Proc": reflect.ValueOf((*syscall.Proc)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), + "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), + "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), + "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), + "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), + "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), + "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), + "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), + "SID": reflect.ValueOf((*syscall.SID)(nil)), + "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), + "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), + "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), + "Servent": reflect.ValueOf((*syscall.Servent)(nil)), + "Signal": reflect.ValueOf((*syscall.Signal)(nil)), + "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), + "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), + "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), + "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), + "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), + "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), + "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), + "Token": reflect.ValueOf((*syscall.Token)(nil)), + "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), + "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), + "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), + "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), + "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), + "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), + "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), + "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), + "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), + "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), + "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} + +// _syscall_Sockaddr is an interface wrapper for Sockaddr type +type _syscall_Sockaddr struct { + IValue interface{} +} diff --git a/stdlib/syscall/go1_18_syscall_windows_amd64.go b/stdlib/syscall/go1_18_syscall_windows_amd64.go new file mode 100644 index 000000000..0038ff4d8 --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_windows_amd64.go @@ -0,0 +1,1037 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Accept": reflect.ValueOf(syscall.Accept), + "AcceptEx": reflect.ValueOf(syscall.AcceptEx), + "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), + "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), + "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), + "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), + "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), + "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), + "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CancelIo": reflect.ValueOf(syscall.CancelIo), + "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), + "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), + "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), + "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), + "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), + "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), + "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), + "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), + "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), + "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), + "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Chmod": reflect.ValueOf(syscall.Chmod), + "Chown": reflect.ValueOf(syscall.Chown), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "CloseHandle": reflect.ValueOf(syscall.CloseHandle), + "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), + "Closesocket": reflect.ValueOf(syscall.Closesocket), + "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), + "ComputerName": reflect.ValueOf(syscall.ComputerName), + "Connect": reflect.ValueOf(syscall.Connect), + "ConnectEx": reflect.ValueOf(syscall.ConnectEx), + "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), + "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), + "CopySid": reflect.ValueOf(syscall.CopySid), + "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), + "CreateFile": reflect.ValueOf(syscall.CreateFile), + "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), + "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), + "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), + "CreatePipe": reflect.ValueOf(syscall.CreatePipe), + "CreateProcess": reflect.ValueOf(syscall.CreateProcess), + "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), + "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), + "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), + "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), + "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), + "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), + "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), + "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), + "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), + "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), + "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), + "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), + "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), + "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DeleteFile": reflect.ValueOf(syscall.DeleteFile), + "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), + "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), + "DnsQuery": reflect.ValueOf(syscall.DnsQuery), + "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), + "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), + "E2BIG": reflect.ValueOf(syscall.E2BIG), + "EACCES": reflect.ValueOf(syscall.EACCES), + "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), + "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), + "EADV": reflect.ValueOf(syscall.EADV), + "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), + "EAGAIN": reflect.ValueOf(syscall.EAGAIN), + "EALREADY": reflect.ValueOf(syscall.EALREADY), + "EBADE": reflect.ValueOf(syscall.EBADE), + "EBADF": reflect.ValueOf(syscall.EBADF), + "EBADFD": reflect.ValueOf(syscall.EBADFD), + "EBADMSG": reflect.ValueOf(syscall.EBADMSG), + "EBADR": reflect.ValueOf(syscall.EBADR), + "EBADRQC": reflect.ValueOf(syscall.EBADRQC), + "EBADSLT": reflect.ValueOf(syscall.EBADSLT), + "EBFONT": reflect.ValueOf(syscall.EBFONT), + "EBUSY": reflect.ValueOf(syscall.EBUSY), + "ECANCELED": reflect.ValueOf(syscall.ECANCELED), + "ECHILD": reflect.ValueOf(syscall.ECHILD), + "ECHRNG": reflect.ValueOf(syscall.ECHRNG), + "ECOMM": reflect.ValueOf(syscall.ECOMM), + "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), + "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), + "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), + "EDEADLK": reflect.ValueOf(syscall.EDEADLK), + "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), + "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), + "EDOM": reflect.ValueOf(syscall.EDOM), + "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), + "EDQUOT": reflect.ValueOf(syscall.EDQUOT), + "EEXIST": reflect.ValueOf(syscall.EEXIST), + "EFAULT": reflect.ValueOf(syscall.EFAULT), + "EFBIG": reflect.ValueOf(syscall.EFBIG), + "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), + "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), + "EIDRM": reflect.ValueOf(syscall.EIDRM), + "EILSEQ": reflect.ValueOf(syscall.EILSEQ), + "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), + "EINTR": reflect.ValueOf(syscall.EINTR), + "EINVAL": reflect.ValueOf(syscall.EINVAL), + "EIO": reflect.ValueOf(syscall.EIO), + "EISCONN": reflect.ValueOf(syscall.EISCONN), + "EISDIR": reflect.ValueOf(syscall.EISDIR), + "EISNAM": reflect.ValueOf(syscall.EISNAM), + "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), + "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), + "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), + "EL2HLT": reflect.ValueOf(syscall.EL2HLT), + "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), + "EL3HLT": reflect.ValueOf(syscall.EL3HLT), + "EL3RST": reflect.ValueOf(syscall.EL3RST), + "ELIBACC": reflect.ValueOf(syscall.ELIBACC), + "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), + "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), + "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), + "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), + "ELNRNG": reflect.ValueOf(syscall.ELNRNG), + "ELOOP": reflect.ValueOf(syscall.ELOOP), + "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), + "EMFILE": reflect.ValueOf(syscall.EMFILE), + "EMLINK": reflect.ValueOf(syscall.EMLINK), + "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), + "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), + "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), + "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), + "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), + "ENETRESET": reflect.ValueOf(syscall.ENETRESET), + "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), + "ENFILE": reflect.ValueOf(syscall.ENFILE), + "ENOANO": reflect.ValueOf(syscall.ENOANO), + "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), + "ENOCSI": reflect.ValueOf(syscall.ENOCSI), + "ENODATA": reflect.ValueOf(syscall.ENODATA), + "ENODEV": reflect.ValueOf(syscall.ENODEV), + "ENOENT": reflect.ValueOf(syscall.ENOENT), + "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), + "ENOKEY": reflect.ValueOf(syscall.ENOKEY), + "ENOLCK": reflect.ValueOf(syscall.ENOLCK), + "ENOLINK": reflect.ValueOf(syscall.ENOLINK), + "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), + "ENOMEM": reflect.ValueOf(syscall.ENOMEM), + "ENOMSG": reflect.ValueOf(syscall.ENOMSG), + "ENONET": reflect.ValueOf(syscall.ENONET), + "ENOPKG": reflect.ValueOf(syscall.ENOPKG), + "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), + "ENOSPC": reflect.ValueOf(syscall.ENOSPC), + "ENOSR": reflect.ValueOf(syscall.ENOSR), + "ENOSTR": reflect.ValueOf(syscall.ENOSTR), + "ENOSYS": reflect.ValueOf(syscall.ENOSYS), + "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), + "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), + "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), + "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), + "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), + "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), + "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), + "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), + "ENOTTY": reflect.ValueOf(syscall.ENOTTY), + "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), + "ENXIO": reflect.ValueOf(syscall.ENXIO), + "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), + "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), + "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), + "EPERM": reflect.ValueOf(syscall.EPERM), + "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), + "EPIPE": reflect.ValueOf(syscall.EPIPE), + "EPROTO": reflect.ValueOf(syscall.EPROTO), + "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), + "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), + "ERANGE": reflect.ValueOf(syscall.ERANGE), + "EREMCHG": reflect.ValueOf(syscall.EREMCHG), + "EREMOTE": reflect.ValueOf(syscall.EREMOTE), + "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), + "ERESTART": reflect.ValueOf(syscall.ERESTART), + "EROFS": reflect.ValueOf(syscall.EROFS), + "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), + "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), + "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), + "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), + "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), + "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), + "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), + "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), + "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), + "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), + "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), + "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), + "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), + "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), + "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), + "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), + "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), + "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), + "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), + "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), + "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), + "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), + "ESPIPE": reflect.ValueOf(syscall.ESPIPE), + "ESRCH": reflect.ValueOf(syscall.ESRCH), + "ESRMNT": reflect.ValueOf(syscall.ESRMNT), + "ESTALE": reflect.ValueOf(syscall.ESTALE), + "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), + "ETIME": reflect.ValueOf(syscall.ETIME), + "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), + "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), + "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), + "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), + "EUNATCH": reflect.ValueOf(syscall.EUNATCH), + "EUSERS": reflect.ValueOf(syscall.EUSERS), + "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), + "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), + "EXDEV": reflect.ValueOf(syscall.EXDEV), + "EXFULL": reflect.ValueOf(syscall.EXFULL), + "Environ": reflect.ValueOf(syscall.Environ), + "EscapeArg": reflect.ValueOf(syscall.EscapeArg), + "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)), + "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fchmod": reflect.ValueOf(syscall.Fchmod), + "Fchown": reflect.ValueOf(syscall.Fchown), + "FindClose": reflect.ValueOf(syscall.FindClose), + "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), + "FindNextFile": reflect.ValueOf(syscall.FindNextFile), + "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), + "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "FormatMessage": reflect.ValueOf(syscall.FormatMessage), + "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), + "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), + "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), + "Fsync": reflect.ValueOf(syscall.Fsync), + "Ftruncate": reflect.ValueOf(syscall.Ftruncate), + "FullPath": reflect.ValueOf(syscall.FullPath), + "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), + "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), + "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), + "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), + "GetComputerName": reflect.ValueOf(syscall.GetComputerName), + "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), + "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), + "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), + "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), + "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), + "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), + "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), + "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), + "GetFileType": reflect.ValueOf(syscall.GetFileType), + "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), + "GetHostByName": reflect.ValueOf(syscall.GetHostByName), + "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), + "GetLastError": reflect.ValueOf(syscall.GetLastError), + "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), + "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), + "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), + "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), + "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), + "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), + "GetServByName": reflect.ValueOf(syscall.GetServByName), + "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), + "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), + "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), + "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), + "GetTempPath": reflect.ValueOf(syscall.GetTempPath), + "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), + "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), + "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), + "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), + "GetVersion": reflect.ValueOf(syscall.GetVersion), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpeername": reflect.ValueOf(syscall.Getpeername), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Getsockname": reflect.ValueOf(syscall.Getsockname), + "Getsockopt": reflect.ValueOf(syscall.Getsockopt), + "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), + "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), + "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), + "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), + "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), + "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), + "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), + "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), + "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), + "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), + "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), + "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), + "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Lchown": reflect.ValueOf(syscall.Lchown), + "Link": reflect.ValueOf(syscall.Link), + "Listen": reflect.ValueOf(syscall.Listen), + "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), + "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), + "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), + "LoadDLL": reflect.ValueOf(syscall.LoadDLL), + "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), + "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), + "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), + "LocalFree": reflect.ValueOf(syscall.LocalFree), + "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), + "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), + "LookupSID": reflect.ValueOf(syscall.LookupSID), + "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), + "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "MoveFile": reflect.ValueOf(syscall.MoveFile), + "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), + "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), + "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), + "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), + "NewCallback": reflect.ValueOf(syscall.NewCallback), + "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), + "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), + "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), + "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "Ntohs": reflect.ValueOf(syscall.Ntohs), + "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), + "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), + "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), + "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), + "OpenProcess": reflect.ValueOf(syscall.OpenProcess), + "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), + "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "Pipe": reflect.ValueOf(syscall.Pipe), + "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), + "Process32First": reflect.ValueOf(syscall.Process32First), + "Process32Next": reflect.ValueOf(syscall.Process32Next), + "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Read": reflect.ValueOf(syscall.Read), + "ReadConsole": reflect.ValueOf(syscall.ReadConsole), + "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), + "ReadFile": reflect.ValueOf(syscall.ReadFile), + "Readlink": reflect.ValueOf(syscall.Readlink), + "Recvfrom": reflect.ValueOf(syscall.Recvfrom), + "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), + "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), + "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), + "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), + "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), + "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), + "Rename": reflect.ValueOf(syscall.Rename), + "Rmdir": reflect.ValueOf(syscall.Rmdir), + "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGBUS": reflect.ValueOf(syscall.SIGBUS), + "SIGFPE": reflect.ValueOf(syscall.SIGFPE), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGILL": reflect.ValueOf(syscall.SIGILL), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), + "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), + "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), + "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), + "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), + "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), + "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), + "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), + "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), + "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), + "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), + "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), + "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), + "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), + "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), + "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), + "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), + "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Sendto": reflect.ValueOf(syscall.Sendto), + "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), + "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), + "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), + "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), + "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), + "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), + "SetFileTime": reflect.ValueOf(syscall.SetFileTime), + "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), + "SetNonblock": reflect.ValueOf(syscall.SetNonblock), + "Setenv": reflect.ValueOf(syscall.Setenv), + "Setsockopt": reflect.ValueOf(syscall.Setsockopt), + "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), + "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), + "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), + "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), + "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), + "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), + "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)), + "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "Socket": reflect.ValueOf(syscall.Socket), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringToSid": reflect.ValueOf(syscall.StringToSid), + "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), + "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), + "Symlink": reflect.ValueOf(syscall.Symlink), + "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)), + "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), + "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), + "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), + "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), + "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), + "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), + "TranslateName": reflect.ValueOf(syscall.TranslateName), + "TransmitFile": reflect.ValueOf(syscall.TransmitFile), + "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), + "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), + "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), + "Unlink": reflect.ValueOf(syscall.Unlink), + "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "Utimes": reflect.ValueOf(syscall.Utimes), + "UtimesNano": reflect.ValueOf(syscall.UtimesNano), + "VirtualLock": reflect.ValueOf(syscall.VirtualLock), + "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), + "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), + "WSACleanup": reflect.ValueOf(syscall.WSACleanup), + "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), + "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), + "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), + "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), + "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), + "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), + "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "WSARecv": reflect.ValueOf(syscall.WSARecv), + "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), + "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WSASend": reflect.ValueOf(syscall.WSASend), + "WSASendTo": reflect.ValueOf(syscall.WSASendTo), + "WSASendto": reflect.ValueOf(syscall.WSASendto), + "WSAStartup": reflect.ValueOf(syscall.WSAStartup), + "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), + "Write": reflect.ValueOf(syscall.Write), + "WriteConsole": reflect.ValueOf(syscall.WriteConsole), + "WriteFile": reflect.ValueOf(syscall.WriteFile), + "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + + // type definitions + "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), + "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), + "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), + "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), + "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), + "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), + "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), + "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), + "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), + "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), + "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), + "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), + "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), + "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), + "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), + "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "DLL": reflect.ValueOf((*syscall.DLL)(nil)), + "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), + "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), + "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), + "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), + "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), + "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), + "Errno": reflect.ValueOf((*syscall.Errno)(nil)), + "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), + "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), + "GUID": reflect.ValueOf((*syscall.GUID)(nil)), + "Handle": reflect.ValueOf((*syscall.Handle)(nil)), + "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), + "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), + "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), + "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), + "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), + "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), + "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), + "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), + "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), + "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), + "Linger": reflect.ValueOf((*syscall.Linger)(nil)), + "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), + "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), + "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), + "Proc": reflect.ValueOf((*syscall.Proc)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), + "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), + "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), + "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), + "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), + "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), + "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), + "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), + "SID": reflect.ValueOf((*syscall.SID)(nil)), + "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), + "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), + "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), + "Servent": reflect.ValueOf((*syscall.Servent)(nil)), + "Signal": reflect.ValueOf((*syscall.Signal)(nil)), + "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), + "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), + "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), + "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), + "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), + "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), + "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), + "Token": reflect.ValueOf((*syscall.Token)(nil)), + "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), + "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), + "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), + "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), + "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), + "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), + "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), + "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), + "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), + "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), + "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} + +// _syscall_Sockaddr is an interface wrapper for Sockaddr type +type _syscall_Sockaddr struct { + IValue interface{} +} diff --git a/stdlib/syscall/go1_18_syscall_windows_arm.go b/stdlib/syscall/go1_18_syscall_windows_arm.go new file mode 100644 index 000000000..0038ff4d8 --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_windows_arm.go @@ -0,0 +1,1037 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Accept": reflect.ValueOf(syscall.Accept), + "AcceptEx": reflect.ValueOf(syscall.AcceptEx), + "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), + "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), + "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), + "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), + "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), + "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), + "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CancelIo": reflect.ValueOf(syscall.CancelIo), + "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), + "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), + "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), + "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), + "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), + "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), + "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), + "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), + "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), + "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), + "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Chmod": reflect.ValueOf(syscall.Chmod), + "Chown": reflect.ValueOf(syscall.Chown), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "CloseHandle": reflect.ValueOf(syscall.CloseHandle), + "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), + "Closesocket": reflect.ValueOf(syscall.Closesocket), + "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), + "ComputerName": reflect.ValueOf(syscall.ComputerName), + "Connect": reflect.ValueOf(syscall.Connect), + "ConnectEx": reflect.ValueOf(syscall.ConnectEx), + "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), + "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), + "CopySid": reflect.ValueOf(syscall.CopySid), + "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), + "CreateFile": reflect.ValueOf(syscall.CreateFile), + "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), + "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), + "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), + "CreatePipe": reflect.ValueOf(syscall.CreatePipe), + "CreateProcess": reflect.ValueOf(syscall.CreateProcess), + "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), + "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), + "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), + "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), + "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), + "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), + "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), + "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), + "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), + "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), + "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), + "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), + "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), + "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DeleteFile": reflect.ValueOf(syscall.DeleteFile), + "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), + "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), + "DnsQuery": reflect.ValueOf(syscall.DnsQuery), + "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), + "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), + "E2BIG": reflect.ValueOf(syscall.E2BIG), + "EACCES": reflect.ValueOf(syscall.EACCES), + "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), + "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), + "EADV": reflect.ValueOf(syscall.EADV), + "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), + "EAGAIN": reflect.ValueOf(syscall.EAGAIN), + "EALREADY": reflect.ValueOf(syscall.EALREADY), + "EBADE": reflect.ValueOf(syscall.EBADE), + "EBADF": reflect.ValueOf(syscall.EBADF), + "EBADFD": reflect.ValueOf(syscall.EBADFD), + "EBADMSG": reflect.ValueOf(syscall.EBADMSG), + "EBADR": reflect.ValueOf(syscall.EBADR), + "EBADRQC": reflect.ValueOf(syscall.EBADRQC), + "EBADSLT": reflect.ValueOf(syscall.EBADSLT), + "EBFONT": reflect.ValueOf(syscall.EBFONT), + "EBUSY": reflect.ValueOf(syscall.EBUSY), + "ECANCELED": reflect.ValueOf(syscall.ECANCELED), + "ECHILD": reflect.ValueOf(syscall.ECHILD), + "ECHRNG": reflect.ValueOf(syscall.ECHRNG), + "ECOMM": reflect.ValueOf(syscall.ECOMM), + "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), + "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), + "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), + "EDEADLK": reflect.ValueOf(syscall.EDEADLK), + "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), + "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), + "EDOM": reflect.ValueOf(syscall.EDOM), + "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), + "EDQUOT": reflect.ValueOf(syscall.EDQUOT), + "EEXIST": reflect.ValueOf(syscall.EEXIST), + "EFAULT": reflect.ValueOf(syscall.EFAULT), + "EFBIG": reflect.ValueOf(syscall.EFBIG), + "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), + "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), + "EIDRM": reflect.ValueOf(syscall.EIDRM), + "EILSEQ": reflect.ValueOf(syscall.EILSEQ), + "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), + "EINTR": reflect.ValueOf(syscall.EINTR), + "EINVAL": reflect.ValueOf(syscall.EINVAL), + "EIO": reflect.ValueOf(syscall.EIO), + "EISCONN": reflect.ValueOf(syscall.EISCONN), + "EISDIR": reflect.ValueOf(syscall.EISDIR), + "EISNAM": reflect.ValueOf(syscall.EISNAM), + "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), + "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), + "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), + "EL2HLT": reflect.ValueOf(syscall.EL2HLT), + "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), + "EL3HLT": reflect.ValueOf(syscall.EL3HLT), + "EL3RST": reflect.ValueOf(syscall.EL3RST), + "ELIBACC": reflect.ValueOf(syscall.ELIBACC), + "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), + "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), + "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), + "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), + "ELNRNG": reflect.ValueOf(syscall.ELNRNG), + "ELOOP": reflect.ValueOf(syscall.ELOOP), + "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), + "EMFILE": reflect.ValueOf(syscall.EMFILE), + "EMLINK": reflect.ValueOf(syscall.EMLINK), + "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), + "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), + "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), + "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), + "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), + "ENETRESET": reflect.ValueOf(syscall.ENETRESET), + "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), + "ENFILE": reflect.ValueOf(syscall.ENFILE), + "ENOANO": reflect.ValueOf(syscall.ENOANO), + "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), + "ENOCSI": reflect.ValueOf(syscall.ENOCSI), + "ENODATA": reflect.ValueOf(syscall.ENODATA), + "ENODEV": reflect.ValueOf(syscall.ENODEV), + "ENOENT": reflect.ValueOf(syscall.ENOENT), + "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), + "ENOKEY": reflect.ValueOf(syscall.ENOKEY), + "ENOLCK": reflect.ValueOf(syscall.ENOLCK), + "ENOLINK": reflect.ValueOf(syscall.ENOLINK), + "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), + "ENOMEM": reflect.ValueOf(syscall.ENOMEM), + "ENOMSG": reflect.ValueOf(syscall.ENOMSG), + "ENONET": reflect.ValueOf(syscall.ENONET), + "ENOPKG": reflect.ValueOf(syscall.ENOPKG), + "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), + "ENOSPC": reflect.ValueOf(syscall.ENOSPC), + "ENOSR": reflect.ValueOf(syscall.ENOSR), + "ENOSTR": reflect.ValueOf(syscall.ENOSTR), + "ENOSYS": reflect.ValueOf(syscall.ENOSYS), + "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), + "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), + "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), + "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), + "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), + "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), + "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), + "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), + "ENOTTY": reflect.ValueOf(syscall.ENOTTY), + "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), + "ENXIO": reflect.ValueOf(syscall.ENXIO), + "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), + "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), + "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), + "EPERM": reflect.ValueOf(syscall.EPERM), + "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), + "EPIPE": reflect.ValueOf(syscall.EPIPE), + "EPROTO": reflect.ValueOf(syscall.EPROTO), + "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), + "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), + "ERANGE": reflect.ValueOf(syscall.ERANGE), + "EREMCHG": reflect.ValueOf(syscall.EREMCHG), + "EREMOTE": reflect.ValueOf(syscall.EREMOTE), + "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), + "ERESTART": reflect.ValueOf(syscall.ERESTART), + "EROFS": reflect.ValueOf(syscall.EROFS), + "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), + "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), + "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), + "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), + "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), + "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), + "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), + "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), + "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), + "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), + "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), + "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), + "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), + "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), + "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), + "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), + "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), + "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), + "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), + "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), + "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), + "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), + "ESPIPE": reflect.ValueOf(syscall.ESPIPE), + "ESRCH": reflect.ValueOf(syscall.ESRCH), + "ESRMNT": reflect.ValueOf(syscall.ESRMNT), + "ESTALE": reflect.ValueOf(syscall.ESTALE), + "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), + "ETIME": reflect.ValueOf(syscall.ETIME), + "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), + "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), + "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), + "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), + "EUNATCH": reflect.ValueOf(syscall.EUNATCH), + "EUSERS": reflect.ValueOf(syscall.EUSERS), + "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), + "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), + "EXDEV": reflect.ValueOf(syscall.EXDEV), + "EXFULL": reflect.ValueOf(syscall.EXFULL), + "Environ": reflect.ValueOf(syscall.Environ), + "EscapeArg": reflect.ValueOf(syscall.EscapeArg), + "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)), + "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fchmod": reflect.ValueOf(syscall.Fchmod), + "Fchown": reflect.ValueOf(syscall.Fchown), + "FindClose": reflect.ValueOf(syscall.FindClose), + "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), + "FindNextFile": reflect.ValueOf(syscall.FindNextFile), + "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), + "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "FormatMessage": reflect.ValueOf(syscall.FormatMessage), + "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), + "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), + "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), + "Fsync": reflect.ValueOf(syscall.Fsync), + "Ftruncate": reflect.ValueOf(syscall.Ftruncate), + "FullPath": reflect.ValueOf(syscall.FullPath), + "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), + "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), + "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), + "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), + "GetComputerName": reflect.ValueOf(syscall.GetComputerName), + "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), + "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), + "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), + "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), + "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), + "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), + "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), + "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), + "GetFileType": reflect.ValueOf(syscall.GetFileType), + "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), + "GetHostByName": reflect.ValueOf(syscall.GetHostByName), + "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), + "GetLastError": reflect.ValueOf(syscall.GetLastError), + "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), + "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), + "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), + "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), + "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), + "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), + "GetServByName": reflect.ValueOf(syscall.GetServByName), + "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), + "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), + "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), + "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), + "GetTempPath": reflect.ValueOf(syscall.GetTempPath), + "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), + "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), + "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), + "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), + "GetVersion": reflect.ValueOf(syscall.GetVersion), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpeername": reflect.ValueOf(syscall.Getpeername), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Getsockname": reflect.ValueOf(syscall.Getsockname), + "Getsockopt": reflect.ValueOf(syscall.Getsockopt), + "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), + "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), + "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), + "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), + "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), + "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), + "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), + "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), + "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), + "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), + "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), + "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), + "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Lchown": reflect.ValueOf(syscall.Lchown), + "Link": reflect.ValueOf(syscall.Link), + "Listen": reflect.ValueOf(syscall.Listen), + "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), + "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), + "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), + "LoadDLL": reflect.ValueOf(syscall.LoadDLL), + "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), + "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), + "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), + "LocalFree": reflect.ValueOf(syscall.LocalFree), + "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), + "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), + "LookupSID": reflect.ValueOf(syscall.LookupSID), + "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), + "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "MoveFile": reflect.ValueOf(syscall.MoveFile), + "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), + "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), + "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), + "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), + "NewCallback": reflect.ValueOf(syscall.NewCallback), + "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), + "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), + "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), + "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "Ntohs": reflect.ValueOf(syscall.Ntohs), + "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), + "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), + "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), + "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), + "OpenProcess": reflect.ValueOf(syscall.OpenProcess), + "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), + "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "Pipe": reflect.ValueOf(syscall.Pipe), + "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), + "Process32First": reflect.ValueOf(syscall.Process32First), + "Process32Next": reflect.ValueOf(syscall.Process32Next), + "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Read": reflect.ValueOf(syscall.Read), + "ReadConsole": reflect.ValueOf(syscall.ReadConsole), + "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), + "ReadFile": reflect.ValueOf(syscall.ReadFile), + "Readlink": reflect.ValueOf(syscall.Readlink), + "Recvfrom": reflect.ValueOf(syscall.Recvfrom), + "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), + "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), + "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), + "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), + "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), + "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), + "Rename": reflect.ValueOf(syscall.Rename), + "Rmdir": reflect.ValueOf(syscall.Rmdir), + "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGBUS": reflect.ValueOf(syscall.SIGBUS), + "SIGFPE": reflect.ValueOf(syscall.SIGFPE), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGILL": reflect.ValueOf(syscall.SIGILL), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), + "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), + "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), + "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), + "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), + "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), + "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), + "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), + "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), + "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), + "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), + "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), + "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), + "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), + "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), + "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), + "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), + "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Sendto": reflect.ValueOf(syscall.Sendto), + "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), + "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), + "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), + "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), + "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), + "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), + "SetFileTime": reflect.ValueOf(syscall.SetFileTime), + "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), + "SetNonblock": reflect.ValueOf(syscall.SetNonblock), + "Setenv": reflect.ValueOf(syscall.Setenv), + "Setsockopt": reflect.ValueOf(syscall.Setsockopt), + "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), + "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), + "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), + "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), + "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), + "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), + "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)), + "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "Socket": reflect.ValueOf(syscall.Socket), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringToSid": reflect.ValueOf(syscall.StringToSid), + "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), + "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), + "Symlink": reflect.ValueOf(syscall.Symlink), + "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)), + "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), + "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), + "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), + "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), + "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), + "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), + "TranslateName": reflect.ValueOf(syscall.TranslateName), + "TransmitFile": reflect.ValueOf(syscall.TransmitFile), + "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), + "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), + "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), + "Unlink": reflect.ValueOf(syscall.Unlink), + "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "Utimes": reflect.ValueOf(syscall.Utimes), + "UtimesNano": reflect.ValueOf(syscall.UtimesNano), + "VirtualLock": reflect.ValueOf(syscall.VirtualLock), + "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), + "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), + "WSACleanup": reflect.ValueOf(syscall.WSACleanup), + "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), + "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), + "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), + "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), + "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), + "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), + "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "WSARecv": reflect.ValueOf(syscall.WSARecv), + "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), + "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WSASend": reflect.ValueOf(syscall.WSASend), + "WSASendTo": reflect.ValueOf(syscall.WSASendTo), + "WSASendto": reflect.ValueOf(syscall.WSASendto), + "WSAStartup": reflect.ValueOf(syscall.WSAStartup), + "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), + "Write": reflect.ValueOf(syscall.Write), + "WriteConsole": reflect.ValueOf(syscall.WriteConsole), + "WriteFile": reflect.ValueOf(syscall.WriteFile), + "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + + // type definitions + "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), + "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), + "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), + "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), + "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), + "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), + "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), + "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), + "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), + "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), + "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), + "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), + "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), + "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), + "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), + "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "DLL": reflect.ValueOf((*syscall.DLL)(nil)), + "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), + "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), + "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), + "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), + "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), + "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), + "Errno": reflect.ValueOf((*syscall.Errno)(nil)), + "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), + "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), + "GUID": reflect.ValueOf((*syscall.GUID)(nil)), + "Handle": reflect.ValueOf((*syscall.Handle)(nil)), + "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), + "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), + "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), + "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), + "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), + "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), + "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), + "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), + "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), + "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), + "Linger": reflect.ValueOf((*syscall.Linger)(nil)), + "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), + "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), + "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), + "Proc": reflect.ValueOf((*syscall.Proc)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), + "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), + "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), + "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), + "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), + "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), + "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), + "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), + "SID": reflect.ValueOf((*syscall.SID)(nil)), + "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), + "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), + "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), + "Servent": reflect.ValueOf((*syscall.Servent)(nil)), + "Signal": reflect.ValueOf((*syscall.Signal)(nil)), + "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), + "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), + "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), + "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), + "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), + "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), + "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), + "Token": reflect.ValueOf((*syscall.Token)(nil)), + "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), + "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), + "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), + "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), + "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), + "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), + "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), + "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), + "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), + "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), + "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} + +// _syscall_Sockaddr is an interface wrapper for Sockaddr type +type _syscall_Sockaddr struct { + IValue interface{} +} diff --git a/stdlib/syscall/go1_18_syscall_windows_arm64.go b/stdlib/syscall/go1_18_syscall_windows_arm64.go new file mode 100644 index 000000000..0038ff4d8 --- /dev/null +++ b/stdlib/syscall/go1_18_syscall_windows_arm64.go @@ -0,0 +1,1037 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "AF_NETBIOS": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "AI_CANONNAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AI_NUMERICHOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "AI_PASSIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "APPLICATION_ERROR": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "AUTHTYPE_CLIENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AUTHTYPE_SERVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Accept": reflect.ValueOf(syscall.Accept), + "AcceptEx": reflect.ValueOf(syscall.AcceptEx), + "BASE_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Bind": reflect.ValueOf(syscall.Bind), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "CERT_CHAIN_POLICY_AUTHENTICODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_CHAIN_POLICY_AUTHENTICODE_TS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "CERT_CHAIN_POLICY_BASE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_CHAIN_POLICY_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CERT_CHAIN_POLICY_EV": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_CHAIN_POLICY_MICROSOFT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "CERT_CHAIN_POLICY_NT_AUTH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CERT_CHAIN_POLICY_SSL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_E_CN_NO_MATCH": reflect.ValueOf(constant.MakeFromLiteral("2148204815", token.INT, 0)), + "CERT_E_EXPIRED": reflect.ValueOf(constant.MakeFromLiteral("2148204801", token.INT, 0)), + "CERT_E_PURPOSE": reflect.ValueOf(constant.MakeFromLiteral("2148204806", token.INT, 0)), + "CERT_E_ROLE": reflect.ValueOf(constant.MakeFromLiteral("2148204803", token.INT, 0)), + "CERT_E_UNTRUSTEDROOT": reflect.ValueOf(constant.MakeFromLiteral("2148204809", token.INT, 0)), + "CERT_STORE_ADD_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_STORE_PROV_MEMORY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "CERT_TRUST_INVALID_BASIC_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CERT_TRUST_INVALID_EXTENSION": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "CERT_TRUST_INVALID_NAME_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CERT_TRUST_INVALID_POLICY_CONSTRAINTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CERT_TRUST_IS_CYCLIC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CERT_TRUST_IS_EXPLICIT_DISTRUST": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "CERT_TRUST_IS_NOT_SIGNATURE_VALID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CERT_TRUST_IS_NOT_TIME_VALID": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CERT_TRUST_IS_NOT_VALID_FOR_USAGE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CERT_TRUST_IS_OFFLINE_REVOCATION": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "CERT_TRUST_IS_REVOKED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "CERT_TRUST_IS_UNTRUSTED_ROOT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CERT_TRUST_NO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "CERT_TRUST_REVOCATION_STATUS_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CREATE_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CREATE_NEW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CREATE_NEW_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CREATE_UNICODE_ENVIRONMENT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CRYPT_DEFAULT_CONTAINER_OPTIONAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CRYPT_DELETEKEYSET": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CRYPT_MACHINE_KEYSET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CRYPT_NEWKEYSET": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "CRYPT_SILENT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CRYPT_VERIFYCONTEXT": reflect.ValueOf(constant.MakeFromLiteral("4026531840", token.INT, 0)), + "CTRL_BREAK_EVENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "CTRL_CLOSE_EVENT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "CTRL_C_EVENT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CTRL_LOGOFF_EVENT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "CTRL_SHUTDOWN_EVENT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "CancelIo": reflect.ValueOf(syscall.CancelIo), + "CancelIoEx": reflect.ValueOf(syscall.CancelIoEx), + "CertAddCertificateContextToStore": reflect.ValueOf(syscall.CertAddCertificateContextToStore), + "CertCloseStore": reflect.ValueOf(syscall.CertCloseStore), + "CertCreateCertificateContext": reflect.ValueOf(syscall.CertCreateCertificateContext), + "CertEnumCertificatesInStore": reflect.ValueOf(syscall.CertEnumCertificatesInStore), + "CertFreeCertificateChain": reflect.ValueOf(syscall.CertFreeCertificateChain), + "CertFreeCertificateContext": reflect.ValueOf(syscall.CertFreeCertificateContext), + "CertGetCertificateChain": reflect.ValueOf(syscall.CertGetCertificateChain), + "CertOpenStore": reflect.ValueOf(syscall.CertOpenStore), + "CertOpenSystemStore": reflect.ValueOf(syscall.CertOpenSystemStore), + "CertVerifyCertificateChainPolicy": reflect.ValueOf(syscall.CertVerifyCertificateChainPolicy), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Chmod": reflect.ValueOf(syscall.Chmod), + "Chown": reflect.ValueOf(syscall.Chown), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "CloseHandle": reflect.ValueOf(syscall.CloseHandle), + "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), + "Closesocket": reflect.ValueOf(syscall.Closesocket), + "CommandLineToArgv": reflect.ValueOf(syscall.CommandLineToArgv), + "ComputerName": reflect.ValueOf(syscall.ComputerName), + "Connect": reflect.ValueOf(syscall.Connect), + "ConnectEx": reflect.ValueOf(syscall.ConnectEx), + "ConvertSidToStringSid": reflect.ValueOf(syscall.ConvertSidToStringSid), + "ConvertStringSidToSid": reflect.ValueOf(syscall.ConvertStringSidToSid), + "CopySid": reflect.ValueOf(syscall.CopySid), + "CreateDirectory": reflect.ValueOf(syscall.CreateDirectory), + "CreateFile": reflect.ValueOf(syscall.CreateFile), + "CreateFileMapping": reflect.ValueOf(syscall.CreateFileMapping), + "CreateHardLink": reflect.ValueOf(syscall.CreateHardLink), + "CreateIoCompletionPort": reflect.ValueOf(syscall.CreateIoCompletionPort), + "CreatePipe": reflect.ValueOf(syscall.CreatePipe), + "CreateProcess": reflect.ValueOf(syscall.CreateProcess), + "CreateProcessAsUser": reflect.ValueOf(syscall.CreateProcessAsUser), + "CreateSymbolicLink": reflect.ValueOf(syscall.CreateSymbolicLink), + "CreateToolhelp32Snapshot": reflect.ValueOf(syscall.CreateToolhelp32Snapshot), + "CryptAcquireContext": reflect.ValueOf(syscall.CryptAcquireContext), + "CryptGenRandom": reflect.ValueOf(syscall.CryptGenRandom), + "CryptReleaseContext": reflect.ValueOf(syscall.CryptReleaseContext), + "DNS_INFO_NO_RECORDS": reflect.ValueOf(constant.MakeFromLiteral("9501", token.INT, 0)), + "DNS_TYPE_A": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DNS_TYPE_A6": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "DNS_TYPE_AAAA": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "DNS_TYPE_ADDRS": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), + "DNS_TYPE_AFSDB": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "DNS_TYPE_ALL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ANY": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "DNS_TYPE_ATMA": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "DNS_TYPE_AXFR": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), + "DNS_TYPE_CERT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "DNS_TYPE_CNAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "DNS_TYPE_DHCID": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "DNS_TYPE_DNAME": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "DNS_TYPE_DNSKEY": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "DNS_TYPE_DS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "DNS_TYPE_EID": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "DNS_TYPE_GID": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "DNS_TYPE_GPOS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "DNS_TYPE_HINFO": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "DNS_TYPE_ISDN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "DNS_TYPE_IXFR": reflect.ValueOf(constant.MakeFromLiteral("251", token.INT, 0)), + "DNS_TYPE_KEY": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "DNS_TYPE_KX": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "DNS_TYPE_LOC": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "DNS_TYPE_MAILA": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "DNS_TYPE_MAILB": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "DNS_TYPE_MB": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "DNS_TYPE_MD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DNS_TYPE_MF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DNS_TYPE_MG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "DNS_TYPE_MINFO": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "DNS_TYPE_MR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "DNS_TYPE_MX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "DNS_TYPE_NAPTR": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "DNS_TYPE_NBSTAT": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_NIMLOC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "DNS_TYPE_NS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DNS_TYPE_NSAP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "DNS_TYPE_NSAPPTR": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "DNS_TYPE_NSEC": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "DNS_TYPE_NULL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "DNS_TYPE_NXT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "DNS_TYPE_OPT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "DNS_TYPE_PTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "DNS_TYPE_PX": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "DNS_TYPE_RP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "DNS_TYPE_RRSIG": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "DNS_TYPE_RT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "DNS_TYPE_SIG": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "DNS_TYPE_SINK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "DNS_TYPE_SOA": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "DNS_TYPE_SRV": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "DNS_TYPE_TEXT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "DNS_TYPE_TKEY": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), + "DNS_TYPE_TSIG": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), + "DNS_TYPE_UID": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "DNS_TYPE_UINFO": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "DNS_TYPE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "DNS_TYPE_WINS": reflect.ValueOf(constant.MakeFromLiteral("65281", token.INT, 0)), + "DNS_TYPE_WINSR": reflect.ValueOf(constant.MakeFromLiteral("65282", token.INT, 0)), + "DNS_TYPE_WKS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "DNS_TYPE_X25": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "DUPLICATE_CLOSE_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DUPLICATE_SAME_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DeleteFile": reflect.ValueOf(syscall.DeleteFile), + "DeviceIoControl": reflect.ValueOf(syscall.DeviceIoControl), + "DnsNameCompare": reflect.ValueOf(syscall.DnsNameCompare), + "DnsQuery": reflect.ValueOf(syscall.DnsQuery), + "DnsRecordListFree": reflect.ValueOf(syscall.DnsRecordListFree), + "DnsSectionAdditional": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "DnsSectionAnswer": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DnsSectionAuthority": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DnsSectionQuestion": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "DuplicateHandle": reflect.ValueOf(syscall.DuplicateHandle), + "E2BIG": reflect.ValueOf(syscall.E2BIG), + "EACCES": reflect.ValueOf(syscall.EACCES), + "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), + "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), + "EADV": reflect.ValueOf(syscall.EADV), + "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), + "EAGAIN": reflect.ValueOf(syscall.EAGAIN), + "EALREADY": reflect.ValueOf(syscall.EALREADY), + "EBADE": reflect.ValueOf(syscall.EBADE), + "EBADF": reflect.ValueOf(syscall.EBADF), + "EBADFD": reflect.ValueOf(syscall.EBADFD), + "EBADMSG": reflect.ValueOf(syscall.EBADMSG), + "EBADR": reflect.ValueOf(syscall.EBADR), + "EBADRQC": reflect.ValueOf(syscall.EBADRQC), + "EBADSLT": reflect.ValueOf(syscall.EBADSLT), + "EBFONT": reflect.ValueOf(syscall.EBFONT), + "EBUSY": reflect.ValueOf(syscall.EBUSY), + "ECANCELED": reflect.ValueOf(syscall.ECANCELED), + "ECHILD": reflect.ValueOf(syscall.ECHILD), + "ECHRNG": reflect.ValueOf(syscall.ECHRNG), + "ECOMM": reflect.ValueOf(syscall.ECOMM), + "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), + "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), + "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), + "EDEADLK": reflect.ValueOf(syscall.EDEADLK), + "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), + "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), + "EDOM": reflect.ValueOf(syscall.EDOM), + "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), + "EDQUOT": reflect.ValueOf(syscall.EDQUOT), + "EEXIST": reflect.ValueOf(syscall.EEXIST), + "EFAULT": reflect.ValueOf(syscall.EFAULT), + "EFBIG": reflect.ValueOf(syscall.EFBIG), + "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), + "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), + "EIDRM": reflect.ValueOf(syscall.EIDRM), + "EILSEQ": reflect.ValueOf(syscall.EILSEQ), + "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), + "EINTR": reflect.ValueOf(syscall.EINTR), + "EINVAL": reflect.ValueOf(syscall.EINVAL), + "EIO": reflect.ValueOf(syscall.EIO), + "EISCONN": reflect.ValueOf(syscall.EISCONN), + "EISDIR": reflect.ValueOf(syscall.EISDIR), + "EISNAM": reflect.ValueOf(syscall.EISNAM), + "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), + "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), + "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), + "EL2HLT": reflect.ValueOf(syscall.EL2HLT), + "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), + "EL3HLT": reflect.ValueOf(syscall.EL3HLT), + "EL3RST": reflect.ValueOf(syscall.EL3RST), + "ELIBACC": reflect.ValueOf(syscall.ELIBACC), + "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), + "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), + "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), + "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), + "ELNRNG": reflect.ValueOf(syscall.ELNRNG), + "ELOOP": reflect.ValueOf(syscall.ELOOP), + "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), + "EMFILE": reflect.ValueOf(syscall.EMFILE), + "EMLINK": reflect.ValueOf(syscall.EMLINK), + "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), + "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), + "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), + "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), + "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), + "ENETRESET": reflect.ValueOf(syscall.ENETRESET), + "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), + "ENFILE": reflect.ValueOf(syscall.ENFILE), + "ENOANO": reflect.ValueOf(syscall.ENOANO), + "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), + "ENOCSI": reflect.ValueOf(syscall.ENOCSI), + "ENODATA": reflect.ValueOf(syscall.ENODATA), + "ENODEV": reflect.ValueOf(syscall.ENODEV), + "ENOENT": reflect.ValueOf(syscall.ENOENT), + "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), + "ENOKEY": reflect.ValueOf(syscall.ENOKEY), + "ENOLCK": reflect.ValueOf(syscall.ENOLCK), + "ENOLINK": reflect.ValueOf(syscall.ENOLINK), + "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), + "ENOMEM": reflect.ValueOf(syscall.ENOMEM), + "ENOMSG": reflect.ValueOf(syscall.ENOMSG), + "ENONET": reflect.ValueOf(syscall.ENONET), + "ENOPKG": reflect.ValueOf(syscall.ENOPKG), + "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), + "ENOSPC": reflect.ValueOf(syscall.ENOSPC), + "ENOSR": reflect.ValueOf(syscall.ENOSR), + "ENOSTR": reflect.ValueOf(syscall.ENOSTR), + "ENOSYS": reflect.ValueOf(syscall.ENOSYS), + "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), + "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), + "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), + "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), + "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), + "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), + "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), + "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), + "ENOTTY": reflect.ValueOf(syscall.ENOTTY), + "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), + "ENXIO": reflect.ValueOf(syscall.ENXIO), + "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), + "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), + "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), + "EPERM": reflect.ValueOf(syscall.EPERM), + "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), + "EPIPE": reflect.ValueOf(syscall.EPIPE), + "EPROTO": reflect.ValueOf(syscall.EPROTO), + "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), + "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), + "ERANGE": reflect.ValueOf(syscall.ERANGE), + "EREMCHG": reflect.ValueOf(syscall.EREMCHG), + "EREMOTE": reflect.ValueOf(syscall.EREMOTE), + "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), + "ERESTART": reflect.ValueOf(syscall.ERESTART), + "EROFS": reflect.ValueOf(syscall.EROFS), + "ERROR_ACCESS_DENIED": reflect.ValueOf(syscall.ERROR_ACCESS_DENIED), + "ERROR_ALREADY_EXISTS": reflect.ValueOf(syscall.ERROR_ALREADY_EXISTS), + "ERROR_BROKEN_PIPE": reflect.ValueOf(syscall.ERROR_BROKEN_PIPE), + "ERROR_BUFFER_OVERFLOW": reflect.ValueOf(syscall.ERROR_BUFFER_OVERFLOW), + "ERROR_DIR_NOT_EMPTY": reflect.ValueOf(syscall.ERROR_DIR_NOT_EMPTY), + "ERROR_ENVVAR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_ENVVAR_NOT_FOUND), + "ERROR_FILE_EXISTS": reflect.ValueOf(syscall.ERROR_FILE_EXISTS), + "ERROR_FILE_NOT_FOUND": reflect.ValueOf(syscall.ERROR_FILE_NOT_FOUND), + "ERROR_HANDLE_EOF": reflect.ValueOf(syscall.ERROR_HANDLE_EOF), + "ERROR_INSUFFICIENT_BUFFER": reflect.ValueOf(syscall.ERROR_INSUFFICIENT_BUFFER), + "ERROR_IO_PENDING": reflect.ValueOf(syscall.ERROR_IO_PENDING), + "ERROR_MOD_NOT_FOUND": reflect.ValueOf(syscall.ERROR_MOD_NOT_FOUND), + "ERROR_MORE_DATA": reflect.ValueOf(syscall.ERROR_MORE_DATA), + "ERROR_NETNAME_DELETED": reflect.ValueOf(syscall.ERROR_NETNAME_DELETED), + "ERROR_NOT_FOUND": reflect.ValueOf(syscall.ERROR_NOT_FOUND), + "ERROR_NO_MORE_FILES": reflect.ValueOf(syscall.ERROR_NO_MORE_FILES), + "ERROR_OPERATION_ABORTED": reflect.ValueOf(syscall.ERROR_OPERATION_ABORTED), + "ERROR_PATH_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PATH_NOT_FOUND), + "ERROR_PRIVILEGE_NOT_HELD": reflect.ValueOf(syscall.ERROR_PRIVILEGE_NOT_HELD), + "ERROR_PROC_NOT_FOUND": reflect.ValueOf(syscall.ERROR_PROC_NOT_FOUND), + "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), + "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), + "ESPIPE": reflect.ValueOf(syscall.ESPIPE), + "ESRCH": reflect.ValueOf(syscall.ESRCH), + "ESRMNT": reflect.ValueOf(syscall.ESRMNT), + "ESTALE": reflect.ValueOf(syscall.ESTALE), + "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), + "ETIME": reflect.ValueOf(syscall.ETIME), + "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), + "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), + "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), + "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), + "EUNATCH": reflect.ValueOf(syscall.EUNATCH), + "EUSERS": reflect.ValueOf(syscall.EUSERS), + "EWINDOWS": reflect.ValueOf(syscall.EWINDOWS), + "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), + "EXDEV": reflect.ValueOf(syscall.EXDEV), + "EXFULL": reflect.ValueOf(syscall.EXFULL), + "Environ": reflect.ValueOf(syscall.Environ), + "EscapeArg": reflect.ValueOf(syscall.EscapeArg), + "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)), + "FILE_ACTION_RENAMED_NEW_NAME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "FILE_ACTION_RENAMED_OLD_NAME": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_APPEND_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_ATTRIBUTE_ARCHIVE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_ATTRIBUTE_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_ATTRIBUTE_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_ATTRIBUTE_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "FILE_ATTRIBUTE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_ATTRIBUTE_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FILE_ATTRIBUTE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_BEGIN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_END": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_FLAG_BACKUP_SEMANTICS": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "FILE_FLAG_OPEN_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "FILE_FLAG_OVERLAPPED": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "FILE_LIST_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_COPY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_MAP_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_MAP_READ": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_MAP_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_NOTIFY_CHANGE_CREATION": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "FILE_NOTIFY_CHANGE_DIR_NAME": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_NOTIFY_CHANGE_FILE_NAME": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "FILE_NOTIFY_CHANGE_LAST_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "FILE_NOTIFY_CHANGE_SIZE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "FILE_SHARE_DELETE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "FILE_SHARE_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SHARE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_SKIP_COMPLETION_PORT_ON_SUCCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_SKIP_SET_EVENT_ON_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_CHAR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "FILE_TYPE_DISK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "FILE_TYPE_PIPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "FILE_TYPE_REMOTE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "FILE_TYPE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "FILE_WRITE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ALLOCATE_BUFFER": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "FORMAT_MESSAGE_ARGUMENT_ARRAY": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "FORMAT_MESSAGE_FROM_HMODULE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "FORMAT_MESSAGE_FROM_STRING": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "FORMAT_MESSAGE_FROM_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "FORMAT_MESSAGE_IGNORE_INSERTS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "FORMAT_MESSAGE_MAX_WIDTH_MASK": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "FSCTL_GET_REPARSE_POINT": reflect.ValueOf(constant.MakeFromLiteral("589992", token.INT, 0)), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fchmod": reflect.ValueOf(syscall.Fchmod), + "Fchown": reflect.ValueOf(syscall.Fchown), + "FindClose": reflect.ValueOf(syscall.FindClose), + "FindFirstFile": reflect.ValueOf(syscall.FindFirstFile), + "FindNextFile": reflect.ValueOf(syscall.FindNextFile), + "FlushFileBuffers": reflect.ValueOf(syscall.FlushFileBuffers), + "FlushViewOfFile": reflect.ValueOf(syscall.FlushViewOfFile), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "FormatMessage": reflect.ValueOf(syscall.FormatMessage), + "FreeAddrInfoW": reflect.ValueOf(syscall.FreeAddrInfoW), + "FreeEnvironmentStrings": reflect.ValueOf(syscall.FreeEnvironmentStrings), + "FreeLibrary": reflect.ValueOf(syscall.FreeLibrary), + "Fsync": reflect.ValueOf(syscall.Fsync), + "Ftruncate": reflect.ValueOf(syscall.Ftruncate), + "FullPath": reflect.ValueOf(syscall.FullPath), + "GENERIC_ALL": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "GENERIC_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "GENERIC_READ": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "GENERIC_WRITE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "GetAcceptExSockaddrs": reflect.ValueOf(syscall.GetAcceptExSockaddrs), + "GetAdaptersInfo": reflect.ValueOf(syscall.GetAdaptersInfo), + "GetAddrInfoW": reflect.ValueOf(syscall.GetAddrInfoW), + "GetCommandLine": reflect.ValueOf(syscall.GetCommandLine), + "GetComputerName": reflect.ValueOf(syscall.GetComputerName), + "GetConsoleMode": reflect.ValueOf(syscall.GetConsoleMode), + "GetCurrentDirectory": reflect.ValueOf(syscall.GetCurrentDirectory), + "GetCurrentProcess": reflect.ValueOf(syscall.GetCurrentProcess), + "GetEnvironmentStrings": reflect.ValueOf(syscall.GetEnvironmentStrings), + "GetEnvironmentVariable": reflect.ValueOf(syscall.GetEnvironmentVariable), + "GetFileAttributes": reflect.ValueOf(syscall.GetFileAttributes), + "GetFileAttributesEx": reflect.ValueOf(syscall.GetFileAttributesEx), + "GetFileExInfoStandard": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "GetFileExMaxInfoLevel": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "GetFileInformationByHandle": reflect.ValueOf(syscall.GetFileInformationByHandle), + "GetFileType": reflect.ValueOf(syscall.GetFileType), + "GetFullPathName": reflect.ValueOf(syscall.GetFullPathName), + "GetHostByName": reflect.ValueOf(syscall.GetHostByName), + "GetIfEntry": reflect.ValueOf(syscall.GetIfEntry), + "GetLastError": reflect.ValueOf(syscall.GetLastError), + "GetLengthSid": reflect.ValueOf(syscall.GetLengthSid), + "GetLongPathName": reflect.ValueOf(syscall.GetLongPathName), + "GetProcAddress": reflect.ValueOf(syscall.GetProcAddress), + "GetProcessTimes": reflect.ValueOf(syscall.GetProcessTimes), + "GetProtoByName": reflect.ValueOf(syscall.GetProtoByName), + "GetQueuedCompletionStatus": reflect.ValueOf(syscall.GetQueuedCompletionStatus), + "GetServByName": reflect.ValueOf(syscall.GetServByName), + "GetShortPathName": reflect.ValueOf(syscall.GetShortPathName), + "GetStartupInfo": reflect.ValueOf(syscall.GetStartupInfo), + "GetStdHandle": reflect.ValueOf(syscall.GetStdHandle), + "GetSystemTimeAsFileTime": reflect.ValueOf(syscall.GetSystemTimeAsFileTime), + "GetTempPath": reflect.ValueOf(syscall.GetTempPath), + "GetTimeZoneInformation": reflect.ValueOf(syscall.GetTimeZoneInformation), + "GetTokenInformation": reflect.ValueOf(syscall.GetTokenInformation), + "GetUserNameEx": reflect.ValueOf(syscall.GetUserNameEx), + "GetUserProfileDirectory": reflect.ValueOf(syscall.GetUserProfileDirectory), + "GetVersion": reflect.ValueOf(syscall.GetVersion), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpeername": reflect.ValueOf(syscall.Getpeername), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Getsockname": reflect.ValueOf(syscall.Getsockname), + "Getsockopt": reflect.ValueOf(syscall.Getsockopt), + "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "HANDLE_FLAG_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "HKEY_CLASSES_ROOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "HKEY_CURRENT_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("2147483653", token.INT, 0)), + "HKEY_CURRENT_USER": reflect.ValueOf(constant.MakeFromLiteral("2147483649", token.INT, 0)), + "HKEY_DYN_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483654", token.INT, 0)), + "HKEY_LOCAL_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("2147483650", token.INT, 0)), + "HKEY_PERFORMANCE_DATA": reflect.ValueOf(constant.MakeFromLiteral("2147483652", token.INT, 0)), + "HKEY_USERS": reflect.ValueOf(constant.MakeFromLiteral("2147483651", token.INT, 0)), + "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_POINTTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IGNORE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "INFINITE": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "INVALID_FILE_ATTRIBUTES": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "IOC_IN": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "IOC_INOUT": reflect.ValueOf(constant.MakeFromLiteral("3221225472", token.INT, 0)), + "IOC_OUT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IOC_VENDOR": reflect.ValueOf(constant.MakeFromLiteral("402653184", token.INT, 0)), + "IOC_WS2": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "IO_REPARSE_TAG_SYMLINK": reflect.ValueOf(constant.MakeFromLiteral("2684354572", token.INT, 0)), + "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "InvalidHandle": reflect.ValueOf(syscall.InvalidHandle), + "KEY_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983103", token.INT, 0)), + "KEY_CREATE_LINK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "KEY_CREATE_SUB_KEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "KEY_ENUMERATE_SUB_KEYS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "KEY_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "KEY_QUERY_VALUE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "KEY_READ": reflect.ValueOf(constant.MakeFromLiteral("131097", token.INT, 0)), + "KEY_SET_VALUE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "KEY_WOW64_32KEY": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "KEY_WOW64_64KEY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "KEY_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131078", token.INT, 0)), + "LANG_ENGLISH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "LAYERED_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "Lchown": reflect.ValueOf(syscall.Lchown), + "Link": reflect.ValueOf(syscall.Link), + "Listen": reflect.ValueOf(syscall.Listen), + "LoadCancelIoEx": reflect.ValueOf(syscall.LoadCancelIoEx), + "LoadConnectEx": reflect.ValueOf(syscall.LoadConnectEx), + "LoadCreateSymbolicLink": reflect.ValueOf(syscall.LoadCreateSymbolicLink), + "LoadDLL": reflect.ValueOf(syscall.LoadDLL), + "LoadGetAddrInfo": reflect.ValueOf(syscall.LoadGetAddrInfo), + "LoadLibrary": reflect.ValueOf(syscall.LoadLibrary), + "LoadSetFileCompletionNotificationModes": reflect.ValueOf(syscall.LoadSetFileCompletionNotificationModes), + "LocalFree": reflect.ValueOf(syscall.LocalFree), + "LookupAccountName": reflect.ValueOf(syscall.LookupAccountName), + "LookupAccountSid": reflect.ValueOf(syscall.LookupAccountSid), + "LookupSID": reflect.ValueOf(syscall.LookupSID), + "MAXIMUM_REPARSE_DATA_BUFFER_SIZE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MAXLEN_IFDESCR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAXLEN_PHYSADDR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_ADDRESS_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MAX_ADAPTER_DESCRIPTION_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MAX_ADAPTER_NAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_COMPUTERNAME_LENGTH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MAX_INTERFACE_NAME_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAX_LONG_PATH": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MAX_PATH": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "MAX_PROTOCOL_CHAIN": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "MapViewOfFile": reflect.ValueOf(syscall.MapViewOfFile), + "MaxTokenInfoClass": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "MoveFile": reflect.ValueOf(syscall.MoveFile), + "MustLoadDLL": reflect.ValueOf(syscall.MustLoadDLL), + "NameCanonical": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NameCanonicalEx": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NameDisplay": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NameDnsDomain": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NameFullyQualifiedDN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NameSamCompatible": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NameServicePrincipal": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NameUniqueId": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NameUnknown": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NameUserPrincipal": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NetApiBufferFree": reflect.ValueOf(syscall.NetApiBufferFree), + "NetGetJoinInformation": reflect.ValueOf(syscall.NetGetJoinInformation), + "NetSetupDomainName": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NetSetupUnjoined": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NetSetupUnknownStatus": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NetSetupWorkgroupName": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NetUserGetInfo": reflect.ValueOf(syscall.NetUserGetInfo), + "NewCallback": reflect.ValueOf(syscall.NewCallback), + "NewCallbackCDecl": reflect.ValueOf(syscall.NewCallbackCDecl), + "NewLazyDLL": reflect.ValueOf(syscall.NewLazyDLL), + "NsecToFiletime": reflect.ValueOf(syscall.NsecToFiletime), + "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "Ntohs": reflect.ValueOf(syscall.Ntohs), + "OID_PKIX_KP_SERVER_AUTH": reflect.ValueOf(&syscall.OID_PKIX_KP_SERVER_AUTH).Elem(), + "OID_SERVER_GATED_CRYPTO": reflect.ValueOf(&syscall.OID_SERVER_GATED_CRYPTO).Elem(), + "OID_SGC_NETSCAPE": reflect.ValueOf(&syscall.OID_SGC_NETSCAPE).Elem(), + "OPEN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "OPEN_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "OpenCurrentProcessToken": reflect.ValueOf(syscall.OpenCurrentProcessToken), + "OpenProcess": reflect.ValueOf(syscall.OpenProcess), + "OpenProcessToken": reflect.ValueOf(syscall.OpenProcessToken), + "PAGE_EXECUTE_READ": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PAGE_EXECUTE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "PAGE_EXECUTE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PAGE_READONLY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PAGE_READWRITE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PAGE_WRITECOPY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_HIDDEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PFL_MATCHES_PROTOCOL_ZERO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PFL_MULTIPLE_PROTO_ENTRIES": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PFL_NETWORKDIRECT_PROVIDER": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PFL_RECOMMENDED_PROTO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PKCS_7_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "PROCESS_QUERY_INFORMATION": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "PROCESS_TERMINATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_DH_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "PROV_DSS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PROV_DSS_DH": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PROV_EC_ECDSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PROV_EC_ECDSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PROV_EC_ECNRA_FULL": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PROV_EC_ECNRA_SIG": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PROV_FORTEZZA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PROV_INTEL_SEC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PROV_MS_EXCHANGE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PROV_REPLACE_OWF": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PROV_RNG": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PROV_RSA_AES": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PROV_RSA_FULL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROV_RSA_SCHANNEL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PROV_RSA_SIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PROV_SPYRUS_LYNKS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PROV_SSL": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "Pipe": reflect.ValueOf(syscall.Pipe), + "PostQueuedCompletionStatus": reflect.ValueOf(syscall.PostQueuedCompletionStatus), + "Process32First": reflect.ValueOf(syscall.Process32First), + "Process32Next": reflect.ValueOf(syscall.Process32Next), + "REG_BINARY": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "REG_DWORD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_DWORD_BIG_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "REG_DWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "REG_EXPAND_SZ": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "REG_FULL_RESOURCE_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "REG_LINK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "REG_MULTI_SZ": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "REG_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "REG_QWORD": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_QWORD_LITTLE_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "REG_RESOURCE_LIST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "REG_RESOURCE_REQUIREMENTS_LIST": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "REG_SZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Read": reflect.ValueOf(syscall.Read), + "ReadConsole": reflect.ValueOf(syscall.ReadConsole), + "ReadDirectoryChanges": reflect.ValueOf(syscall.ReadDirectoryChanges), + "ReadFile": reflect.ValueOf(syscall.ReadFile), + "Readlink": reflect.ValueOf(syscall.Readlink), + "Recvfrom": reflect.ValueOf(syscall.Recvfrom), + "RegCloseKey": reflect.ValueOf(syscall.RegCloseKey), + "RegEnumKeyEx": reflect.ValueOf(syscall.RegEnumKeyEx), + "RegOpenKeyEx": reflect.ValueOf(syscall.RegOpenKeyEx), + "RegQueryInfoKey": reflect.ValueOf(syscall.RegQueryInfoKey), + "RegQueryValueEx": reflect.ValueOf(syscall.RegQueryValueEx), + "RemoveDirectory": reflect.ValueOf(syscall.RemoveDirectory), + "Rename": reflect.ValueOf(syscall.Rename), + "Rmdir": reflect.ValueOf(syscall.Rmdir), + "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGBUS": reflect.ValueOf(syscall.SIGBUS), + "SIGFPE": reflect.ValueOf(syscall.SIGFPE), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGILL": reflect.ValueOf(syscall.SIGILL), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), + "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), + "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), + "SIO_GET_EXTENSION_FUNCTION_POINTER": reflect.ValueOf(constant.MakeFromLiteral("3355443206", token.INT, 0)), + "SIO_GET_INTERFACE_LIST": reflect.ValueOf(constant.MakeFromLiteral("1074033791", token.INT, 0)), + "SIO_KEEPALIVE_VALS": reflect.ValueOf(constant.MakeFromLiteral("2550136836", token.INT, 0)), + "SIO_UDP_CONNRESET": reflect.ValueOf(constant.MakeFromLiteral("2550136844", token.INT, 0)), + "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), + "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), + "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), + "SO_UPDATE_ACCEPT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28683", token.INT, 0)), + "SO_UPDATE_CONNECT_CONTEXT": reflect.ValueOf(constant.MakeFromLiteral("28688", token.INT, 0)), + "STANDARD_RIGHTS_ALL": reflect.ValueOf(constant.MakeFromLiteral("2031616", token.INT, 0)), + "STANDARD_RIGHTS_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_READ": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STANDARD_RIGHTS_REQUIRED": reflect.ValueOf(constant.MakeFromLiteral("983040", token.INT, 0)), + "STANDARD_RIGHTS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "STARTF_USESHOWWINDOW": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "STARTF_USESTDHANDLES": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "STD_ERROR_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-12", token.INT, 0)), + "STD_INPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-10", token.INT, 0)), + "STD_OUTPUT_HANDLE": reflect.ValueOf(constant.MakeFromLiteral("-11", token.INT, 0)), + "SUBLANG_ENGLISH_US": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_FORCEMINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SW_HIDE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SW_MAXIMIZE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_MINIMIZE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SW_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SW_RESTORE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SW_SHOW": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SW_SHOWDEFAULT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SW_SHOWMAXIMIZED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SW_SHOWMINIMIZED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SW_SHOWMINNOACTIVE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SW_SHOWNA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SW_SHOWNOACTIVATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SW_SHOWNORMAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYMBOLIC_LINK_FLAG_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYNCHRONIZE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("126976", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Sendto": reflect.ValueOf(syscall.Sendto), + "SetCurrentDirectory": reflect.ValueOf(syscall.SetCurrentDirectory), + "SetEndOfFile": reflect.ValueOf(syscall.SetEndOfFile), + "SetEnvironmentVariable": reflect.ValueOf(syscall.SetEnvironmentVariable), + "SetFileAttributes": reflect.ValueOf(syscall.SetFileAttributes), + "SetFileCompletionNotificationModes": reflect.ValueOf(syscall.SetFileCompletionNotificationModes), + "SetFilePointer": reflect.ValueOf(syscall.SetFilePointer), + "SetFileTime": reflect.ValueOf(syscall.SetFileTime), + "SetHandleInformation": reflect.ValueOf(syscall.SetHandleInformation), + "SetNonblock": reflect.ValueOf(syscall.SetNonblock), + "Setenv": reflect.ValueOf(syscall.Setenv), + "Setsockopt": reflect.ValueOf(syscall.Setsockopt), + "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), + "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), + "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), + "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), + "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), + "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), + "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)), + "SidTypeDomain": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SidTypeGroup": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SidTypeInvalid": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SidTypeLabel": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SidTypeUnknown": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SidTypeUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SidTypeWellKnownGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "Socket": reflect.ValueOf(syscall.Socket), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringToSid": reflect.ValueOf(syscall.StringToSid), + "StringToUTF16": reflect.ValueOf(syscall.StringToUTF16), + "StringToUTF16Ptr": reflect.ValueOf(syscall.StringToUTF16Ptr), + "Symlink": reflect.ValueOf(syscall.Symlink), + "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)), + "TF_USE_DEFAULT_WORKER": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TF_USE_KERNEL_APC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TF_USE_SYSTEM_THREAD": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TF_WRITE_BEHIND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TH32CS_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "TH32CS_SNAPALL": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TH32CS_SNAPHEAPLIST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TH32CS_SNAPMODULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TH32CS_SNAPMODULE32": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TH32CS_SNAPPROCESS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TH32CS_SNAPTHREAD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIME_ZONE_ID_DAYLIGHT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIME_ZONE_ID_STANDARD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIME_ZONE_ID_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TOKEN_ADJUST_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TOKEN_ADJUST_GROUPS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TOKEN_ADJUST_PRIVILEGES": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TOKEN_ADJUST_SESSIONID": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TOKEN_ALL_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("983551", token.INT, 0)), + "TOKEN_ASSIGN_PRIMARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TOKEN_DUPLICATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TOKEN_EXECUTE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "TOKEN_IMPERSONATE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TOKEN_QUERY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TOKEN_QUERY_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TOKEN_READ": reflect.ValueOf(constant.MakeFromLiteral("131080", token.INT, 0)), + "TOKEN_WRITE": reflect.ValueOf(constant.MakeFromLiteral("131296", token.INT, 0)), + "TRUNCATE_EXISTING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TerminateProcess": reflect.ValueOf(syscall.TerminateProcess), + "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), + "TokenAccessInformation": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "TokenAuditPolicy": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TokenDefaultDacl": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "TokenElevation": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "TokenElevationType": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "TokenGroups": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TokenGroupsAndPrivileges": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "TokenHasRestrictions": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "TokenImpersonationLevel": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "TokenIntegrityLevel": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "TokenLinkedToken": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "TokenLogonSid": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "TokenMandatoryPolicy": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "TokenOrigin": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "TokenOwner": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TokenPrimaryGroup": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TokenPrivileges": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "TokenRestrictedSids": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "TokenSandBoxInert": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TokenSessionId": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "TokenSessionReference": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TokenSource": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "TokenStatistics": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "TokenType": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TokenUIAccess": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "TokenUser": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TokenVirtualizationAllowed": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "TokenVirtualizationEnabled": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "TranslateAccountName": reflect.ValueOf(syscall.TranslateAccountName), + "TranslateName": reflect.ValueOf(syscall.TranslateName), + "TransmitFile": reflect.ValueOf(syscall.TransmitFile), + "UNIX_PATH_MAX": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "USAGE_MATCH_TYPE_AND": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "USAGE_MATCH_TYPE_OR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "UTF16FromString": reflect.ValueOf(syscall.UTF16FromString), + "UTF16PtrFromString": reflect.ValueOf(syscall.UTF16PtrFromString), + "UTF16ToString": reflect.ValueOf(syscall.UTF16ToString), + "Unlink": reflect.ValueOf(syscall.Unlink), + "UnmapViewOfFile": reflect.ValueOf(syscall.UnmapViewOfFile), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "Utimes": reflect.ValueOf(syscall.Utimes), + "UtimesNano": reflect.ValueOf(syscall.UtimesNano), + "VirtualLock": reflect.ValueOf(syscall.VirtualLock), + "VirtualUnlock": reflect.ValueOf(syscall.VirtualUnlock), + "WAIT_ABANDONED": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WAIT_FAILED": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "WAIT_OBJECT_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "WAIT_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), + "WSACleanup": reflect.ValueOf(syscall.WSACleanup), + "WSADESCRIPTION_LEN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "WSAEACCES": reflect.ValueOf(syscall.WSAEACCES), + "WSAECONNABORTED": reflect.ValueOf(syscall.WSAECONNABORTED), + "WSAECONNRESET": reflect.ValueOf(syscall.WSAECONNRESET), + "WSAEnumProtocols": reflect.ValueOf(syscall.WSAEnumProtocols), + "WSAID_CONNECTEX": reflect.ValueOf(&syscall.WSAID_CONNECTEX).Elem(), + "WSAIoctl": reflect.ValueOf(syscall.WSAIoctl), + "WSAPROTOCOL_LEN": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "WSARecv": reflect.ValueOf(syscall.WSARecv), + "WSARecvFrom": reflect.ValueOf(syscall.WSARecvFrom), + "WSASYS_STATUS_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "WSASend": reflect.ValueOf(syscall.WSASend), + "WSASendTo": reflect.ValueOf(syscall.WSASendTo), + "WSASendto": reflect.ValueOf(syscall.WSASendto), + "WSAStartup": reflect.ValueOf(syscall.WSAStartup), + "WaitForSingleObject": reflect.ValueOf(syscall.WaitForSingleObject), + "Write": reflect.ValueOf(syscall.Write), + "WriteConsole": reflect.ValueOf(syscall.WriteConsole), + "WriteFile": reflect.ValueOf(syscall.WriteFile), + "X509_ASN_ENCODING": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECTIONLESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "XP1_CONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "XP1_DISCONNECT_DATA": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "XP1_EXPEDITED_DATA": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "XP1_GRACEFUL_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "XP1_GUARANTEED_DELIVERY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "XP1_GUARANTEED_ORDER": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "XP1_IFS_HANDLES": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "XP1_MESSAGE_ORIENTED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "XP1_MULTIPOINT_CONTROL_PLANE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "XP1_MULTIPOINT_DATA_PLANE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "XP1_PARTIAL_MESSAGE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "XP1_PSEUDO_STREAM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "XP1_QOS_SUPPORTED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "XP1_SAN_SUPPORT_SDP": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "XP1_SUPPORT_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "XP1_SUPPORT_MULTIPOINT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "XP1_UNI_RECV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "XP1_UNI_SEND": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + + // type definitions + "AddrinfoW": reflect.ValueOf((*syscall.AddrinfoW)(nil)), + "ByHandleFileInformation": reflect.ValueOf((*syscall.ByHandleFileInformation)(nil)), + "CertChainContext": reflect.ValueOf((*syscall.CertChainContext)(nil)), + "CertChainElement": reflect.ValueOf((*syscall.CertChainElement)(nil)), + "CertChainPara": reflect.ValueOf((*syscall.CertChainPara)(nil)), + "CertChainPolicyPara": reflect.ValueOf((*syscall.CertChainPolicyPara)(nil)), + "CertChainPolicyStatus": reflect.ValueOf((*syscall.CertChainPolicyStatus)(nil)), + "CertContext": reflect.ValueOf((*syscall.CertContext)(nil)), + "CertEnhKeyUsage": reflect.ValueOf((*syscall.CertEnhKeyUsage)(nil)), + "CertInfo": reflect.ValueOf((*syscall.CertInfo)(nil)), + "CertRevocationCrlInfo": reflect.ValueOf((*syscall.CertRevocationCrlInfo)(nil)), + "CertRevocationInfo": reflect.ValueOf((*syscall.CertRevocationInfo)(nil)), + "CertSimpleChain": reflect.ValueOf((*syscall.CertSimpleChain)(nil)), + "CertTrustListInfo": reflect.ValueOf((*syscall.CertTrustListInfo)(nil)), + "CertTrustStatus": reflect.ValueOf((*syscall.CertTrustStatus)(nil)), + "CertUsageMatch": reflect.ValueOf((*syscall.CertUsageMatch)(nil)), + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "DLL": reflect.ValueOf((*syscall.DLL)(nil)), + "DLLError": reflect.ValueOf((*syscall.DLLError)(nil)), + "DNSMXData": reflect.ValueOf((*syscall.DNSMXData)(nil)), + "DNSPTRData": reflect.ValueOf((*syscall.DNSPTRData)(nil)), + "DNSRecord": reflect.ValueOf((*syscall.DNSRecord)(nil)), + "DNSSRVData": reflect.ValueOf((*syscall.DNSSRVData)(nil)), + "DNSTXTData": reflect.ValueOf((*syscall.DNSTXTData)(nil)), + "Errno": reflect.ValueOf((*syscall.Errno)(nil)), + "FileNotifyInformation": reflect.ValueOf((*syscall.FileNotifyInformation)(nil)), + "Filetime": reflect.ValueOf((*syscall.Filetime)(nil)), + "GUID": reflect.ValueOf((*syscall.GUID)(nil)), + "Handle": reflect.ValueOf((*syscall.Handle)(nil)), + "Hostent": reflect.ValueOf((*syscall.Hostent)(nil)), + "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), + "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), + "InterfaceInfo": reflect.ValueOf((*syscall.InterfaceInfo)(nil)), + "IpAdapterInfo": reflect.ValueOf((*syscall.IpAdapterInfo)(nil)), + "IpAddrString": reflect.ValueOf((*syscall.IpAddrString)(nil)), + "IpAddressString": reflect.ValueOf((*syscall.IpAddressString)(nil)), + "IpMaskString": reflect.ValueOf((*syscall.IpMaskString)(nil)), + "LazyDLL": reflect.ValueOf((*syscall.LazyDLL)(nil)), + "LazyProc": reflect.ValueOf((*syscall.LazyProc)(nil)), + "Linger": reflect.ValueOf((*syscall.Linger)(nil)), + "MibIfRow": reflect.ValueOf((*syscall.MibIfRow)(nil)), + "Overlapped": reflect.ValueOf((*syscall.Overlapped)(nil)), + "Pointer": reflect.ValueOf((*syscall.Pointer)(nil)), + "Proc": reflect.ValueOf((*syscall.Proc)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "ProcessEntry32": reflect.ValueOf((*syscall.ProcessEntry32)(nil)), + "ProcessInformation": reflect.ValueOf((*syscall.ProcessInformation)(nil)), + "Protoent": reflect.ValueOf((*syscall.Protoent)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), + "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), + "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), + "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), + "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), + "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), + "SID": reflect.ValueOf((*syscall.SID)(nil)), + "SIDAndAttributes": reflect.ValueOf((*syscall.SIDAndAttributes)(nil)), + "SSLExtraCertChainPolicyPara": reflect.ValueOf((*syscall.SSLExtraCertChainPolicyPara)(nil)), + "SecurityAttributes": reflect.ValueOf((*syscall.SecurityAttributes)(nil)), + "Servent": reflect.ValueOf((*syscall.Servent)(nil)), + "Signal": reflect.ValueOf((*syscall.Signal)(nil)), + "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), + "SockaddrGen": reflect.ValueOf((*syscall.SockaddrGen)(nil)), + "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), + "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), + "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), + "StartupInfo": reflect.ValueOf((*syscall.StartupInfo)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "Systemtime": reflect.ValueOf((*syscall.Systemtime)(nil)), + "TCPKeepalive": reflect.ValueOf((*syscall.TCPKeepalive)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Timezoneinformation": reflect.ValueOf((*syscall.Timezoneinformation)(nil)), + "Token": reflect.ValueOf((*syscall.Token)(nil)), + "Tokenprimarygroup": reflect.ValueOf((*syscall.Tokenprimarygroup)(nil)), + "Tokenuser": reflect.ValueOf((*syscall.Tokenuser)(nil)), + "TransmitFileBuffers": reflect.ValueOf((*syscall.TransmitFileBuffers)(nil)), + "UserInfo10": reflect.ValueOf((*syscall.UserInfo10)(nil)), + "WSABuf": reflect.ValueOf((*syscall.WSABuf)(nil)), + "WSAData": reflect.ValueOf((*syscall.WSAData)(nil)), + "WSAProtocolChain": reflect.ValueOf((*syscall.WSAProtocolChain)(nil)), + "WSAProtocolInfo": reflect.ValueOf((*syscall.WSAProtocolInfo)(nil)), + "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), + "Win32FileAttributeData": reflect.ValueOf((*syscall.Win32FileAttributeData)(nil)), + "Win32finddata": reflect.ValueOf((*syscall.Win32finddata)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} + +// _syscall_Sockaddr is an interface wrapper for Sockaddr type +type _syscall_Sockaddr struct { + IValue interface{} +} diff --git a/stdlib/syscall/go1_16_syscall_aix_ppc64.go b/stdlib/syscall/go1_19_syscall_aix_ppc64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_aix_ppc64.go rename to stdlib/syscall/go1_19_syscall_aix_ppc64.go index 9d8e48ab0..d8be080d1 100644 --- a/stdlib/syscall/go1_16_syscall_aix_ppc64.go +++ b/stdlib/syscall/go1_19_syscall_aix_ppc64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall @@ -291,6 +292,7 @@ func init() { "Getppid": reflect.ValueOf(syscall.Getppid), "Getpriority": reflect.ValueOf(syscall.Getpriority), "Getrlimit": reflect.ValueOf(syscall.Getrlimit), + "Getrusage": reflect.ValueOf(syscall.Getrusage), "Getsockname": reflect.ValueOf(syscall.Getsockname), "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), diff --git a/stdlib/syscall/go1_17_syscall_android_386.go b/stdlib/syscall/go1_19_syscall_android_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_android_386.go rename to stdlib/syscall/go1_19_syscall_android_386.go index 52843f907..c9666dfd7 100644 --- a/stdlib/syscall/go1_17_syscall_android_386.go +++ b/stdlib/syscall/go1_19_syscall_android_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !linux -// +build go1.17,!linux +//go:build go1.19 && !linux +// +build go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_amd64.go b/stdlib/syscall/go1_19_syscall_android_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_amd64.go rename to stdlib/syscall/go1_19_syscall_android_amd64.go index 38a35109e..7a7be83c7 100644 --- a/stdlib/syscall/go1_17_syscall_linux_amd64.go +++ b/stdlib/syscall/go1_19_syscall_android_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 && !linux +// +build go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_16_syscall_android_arm.go b/stdlib/syscall/go1_19_syscall_android_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_android_arm.go rename to stdlib/syscall/go1_19_syscall_android_arm.go index dd34315ea..2914a818e 100644 --- a/stdlib/syscall/go1_16_syscall_android_arm.go +++ b/stdlib/syscall/go1_19_syscall_android_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 && !linux +// +build go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_arm64.go b/stdlib/syscall/go1_19_syscall_android_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_arm64.go rename to stdlib/syscall/go1_19_syscall_android_arm64.go index e2065513f..d32f4c1d1 100644 --- a/stdlib/syscall/go1_17_syscall_linux_arm64.go +++ b/stdlib/syscall/go1_19_syscall_android_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 && !linux +// +build go1.19,!linux package syscall diff --git a/stdlib/syscall/go1_17_syscall_darwin_amd64.go b/stdlib/syscall/go1_19_syscall_darwin_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_darwin_amd64.go rename to stdlib/syscall/go1_19_syscall_darwin_amd64.go index 5109e697a..2588b031a 100644 --- a/stdlib/syscall/go1_17_syscall_darwin_amd64.go +++ b/stdlib/syscall/go1_19_syscall_darwin_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_darwin_arm64.go b/stdlib/syscall/go1_19_syscall_darwin_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_darwin_arm64.go rename to stdlib/syscall/go1_19_syscall_darwin_arm64.go index cdb869b5f..a65d1d46b 100644 --- a/stdlib/syscall/go1_16_syscall_darwin_arm64.go +++ b/stdlib/syscall/go1_19_syscall_darwin_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_dragonfly_amd64.go b/stdlib/syscall/go1_19_syscall_dragonfly_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_dragonfly_amd64.go rename to stdlib/syscall/go1_19_syscall_dragonfly_amd64.go index 6ac3f91b4..b782ca449 100644 --- a/stdlib/syscall/go1_17_syscall_dragonfly_amd64.go +++ b/stdlib/syscall/go1_19_syscall_dragonfly_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_freebsd_386.go b/stdlib/syscall/go1_19_syscall_freebsd_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_freebsd_386.go rename to stdlib/syscall/go1_19_syscall_freebsd_386.go index ddb327f4e..bfc1e1e02 100644 --- a/stdlib/syscall/go1_17_syscall_freebsd_386.go +++ b/stdlib/syscall/go1_19_syscall_freebsd_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_freebsd_amd64.go b/stdlib/syscall/go1_19_syscall_freebsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_freebsd_amd64.go rename to stdlib/syscall/go1_19_syscall_freebsd_amd64.go index 25cc63498..20cb10a7d 100644 --- a/stdlib/syscall/go1_17_syscall_freebsd_amd64.go +++ b/stdlib/syscall/go1_19_syscall_freebsd_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_freebsd_arm.go b/stdlib/syscall/go1_19_syscall_freebsd_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_freebsd_arm.go rename to stdlib/syscall/go1_19_syscall_freebsd_arm.go index cedd4d001..b1f74f53a 100644 --- a/stdlib/syscall/go1_16_syscall_freebsd_arm.go +++ b/stdlib/syscall/go1_19_syscall_freebsd_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_freebsd_arm64.go b/stdlib/syscall/go1_19_syscall_freebsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_freebsd_arm64.go rename to stdlib/syscall/go1_19_syscall_freebsd_arm64.go index 8b4b29f6d..24954f7b5 100644 --- a/stdlib/syscall/go1_17_syscall_freebsd_arm64.go +++ b/stdlib/syscall/go1_19_syscall_freebsd_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_illumos_amd64.go b/stdlib/syscall/go1_19_syscall_illumos_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_illumos_amd64.go rename to stdlib/syscall/go1_19_syscall_illumos_amd64.go index 7e736b47e..61a5a2a8c 100644 --- a/stdlib/syscall/go1_17_syscall_illumos_amd64.go +++ b/stdlib/syscall/go1_19_syscall_illumos_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !solaris -// +build go1.17,!solaris +//go:build go1.19 && !solaris +// +build go1.19,!solaris package syscall @@ -492,6 +492,7 @@ func init() { "Getppid": reflect.ValueOf(syscall.Getppid), "Getpriority": reflect.ValueOf(syscall.Getpriority), "Getrlimit": reflect.ValueOf(syscall.Getrlimit), + "Getrusage": reflect.ValueOf(syscall.Getrusage), "Getsockname": reflect.ValueOf(syscall.Getsockname), "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), @@ -863,6 +864,7 @@ func init() { "PathMax": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), + "Pipe2": reflect.ValueOf(syscall.Pipe2), "Pread": reflect.ValueOf(syscall.Pread), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_ios_amd64.go b/stdlib/syscall/go1_19_syscall_ios_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_ios_amd64.go rename to stdlib/syscall/go1_19_syscall_ios_amd64.go index a4d1bf5a5..2588b031a 100644 --- a/stdlib/syscall/go1_16_syscall_ios_amd64.go +++ b/stdlib/syscall/go1_19_syscall_ios_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_darwin_arm64.go b/stdlib/syscall/go1_19_syscall_ios_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_darwin_arm64.go rename to stdlib/syscall/go1_19_syscall_ios_arm64.go index 25d5908fd..a65d1d46b 100644 --- a/stdlib/syscall/go1_17_syscall_darwin_arm64.go +++ b/stdlib/syscall/go1_19_syscall_ios_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_js_wasm.go b/stdlib/syscall/go1_19_syscall_js_wasm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_js_wasm.go rename to stdlib/syscall/go1_19_syscall_js_wasm.go index 575489551..3fd223617 100644 --- a/stdlib/syscall/go1_17_syscall_js_wasm.go +++ b/stdlib/syscall/go1_19_syscall_js_wasm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_386.go b/stdlib/syscall/go1_19_syscall_linux_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_386.go rename to stdlib/syscall/go1_19_syscall_linux_386.go index 8c6237770..286210b63 100644 --- a/stdlib/syscall/go1_17_syscall_linux_386.go +++ b/stdlib/syscall/go1_19_syscall_linux_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_android_amd64.go b/stdlib/syscall/go1_19_syscall_linux_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_android_amd64.go rename to stdlib/syscall/go1_19_syscall_linux_amd64.go index b27c3fa31..426c0cc71 100644 --- a/stdlib/syscall/go1_16_syscall_android_amd64.go +++ b/stdlib/syscall/go1_19_syscall_linux_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_arm.go b/stdlib/syscall/go1_19_syscall_linux_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_arm.go rename to stdlib/syscall/go1_19_syscall_linux_arm.go index b8d69e030..1edbf98e8 100644 --- a/stdlib/syscall/go1_16_syscall_linux_arm.go +++ b/stdlib/syscall/go1_19_syscall_linux_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_android_arm64.go b/stdlib/syscall/go1_19_syscall_linux_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_android_arm64.go rename to stdlib/syscall/go1_19_syscall_linux_arm64.go index 6a34645bf..20b103d19 100644 --- a/stdlib/syscall/go1_16_syscall_android_arm64.go +++ b/stdlib/syscall/go1_19_syscall_linux_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_19_syscall_linux_loong64.go b/stdlib/syscall/go1_19_syscall_linux_loong64.go new file mode 100644 index 000000000..91999ca64 --- /dev/null +++ b/stdlib/syscall/go1_19_syscall_linux_loong64.go @@ -0,0 +1,2695 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package syscall + +import ( + "go/constant" + "go/token" + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AF_ALG": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "AF_APPLETALK": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "AF_ASH": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "AF_ATMPVC": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "AF_ATMSVC": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "AF_AX25": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "AF_BLUETOOTH": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "AF_BRIDGE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "AF_CAIF": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "AF_CAN": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "AF_DECnet": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "AF_ECONET": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "AF_FILE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_IB": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "AF_IEEE802154": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "AF_INET": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "AF_INET6": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "AF_IPX": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "AF_IRDA": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "AF_ISDN": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "AF_IUCV": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "AF_KCM": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "AF_KEY": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "AF_LLC": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "AF_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_MAX": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "AF_MCTP": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "AF_MPLS": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "AF_NETBEUI": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "AF_NETLINK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "AF_NETROM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "AF_NFC": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "AF_PACKET": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "AF_PHONET": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "AF_PPPOX": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "AF_QIPCRTR": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "AF_RDS": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "AF_ROSE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "AF_ROUTE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "AF_RXRPC": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "AF_SECURITY": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "AF_SMC": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "AF_SNA": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "AF_TIPC": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "AF_UNIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "AF_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "AF_VSOCK": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "AF_WANPIPE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "AF_X25": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "AF_XDP": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "ARPHRD_6LOWPAN": reflect.ValueOf(constant.MakeFromLiteral("825", token.INT, 0)), + "ARPHRD_ADAPT": reflect.ValueOf(constant.MakeFromLiteral("264", token.INT, 0)), + "ARPHRD_APPLETLK": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "ARPHRD_ARCNET": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "ARPHRD_ASH": reflect.ValueOf(constant.MakeFromLiteral("781", token.INT, 0)), + "ARPHRD_ATM": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "ARPHRD_AX25": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "ARPHRD_BIF": reflect.ValueOf(constant.MakeFromLiteral("775", token.INT, 0)), + "ARPHRD_CAIF": reflect.ValueOf(constant.MakeFromLiteral("822", token.INT, 0)), + "ARPHRD_CAN": reflect.ValueOf(constant.MakeFromLiteral("280", token.INT, 0)), + "ARPHRD_CHAOS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "ARPHRD_CISCO": reflect.ValueOf(constant.MakeFromLiteral("513", token.INT, 0)), + "ARPHRD_CSLIP": reflect.ValueOf(constant.MakeFromLiteral("257", token.INT, 0)), + "ARPHRD_CSLIP6": reflect.ValueOf(constant.MakeFromLiteral("259", token.INT, 0)), + "ARPHRD_DDCMP": reflect.ValueOf(constant.MakeFromLiteral("517", token.INT, 0)), + "ARPHRD_DLCI": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "ARPHRD_ECONET": reflect.ValueOf(constant.MakeFromLiteral("782", token.INT, 0)), + "ARPHRD_EETHER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "ARPHRD_ETHER": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "ARPHRD_EUI64": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "ARPHRD_FCAL": reflect.ValueOf(constant.MakeFromLiteral("785", token.INT, 0)), + "ARPHRD_FCFABRIC": reflect.ValueOf(constant.MakeFromLiteral("787", token.INT, 0)), + "ARPHRD_FCPL": reflect.ValueOf(constant.MakeFromLiteral("786", token.INT, 0)), + "ARPHRD_FCPP": reflect.ValueOf(constant.MakeFromLiteral("784", token.INT, 0)), + "ARPHRD_FDDI": reflect.ValueOf(constant.MakeFromLiteral("774", token.INT, 0)), + "ARPHRD_FRAD": reflect.ValueOf(constant.MakeFromLiteral("770", token.INT, 0)), + "ARPHRD_HDLC": reflect.ValueOf(constant.MakeFromLiteral("513", token.INT, 0)), + "ARPHRD_HIPPI": reflect.ValueOf(constant.MakeFromLiteral("780", token.INT, 0)), + "ARPHRD_HWX25": reflect.ValueOf(constant.MakeFromLiteral("272", token.INT, 0)), + "ARPHRD_IEEE1394": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "ARPHRD_IEEE802": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "ARPHRD_IEEE80211": reflect.ValueOf(constant.MakeFromLiteral("801", token.INT, 0)), + "ARPHRD_IEEE80211_PRISM": reflect.ValueOf(constant.MakeFromLiteral("802", token.INT, 0)), + "ARPHRD_IEEE80211_RADIOTAP": reflect.ValueOf(constant.MakeFromLiteral("803", token.INT, 0)), + "ARPHRD_IEEE802154": reflect.ValueOf(constant.MakeFromLiteral("804", token.INT, 0)), + "ARPHRD_IEEE802154_MONITOR": reflect.ValueOf(constant.MakeFromLiteral("805", token.INT, 0)), + "ARPHRD_IEEE802_TR": reflect.ValueOf(constant.MakeFromLiteral("800", token.INT, 0)), + "ARPHRD_INFINIBAND": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "ARPHRD_IP6GRE": reflect.ValueOf(constant.MakeFromLiteral("823", token.INT, 0)), + "ARPHRD_IPDDP": reflect.ValueOf(constant.MakeFromLiteral("777", token.INT, 0)), + "ARPHRD_IPGRE": reflect.ValueOf(constant.MakeFromLiteral("778", token.INT, 0)), + "ARPHRD_IRDA": reflect.ValueOf(constant.MakeFromLiteral("783", token.INT, 0)), + "ARPHRD_LAPB": reflect.ValueOf(constant.MakeFromLiteral("516", token.INT, 0)), + "ARPHRD_LOCALTLK": reflect.ValueOf(constant.MakeFromLiteral("773", token.INT, 0)), + "ARPHRD_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("772", token.INT, 0)), + "ARPHRD_MCTP": reflect.ValueOf(constant.MakeFromLiteral("290", token.INT, 0)), + "ARPHRD_METRICOM": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "ARPHRD_NETLINK": reflect.ValueOf(constant.MakeFromLiteral("824", token.INT, 0)), + "ARPHRD_NETROM": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "ARPHRD_NONE": reflect.ValueOf(constant.MakeFromLiteral("65534", token.INT, 0)), + "ARPHRD_PHONET": reflect.ValueOf(constant.MakeFromLiteral("820", token.INT, 0)), + "ARPHRD_PHONET_PIPE": reflect.ValueOf(constant.MakeFromLiteral("821", token.INT, 0)), + "ARPHRD_PIMREG": reflect.ValueOf(constant.MakeFromLiteral("779", token.INT, 0)), + "ARPHRD_PPP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "ARPHRD_PRONET": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ARPHRD_RAWHDLC": reflect.ValueOf(constant.MakeFromLiteral("518", token.INT, 0)), + "ARPHRD_RAWIP": reflect.ValueOf(constant.MakeFromLiteral("519", token.INT, 0)), + "ARPHRD_ROSE": reflect.ValueOf(constant.MakeFromLiteral("270", token.INT, 0)), + "ARPHRD_RSRVD": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "ARPHRD_SIT": reflect.ValueOf(constant.MakeFromLiteral("776", token.INT, 0)), + "ARPHRD_SKIP": reflect.ValueOf(constant.MakeFromLiteral("771", token.INT, 0)), + "ARPHRD_SLIP": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "ARPHRD_SLIP6": reflect.ValueOf(constant.MakeFromLiteral("258", token.INT, 0)), + "ARPHRD_TUNNEL": reflect.ValueOf(constant.MakeFromLiteral("768", token.INT, 0)), + "ARPHRD_TUNNEL6": reflect.ValueOf(constant.MakeFromLiteral("769", token.INT, 0)), + "ARPHRD_VOID": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "ARPHRD_VSOCKMON": reflect.ValueOf(constant.MakeFromLiteral("826", token.INT, 0)), + "ARPHRD_X25": reflect.ValueOf(constant.MakeFromLiteral("271", token.INT, 0)), + "Accept": reflect.ValueOf(syscall.Accept), + "Accept4": reflect.ValueOf(syscall.Accept4), + "Access": reflect.ValueOf(syscall.Access), + "Acct": reflect.ValueOf(syscall.Acct), + "Adjtimex": reflect.ValueOf(syscall.Adjtimex), + "AttachLsf": reflect.ValueOf(syscall.AttachLsf), + "B0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "B1000000": reflect.ValueOf(constant.MakeFromLiteral("4104", token.INT, 0)), + "B110": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "B115200": reflect.ValueOf(constant.MakeFromLiteral("4098", token.INT, 0)), + "B1152000": reflect.ValueOf(constant.MakeFromLiteral("4105", token.INT, 0)), + "B1200": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "B134": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "B150": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "B1500000": reflect.ValueOf(constant.MakeFromLiteral("4106", token.INT, 0)), + "B1800": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "B19200": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "B200": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "B2000000": reflect.ValueOf(constant.MakeFromLiteral("4107", token.INT, 0)), + "B230400": reflect.ValueOf(constant.MakeFromLiteral("4099", token.INT, 0)), + "B2400": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "B2500000": reflect.ValueOf(constant.MakeFromLiteral("4108", token.INT, 0)), + "B300": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "B3000000": reflect.ValueOf(constant.MakeFromLiteral("4109", token.INT, 0)), + "B3500000": reflect.ValueOf(constant.MakeFromLiteral("4110", token.INT, 0)), + "B38400": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "B4000000": reflect.ValueOf(constant.MakeFromLiteral("4111", token.INT, 0)), + "B460800": reflect.ValueOf(constant.MakeFromLiteral("4100", token.INT, 0)), + "B4800": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "B50": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "B500000": reflect.ValueOf(constant.MakeFromLiteral("4101", token.INT, 0)), + "B57600": reflect.ValueOf(constant.MakeFromLiteral("4097", token.INT, 0)), + "B576000": reflect.ValueOf(constant.MakeFromLiteral("4102", token.INT, 0)), + "B600": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "B75": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "B921600": reflect.ValueOf(constant.MakeFromLiteral("4103", token.INT, 0)), + "B9600": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "BPF_A": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "BPF_ABS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "BPF_ADD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_ALU": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "BPF_AND": reflect.ValueOf(constant.MakeFromLiteral("80", token.INT, 0)), + "BPF_B": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "BPF_DIV": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "BPF_H": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "BPF_IMM": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_IND": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "BPF_JA": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_JEQ": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "BPF_JGE": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "BPF_JGT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "BPF_JMP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "BPF_JSET": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "BPF_K": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_LD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_LDX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "BPF_LEN": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "BPF_LL_OFF": reflect.ValueOf(constant.MakeFromLiteral("-2097152", token.INT, 0)), + "BPF_LSH": reflect.ValueOf(constant.MakeFromLiteral("96", token.INT, 0)), + "BPF_MAJOR_VERSION": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "BPF_MAXINSNS": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "BPF_MEM": reflect.ValueOf(constant.MakeFromLiteral("96", token.INT, 0)), + "BPF_MEMWORDS": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "BPF_MINOR_VERSION": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "BPF_MISC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "BPF_MOD": reflect.ValueOf(constant.MakeFromLiteral("144", token.INT, 0)), + "BPF_MSH": reflect.ValueOf(constant.MakeFromLiteral("160", token.INT, 0)), + "BPF_MUL": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "BPF_NEG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "BPF_NET_OFF": reflect.ValueOf(constant.MakeFromLiteral("-1048576", token.INT, 0)), + "BPF_OR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "BPF_RET": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "BPF_RSH": reflect.ValueOf(constant.MakeFromLiteral("112", token.INT, 0)), + "BPF_ST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "BPF_STX": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "BPF_SUB": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "BPF_TAX": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_TXA": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "BPF_W": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "BPF_X": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "BPF_XOR": reflect.ValueOf(constant.MakeFromLiteral("160", token.INT, 0)), + "BRKINT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Bind": reflect.ValueOf(syscall.Bind), + "BindToDevice": reflect.ValueOf(syscall.BindToDevice), + "BytePtrFromString": reflect.ValueOf(syscall.BytePtrFromString), + "ByteSliceFromString": reflect.ValueOf(syscall.ByteSliceFromString), + "CFLUSH": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "CLOCAL": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CLONE_ARGS_SIZE_VER0": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CLONE_ARGS_SIZE_VER1": reflect.ValueOf(constant.MakeFromLiteral("80", token.INT, 0)), + "CLONE_ARGS_SIZE_VER2": reflect.ValueOf(constant.MakeFromLiteral("88", token.INT, 0)), + "CLONE_CHILD_CLEARTID": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "CLONE_CHILD_SETTID": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "CLONE_CLEAR_SIGHAND": reflect.ValueOf(constant.MakeFromLiteral("4294967296", token.INT, 0)), + "CLONE_DETACHED": reflect.ValueOf(constant.MakeFromLiteral("4194304", token.INT, 0)), + "CLONE_FILES": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "CLONE_FS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "CLONE_INTO_CGROUP": reflect.ValueOf(constant.MakeFromLiteral("8589934592", token.INT, 0)), + "CLONE_IO": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "CLONE_NEWCGROUP": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "CLONE_NEWIPC": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "CLONE_NEWNET": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "CLONE_NEWNS": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "CLONE_NEWPID": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "CLONE_NEWTIME": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CLONE_NEWUSER": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "CLONE_NEWUTS": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "CLONE_PARENT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "CLONE_PARENT_SETTID": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "CLONE_PIDFD": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "CLONE_PTRACE": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "CLONE_SETTLS": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "CLONE_SIGHAND": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "CLONE_SYSVSEM": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "CLONE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "CLONE_UNTRACED": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), + "CLONE_VFORK": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "CLONE_VM": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "CREAD": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "CS5": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CS6": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "CS7": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "CS8": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "CSIGNAL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "CSIZE": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "CSTART": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "CSTATUS": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "CSTOP": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "CSTOPB": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "CSUSP": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "Chdir": reflect.ValueOf(syscall.Chdir), + "Chmod": reflect.ValueOf(syscall.Chmod), + "Chown": reflect.ValueOf(syscall.Chown), + "Chroot": reflect.ValueOf(syscall.Chroot), + "Clearenv": reflect.ValueOf(syscall.Clearenv), + "Close": reflect.ValueOf(syscall.Close), + "CloseOnExec": reflect.ValueOf(syscall.CloseOnExec), + "CmsgLen": reflect.ValueOf(syscall.CmsgLen), + "CmsgSpace": reflect.ValueOf(syscall.CmsgSpace), + "Connect": reflect.ValueOf(syscall.Connect), + "Creat": reflect.ValueOf(syscall.Creat), + "DT_BLK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "DT_CHR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "DT_DIR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "DT_FIFO": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "DT_LNK": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "DT_REG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "DT_SOCK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "DT_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "DT_WHT": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "DetachLsf": reflect.ValueOf(syscall.DetachLsf), + "Dup": reflect.ValueOf(syscall.Dup), + "Dup3": reflect.ValueOf(syscall.Dup3), + "E2BIG": reflect.ValueOf(syscall.E2BIG), + "EACCES": reflect.ValueOf(syscall.EACCES), + "EADDRINUSE": reflect.ValueOf(syscall.EADDRINUSE), + "EADDRNOTAVAIL": reflect.ValueOf(syscall.EADDRNOTAVAIL), + "EADV": reflect.ValueOf(syscall.EADV), + "EAFNOSUPPORT": reflect.ValueOf(syscall.EAFNOSUPPORT), + "EAGAIN": reflect.ValueOf(syscall.EAGAIN), + "EALREADY": reflect.ValueOf(syscall.EALREADY), + "EBADE": reflect.ValueOf(syscall.EBADE), + "EBADF": reflect.ValueOf(syscall.EBADF), + "EBADFD": reflect.ValueOf(syscall.EBADFD), + "EBADMSG": reflect.ValueOf(syscall.EBADMSG), + "EBADR": reflect.ValueOf(syscall.EBADR), + "EBADRQC": reflect.ValueOf(syscall.EBADRQC), + "EBADSLT": reflect.ValueOf(syscall.EBADSLT), + "EBFONT": reflect.ValueOf(syscall.EBFONT), + "EBUSY": reflect.ValueOf(syscall.EBUSY), + "ECANCELED": reflect.ValueOf(syscall.ECANCELED), + "ECHILD": reflect.ValueOf(syscall.ECHILD), + "ECHO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "ECHOCTL": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "ECHOE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "ECHOK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "ECHOKE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "ECHONL": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "ECHOPRT": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "ECHRNG": reflect.ValueOf(syscall.ECHRNG), + "ECOMM": reflect.ValueOf(syscall.ECOMM), + "ECONNABORTED": reflect.ValueOf(syscall.ECONNABORTED), + "ECONNREFUSED": reflect.ValueOf(syscall.ECONNREFUSED), + "ECONNRESET": reflect.ValueOf(syscall.ECONNRESET), + "EDEADLK": reflect.ValueOf(syscall.EDEADLK), + "EDEADLOCK": reflect.ValueOf(syscall.EDEADLOCK), + "EDESTADDRREQ": reflect.ValueOf(syscall.EDESTADDRREQ), + "EDOM": reflect.ValueOf(syscall.EDOM), + "EDOTDOT": reflect.ValueOf(syscall.EDOTDOT), + "EDQUOT": reflect.ValueOf(syscall.EDQUOT), + "EEXIST": reflect.ValueOf(syscall.EEXIST), + "EFAULT": reflect.ValueOf(syscall.EFAULT), + "EFBIG": reflect.ValueOf(syscall.EFBIG), + "EHOSTDOWN": reflect.ValueOf(syscall.EHOSTDOWN), + "EHOSTUNREACH": reflect.ValueOf(syscall.EHOSTUNREACH), + "EHWPOISON": reflect.ValueOf(syscall.EHWPOISON), + "EIDRM": reflect.ValueOf(syscall.EIDRM), + "EILSEQ": reflect.ValueOf(syscall.EILSEQ), + "EINPROGRESS": reflect.ValueOf(syscall.EINPROGRESS), + "EINTR": reflect.ValueOf(syscall.EINTR), + "EINVAL": reflect.ValueOf(syscall.EINVAL), + "EIO": reflect.ValueOf(syscall.EIO), + "EISCONN": reflect.ValueOf(syscall.EISCONN), + "EISDIR": reflect.ValueOf(syscall.EISDIR), + "EISNAM": reflect.ValueOf(syscall.EISNAM), + "EKEYEXPIRED": reflect.ValueOf(syscall.EKEYEXPIRED), + "EKEYREJECTED": reflect.ValueOf(syscall.EKEYREJECTED), + "EKEYREVOKED": reflect.ValueOf(syscall.EKEYREVOKED), + "EL2HLT": reflect.ValueOf(syscall.EL2HLT), + "EL2NSYNC": reflect.ValueOf(syscall.EL2NSYNC), + "EL3HLT": reflect.ValueOf(syscall.EL3HLT), + "EL3RST": reflect.ValueOf(syscall.EL3RST), + "ELIBACC": reflect.ValueOf(syscall.ELIBACC), + "ELIBBAD": reflect.ValueOf(syscall.ELIBBAD), + "ELIBEXEC": reflect.ValueOf(syscall.ELIBEXEC), + "ELIBMAX": reflect.ValueOf(syscall.ELIBMAX), + "ELIBSCN": reflect.ValueOf(syscall.ELIBSCN), + "ELNRNG": reflect.ValueOf(syscall.ELNRNG), + "ELOOP": reflect.ValueOf(syscall.ELOOP), + "EMEDIUMTYPE": reflect.ValueOf(syscall.EMEDIUMTYPE), + "EMFILE": reflect.ValueOf(syscall.EMFILE), + "EMLINK": reflect.ValueOf(syscall.EMLINK), + "EMSGSIZE": reflect.ValueOf(syscall.EMSGSIZE), + "EMULTIHOP": reflect.ValueOf(syscall.EMULTIHOP), + "ENAMETOOLONG": reflect.ValueOf(syscall.ENAMETOOLONG), + "ENAVAIL": reflect.ValueOf(syscall.ENAVAIL), + "ENCODING_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "ENCODING_FM_MARK": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "ENCODING_FM_SPACE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ENCODING_MANCHESTER": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "ENCODING_NRZ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "ENCODING_NRZI": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "ENETDOWN": reflect.ValueOf(syscall.ENETDOWN), + "ENETRESET": reflect.ValueOf(syscall.ENETRESET), + "ENETUNREACH": reflect.ValueOf(syscall.ENETUNREACH), + "ENFILE": reflect.ValueOf(syscall.ENFILE), + "ENOANO": reflect.ValueOf(syscall.ENOANO), + "ENOBUFS": reflect.ValueOf(syscall.ENOBUFS), + "ENOCSI": reflect.ValueOf(syscall.ENOCSI), + "ENODATA": reflect.ValueOf(syscall.ENODATA), + "ENODEV": reflect.ValueOf(syscall.ENODEV), + "ENOENT": reflect.ValueOf(syscall.ENOENT), + "ENOEXEC": reflect.ValueOf(syscall.ENOEXEC), + "ENOKEY": reflect.ValueOf(syscall.ENOKEY), + "ENOLCK": reflect.ValueOf(syscall.ENOLCK), + "ENOLINK": reflect.ValueOf(syscall.ENOLINK), + "ENOMEDIUM": reflect.ValueOf(syscall.ENOMEDIUM), + "ENOMEM": reflect.ValueOf(syscall.ENOMEM), + "ENOMSG": reflect.ValueOf(syscall.ENOMSG), + "ENONET": reflect.ValueOf(syscall.ENONET), + "ENOPKG": reflect.ValueOf(syscall.ENOPKG), + "ENOPROTOOPT": reflect.ValueOf(syscall.ENOPROTOOPT), + "ENOSPC": reflect.ValueOf(syscall.ENOSPC), + "ENOSR": reflect.ValueOf(syscall.ENOSR), + "ENOSTR": reflect.ValueOf(syscall.ENOSTR), + "ENOSYS": reflect.ValueOf(syscall.ENOSYS), + "ENOTBLK": reflect.ValueOf(syscall.ENOTBLK), + "ENOTCONN": reflect.ValueOf(syscall.ENOTCONN), + "ENOTDIR": reflect.ValueOf(syscall.ENOTDIR), + "ENOTEMPTY": reflect.ValueOf(syscall.ENOTEMPTY), + "ENOTNAM": reflect.ValueOf(syscall.ENOTNAM), + "ENOTRECOVERABLE": reflect.ValueOf(syscall.ENOTRECOVERABLE), + "ENOTSOCK": reflect.ValueOf(syscall.ENOTSOCK), + "ENOTSUP": reflect.ValueOf(syscall.ENOTSUP), + "ENOTTY": reflect.ValueOf(syscall.ENOTTY), + "ENOTUNIQ": reflect.ValueOf(syscall.ENOTUNIQ), + "ENXIO": reflect.ValueOf(syscall.ENXIO), + "EOPNOTSUPP": reflect.ValueOf(syscall.EOPNOTSUPP), + "EOVERFLOW": reflect.ValueOf(syscall.EOVERFLOW), + "EOWNERDEAD": reflect.ValueOf(syscall.EOWNERDEAD), + "EPERM": reflect.ValueOf(syscall.EPERM), + "EPFNOSUPPORT": reflect.ValueOf(syscall.EPFNOSUPPORT), + "EPIPE": reflect.ValueOf(syscall.EPIPE), + "EPOLLERR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "EPOLLET": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "EPOLLEXCLUSIVE": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "EPOLLHUP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "EPOLLIN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "EPOLLMSG": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "EPOLLONESHOT": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "EPOLLOUT": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "EPOLLPRI": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "EPOLLRDBAND": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "EPOLLRDHUP": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "EPOLLRDNORM": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "EPOLLWAKEUP": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "EPOLLWRBAND": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "EPOLLWRNORM": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "EPOLL_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "EPOLL_CTL_ADD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "EPOLL_CTL_DEL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "EPOLL_CTL_MOD": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "EPROTO": reflect.ValueOf(syscall.EPROTO), + "EPROTONOSUPPORT": reflect.ValueOf(syscall.EPROTONOSUPPORT), + "EPROTOTYPE": reflect.ValueOf(syscall.EPROTOTYPE), + "ERANGE": reflect.ValueOf(syscall.ERANGE), + "EREMCHG": reflect.ValueOf(syscall.EREMCHG), + "EREMOTE": reflect.ValueOf(syscall.EREMOTE), + "EREMOTEIO": reflect.ValueOf(syscall.EREMOTEIO), + "ERESTART": reflect.ValueOf(syscall.ERESTART), + "ERFKILL": reflect.ValueOf(syscall.ERFKILL), + "EROFS": reflect.ValueOf(syscall.EROFS), + "ESHUTDOWN": reflect.ValueOf(syscall.ESHUTDOWN), + "ESOCKTNOSUPPORT": reflect.ValueOf(syscall.ESOCKTNOSUPPORT), + "ESPIPE": reflect.ValueOf(syscall.ESPIPE), + "ESRCH": reflect.ValueOf(syscall.ESRCH), + "ESRMNT": reflect.ValueOf(syscall.ESRMNT), + "ESTALE": reflect.ValueOf(syscall.ESTALE), + "ESTRPIPE": reflect.ValueOf(syscall.ESTRPIPE), + "ETH_P_1588": reflect.ValueOf(constant.MakeFromLiteral("35063", token.INT, 0)), + "ETH_P_8021AD": reflect.ValueOf(constant.MakeFromLiteral("34984", token.INT, 0)), + "ETH_P_8021AH": reflect.ValueOf(constant.MakeFromLiteral("35047", token.INT, 0)), + "ETH_P_8021Q": reflect.ValueOf(constant.MakeFromLiteral("33024", token.INT, 0)), + "ETH_P_80221": reflect.ValueOf(constant.MakeFromLiteral("35095", token.INT, 0)), + "ETH_P_802_2": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ETH_P_802_3": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "ETH_P_802_3_MIN": reflect.ValueOf(constant.MakeFromLiteral("1536", token.INT, 0)), + "ETH_P_802_EX1": reflect.ValueOf(constant.MakeFromLiteral("34997", token.INT, 0)), + "ETH_P_AARP": reflect.ValueOf(constant.MakeFromLiteral("33011", token.INT, 0)), + "ETH_P_AF_IUCV": reflect.ValueOf(constant.MakeFromLiteral("64507", token.INT, 0)), + "ETH_P_ALL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "ETH_P_AOE": reflect.ValueOf(constant.MakeFromLiteral("34978", token.INT, 0)), + "ETH_P_ARCNET": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "ETH_P_ARP": reflect.ValueOf(constant.MakeFromLiteral("2054", token.INT, 0)), + "ETH_P_ATALK": reflect.ValueOf(constant.MakeFromLiteral("32923", token.INT, 0)), + "ETH_P_ATMFATE": reflect.ValueOf(constant.MakeFromLiteral("34948", token.INT, 0)), + "ETH_P_ATMMPOA": reflect.ValueOf(constant.MakeFromLiteral("34892", token.INT, 0)), + "ETH_P_AX25": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "ETH_P_BATMAN": reflect.ValueOf(constant.MakeFromLiteral("17157", token.INT, 0)), + "ETH_P_BPQ": reflect.ValueOf(constant.MakeFromLiteral("2303", token.INT, 0)), + "ETH_P_CAIF": reflect.ValueOf(constant.MakeFromLiteral("247", token.INT, 0)), + "ETH_P_CAN": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "ETH_P_CANFD": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "ETH_P_CFM": reflect.ValueOf(constant.MakeFromLiteral("35074", token.INT, 0)), + "ETH_P_CONTROL": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "ETH_P_CUST": reflect.ValueOf(constant.MakeFromLiteral("24582", token.INT, 0)), + "ETH_P_DDCMP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "ETH_P_DEC": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "ETH_P_DIAG": reflect.ValueOf(constant.MakeFromLiteral("24581", token.INT, 0)), + "ETH_P_DNA_DL": reflect.ValueOf(constant.MakeFromLiteral("24577", token.INT, 0)), + "ETH_P_DNA_RC": reflect.ValueOf(constant.MakeFromLiteral("24578", token.INT, 0)), + "ETH_P_DNA_RT": reflect.ValueOf(constant.MakeFromLiteral("24579", token.INT, 0)), + "ETH_P_DSA": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "ETH_P_DSA_8021Q": reflect.ValueOf(constant.MakeFromLiteral("56027", token.INT, 0)), + "ETH_P_ECONET": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "ETH_P_EDSA": reflect.ValueOf(constant.MakeFromLiteral("56026", token.INT, 0)), + "ETH_P_ERSPAN": reflect.ValueOf(constant.MakeFromLiteral("35006", token.INT, 0)), + "ETH_P_ERSPAN2": reflect.ValueOf(constant.MakeFromLiteral("8939", token.INT, 0)), + "ETH_P_FCOE": reflect.ValueOf(constant.MakeFromLiteral("35078", token.INT, 0)), + "ETH_P_FIP": reflect.ValueOf(constant.MakeFromLiteral("35092", token.INT, 0)), + "ETH_P_HDLC": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "ETH_P_HSR": reflect.ValueOf(constant.MakeFromLiteral("35119", token.INT, 0)), + "ETH_P_IBOE": reflect.ValueOf(constant.MakeFromLiteral("35093", token.INT, 0)), + "ETH_P_IEEE802154": reflect.ValueOf(constant.MakeFromLiteral("246", token.INT, 0)), + "ETH_P_IEEEPUP": reflect.ValueOf(constant.MakeFromLiteral("2560", token.INT, 0)), + "ETH_P_IEEEPUPAT": reflect.ValueOf(constant.MakeFromLiteral("2561", token.INT, 0)), + "ETH_P_IFE": reflect.ValueOf(constant.MakeFromLiteral("60734", token.INT, 0)), + "ETH_P_IP": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "ETH_P_IPV6": reflect.ValueOf(constant.MakeFromLiteral("34525", token.INT, 0)), + "ETH_P_IPX": reflect.ValueOf(constant.MakeFromLiteral("33079", token.INT, 0)), + "ETH_P_IRDA": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "ETH_P_LAT": reflect.ValueOf(constant.MakeFromLiteral("24580", token.INT, 0)), + "ETH_P_LINK_CTL": reflect.ValueOf(constant.MakeFromLiteral("34924", token.INT, 0)), + "ETH_P_LLDP": reflect.ValueOf(constant.MakeFromLiteral("35020", token.INT, 0)), + "ETH_P_LOCALTALK": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "ETH_P_LOOP": reflect.ValueOf(constant.MakeFromLiteral("96", token.INT, 0)), + "ETH_P_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("36864", token.INT, 0)), + "ETH_P_MACSEC": reflect.ValueOf(constant.MakeFromLiteral("35045", token.INT, 0)), + "ETH_P_MAP": reflect.ValueOf(constant.MakeFromLiteral("249", token.INT, 0)), + "ETH_P_MCTP": reflect.ValueOf(constant.MakeFromLiteral("250", token.INT, 0)), + "ETH_P_MOBITEX": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "ETH_P_MPLS_MC": reflect.ValueOf(constant.MakeFromLiteral("34888", token.INT, 0)), + "ETH_P_MPLS_UC": reflect.ValueOf(constant.MakeFromLiteral("34887", token.INT, 0)), + "ETH_P_MRP": reflect.ValueOf(constant.MakeFromLiteral("35043", token.INT, 0)), + "ETH_P_MVRP": reflect.ValueOf(constant.MakeFromLiteral("35061", token.INT, 0)), + "ETH_P_NCSI": reflect.ValueOf(constant.MakeFromLiteral("35064", token.INT, 0)), + "ETH_P_NSH": reflect.ValueOf(constant.MakeFromLiteral("35151", token.INT, 0)), + "ETH_P_PAE": reflect.ValueOf(constant.MakeFromLiteral("34958", token.INT, 0)), + "ETH_P_PAUSE": reflect.ValueOf(constant.MakeFromLiteral("34824", token.INT, 0)), + "ETH_P_PHONET": reflect.ValueOf(constant.MakeFromLiteral("245", token.INT, 0)), + "ETH_P_PPPTALK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "ETH_P_PPP_DISC": reflect.ValueOf(constant.MakeFromLiteral("34915", token.INT, 0)), + "ETH_P_PPP_MP": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "ETH_P_PPP_SES": reflect.ValueOf(constant.MakeFromLiteral("34916", token.INT, 0)), + "ETH_P_PREAUTH": reflect.ValueOf(constant.MakeFromLiteral("35015", token.INT, 0)), + "ETH_P_PRP": reflect.ValueOf(constant.MakeFromLiteral("35067", token.INT, 0)), + "ETH_P_PUP": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "ETH_P_PUPAT": reflect.ValueOf(constant.MakeFromLiteral("513", token.INT, 0)), + "ETH_P_QINQ1": reflect.ValueOf(constant.MakeFromLiteral("37120", token.INT, 0)), + "ETH_P_QINQ2": reflect.ValueOf(constant.MakeFromLiteral("37376", token.INT, 0)), + "ETH_P_QINQ3": reflect.ValueOf(constant.MakeFromLiteral("37632", token.INT, 0)), + "ETH_P_RARP": reflect.ValueOf(constant.MakeFromLiteral("32821", token.INT, 0)), + "ETH_P_REALTEK": reflect.ValueOf(constant.MakeFromLiteral("34969", token.INT, 0)), + "ETH_P_SCA": reflect.ValueOf(constant.MakeFromLiteral("24583", token.INT, 0)), + "ETH_P_SLOW": reflect.ValueOf(constant.MakeFromLiteral("34825", token.INT, 0)), + "ETH_P_SNAP": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "ETH_P_TDLS": reflect.ValueOf(constant.MakeFromLiteral("35085", token.INT, 0)), + "ETH_P_TEB": reflect.ValueOf(constant.MakeFromLiteral("25944", token.INT, 0)), + "ETH_P_TIPC": reflect.ValueOf(constant.MakeFromLiteral("35018", token.INT, 0)), + "ETH_P_TRAILER": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "ETH_P_TR_802_2": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "ETH_P_TSN": reflect.ValueOf(constant.MakeFromLiteral("8944", token.INT, 0)), + "ETH_P_WAN_PPP": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "ETH_P_WCCP": reflect.ValueOf(constant.MakeFromLiteral("34878", token.INT, 0)), + "ETH_P_X25": reflect.ValueOf(constant.MakeFromLiteral("2053", token.INT, 0)), + "ETH_P_XDSA": reflect.ValueOf(constant.MakeFromLiteral("248", token.INT, 0)), + "ETIME": reflect.ValueOf(syscall.ETIME), + "ETIMEDOUT": reflect.ValueOf(syscall.ETIMEDOUT), + "ETOOMANYREFS": reflect.ValueOf(syscall.ETOOMANYREFS), + "ETXTBSY": reflect.ValueOf(syscall.ETXTBSY), + "EUCLEAN": reflect.ValueOf(syscall.EUCLEAN), + "EUNATCH": reflect.ValueOf(syscall.EUNATCH), + "EUSERS": reflect.ValueOf(syscall.EUSERS), + "EWOULDBLOCK": reflect.ValueOf(syscall.EWOULDBLOCK), + "EXDEV": reflect.ValueOf(syscall.EXDEV), + "EXFULL": reflect.ValueOf(syscall.EXFULL), + "EXTA": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "EXTB": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "EXTPROC": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "Environ": reflect.ValueOf(syscall.Environ), + "EpollCreate": reflect.ValueOf(syscall.EpollCreate), + "EpollCreate1": reflect.ValueOf(syscall.EpollCreate1), + "EpollCtl": reflect.ValueOf(syscall.EpollCtl), + "EpollWait": reflect.ValueOf(syscall.EpollWait), + "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)), + "F_ADD_SEALS": reflect.ValueOf(constant.MakeFromLiteral("1033", token.INT, 0)), + "F_DUPFD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "F_DUPFD_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1030", token.INT, 0)), + "F_EXLCK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "F_GETFD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "F_GETFL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "F_GETLEASE": reflect.ValueOf(constant.MakeFromLiteral("1025", token.INT, 0)), + "F_GETLK": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "F_GETLK64": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "F_GETOWN": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "F_GETOWN_EX": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "F_GETPIPE_SZ": reflect.ValueOf(constant.MakeFromLiteral("1032", token.INT, 0)), + "F_GETSIG": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "F_GET_FILE_RW_HINT": reflect.ValueOf(constant.MakeFromLiteral("1037", token.INT, 0)), + "F_GET_RW_HINT": reflect.ValueOf(constant.MakeFromLiteral("1035", token.INT, 0)), + "F_GET_SEALS": reflect.ValueOf(constant.MakeFromLiteral("1034", token.INT, 0)), + "F_LOCK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "F_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("1026", token.INT, 0)), + "F_OFD_GETLK": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "F_OFD_SETLK": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "F_OFD_SETLKW": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "F_OK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "F_RDLCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "F_SEAL_FUTURE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "F_SEAL_GROW": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "F_SEAL_SEAL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "F_SEAL_SHRINK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "F_SEAL_WRITE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "F_SETFD": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "F_SETFL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "F_SETLEASE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "F_SETLK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "F_SETLK64": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "F_SETLKW": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "F_SETLKW64": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "F_SETOWN": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "F_SETOWN_EX": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "F_SETPIPE_SZ": reflect.ValueOf(constant.MakeFromLiteral("1031", token.INT, 0)), + "F_SETSIG": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "F_SET_FILE_RW_HINT": reflect.ValueOf(constant.MakeFromLiteral("1038", token.INT, 0)), + "F_SET_RW_HINT": reflect.ValueOf(constant.MakeFromLiteral("1036", token.INT, 0)), + "F_SHLCK": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "F_TEST": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "F_TLOCK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "F_ULOCK": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "F_UNLCK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "F_WRLCK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Faccessat": reflect.ValueOf(syscall.Faccessat), + "Fallocate": reflect.ValueOf(syscall.Fallocate), + "Fchdir": reflect.ValueOf(syscall.Fchdir), + "Fchmod": reflect.ValueOf(syscall.Fchmod), + "Fchmodat": reflect.ValueOf(syscall.Fchmodat), + "Fchown": reflect.ValueOf(syscall.Fchown), + "Fchownat": reflect.ValueOf(syscall.Fchownat), + "FcntlFlock": reflect.ValueOf(syscall.FcntlFlock), + "Fdatasync": reflect.ValueOf(syscall.Fdatasync), + "Flock": reflect.ValueOf(syscall.Flock), + "ForkLock": reflect.ValueOf(&syscall.ForkLock).Elem(), + "Fstat": reflect.ValueOf(syscall.Fstat), + "Fstatat": reflect.ValueOf(syscall.Fstatat), + "Fstatfs": reflect.ValueOf(syscall.Fstatfs), + "Fsync": reflect.ValueOf(syscall.Fsync), + "Ftruncate": reflect.ValueOf(syscall.Ftruncate), + "Futimes": reflect.ValueOf(syscall.Futimes), + "Futimesat": reflect.ValueOf(syscall.Futimesat), + "Getcwd": reflect.ValueOf(syscall.Getcwd), + "Getdents": reflect.ValueOf(syscall.Getdents), + "Getegid": reflect.ValueOf(syscall.Getegid), + "Getenv": reflect.ValueOf(syscall.Getenv), + "Geteuid": reflect.ValueOf(syscall.Geteuid), + "Getgid": reflect.ValueOf(syscall.Getgid), + "Getgroups": reflect.ValueOf(syscall.Getgroups), + "Getpagesize": reflect.ValueOf(syscall.Getpagesize), + "Getpeername": reflect.ValueOf(syscall.Getpeername), + "Getpgid": reflect.ValueOf(syscall.Getpgid), + "Getpgrp": reflect.ValueOf(syscall.Getpgrp), + "Getpid": reflect.ValueOf(syscall.Getpid), + "Getppid": reflect.ValueOf(syscall.Getppid), + "Getpriority": reflect.ValueOf(syscall.Getpriority), + "Getrlimit": reflect.ValueOf(syscall.Getrlimit), + "Getrusage": reflect.ValueOf(syscall.Getrusage), + "Getsockname": reflect.ValueOf(syscall.Getsockname), + "GetsockoptICMPv6Filter": reflect.ValueOf(syscall.GetsockoptICMPv6Filter), + "GetsockoptIPMreq": reflect.ValueOf(syscall.GetsockoptIPMreq), + "GetsockoptIPMreqn": reflect.ValueOf(syscall.GetsockoptIPMreqn), + "GetsockoptIPv6MTUInfo": reflect.ValueOf(syscall.GetsockoptIPv6MTUInfo), + "GetsockoptIPv6Mreq": reflect.ValueOf(syscall.GetsockoptIPv6Mreq), + "GetsockoptInet4Addr": reflect.ValueOf(syscall.GetsockoptInet4Addr), + "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), + "GetsockoptUcred": reflect.ValueOf(syscall.GetsockoptUcred), + "Gettid": reflect.ValueOf(syscall.Gettid), + "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), + "Getuid": reflect.ValueOf(syscall.Getuid), + "Getwd": reflect.ValueOf(syscall.Getwd), + "Getxattr": reflect.ValueOf(syscall.Getxattr), + "HUPCL": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "ICANON": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "ICMPV6_FILTER": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "ICRNL": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "IEXTEN": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "IFA_ADDRESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFA_ANYCAST": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IFA_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFA_CACHEINFO": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IFA_F_DADFAILED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFA_F_DEPRECATED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IFA_F_HOMEADDRESS": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFA_F_MANAGETEMPADDR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "IFA_F_MCAUTOJOIN": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "IFA_F_NODAD": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFA_F_NOPREFIXROUTE": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IFA_F_OPTIMISTIC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFA_F_PERMANENT": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IFA_F_SECONDARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFA_F_STABLE_PRIVACY": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IFA_F_TEMPORARY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFA_F_TENTATIVE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "IFA_LABEL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IFA_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFA_MAX": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IFA_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "IFA_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IFF_ALLMULTI": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IFF_ATTACH_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IFF_AUTOMEDIA": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IFF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_DEBUG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFF_DETACH_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "IFF_DORMANT": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "IFF_DYNAMIC": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "IFF_ECHO": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "IFF_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFF_LOWER_UP": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "IFF_MASTER": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "IFF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "IFF_MULTI_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "IFF_NAPI": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_NAPI_FRAGS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IFF_NOARP": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IFF_NOFILTER": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "IFF_NOTRAILERS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IFF_NO_PI": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "IFF_ONE_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "IFF_PERSIST": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IFF_POINTOPOINT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFF_PORTSEL": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "IFF_PROMISC": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "IFF_RUNNING": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "IFF_SLAVE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IFF_TAP": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFF_TUN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFF_TUN_EXCL": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "IFF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFF_VNET_HDR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IFF_VOLATILE": reflect.ValueOf(constant.MakeFromLiteral("461914", token.INT, 0)), + "IFLA_ADDRESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IFLA_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IFLA_COST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IFLA_IFALIAS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IFLA_IFNAME": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IFLA_LINK": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IFLA_LINKINFO": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "IFLA_LINKMODE": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IFLA_MAP": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "IFLA_MASTER": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IFLA_MAX": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "IFLA_MTU": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IFLA_NET_NS_PID": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "IFLA_OPERSTATE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IFLA_PRIORITY": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IFLA_PROTINFO": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IFLA_QDISC": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IFLA_STATS": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "IFLA_TXQLEN": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IFLA_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IFLA_WEIGHT": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "IFLA_WIRELESS": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IFNAMSIZ": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IGNBRK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IGNCR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IGNPAR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IMAXBEL": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "INLCR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "INPCK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IN_ACCESS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IN_ALL_EVENTS": reflect.ValueOf(constant.MakeFromLiteral("4095", token.INT, 0)), + "IN_ATTRIB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IN_CLASSA_HOST": reflect.ValueOf(constant.MakeFromLiteral("16777215", token.INT, 0)), + "IN_CLASSA_MAX": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IN_CLASSA_NET": reflect.ValueOf(constant.MakeFromLiteral("4278190080", token.INT, 0)), + "IN_CLASSA_NSHIFT": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "IN_CLASSB_HOST": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "IN_CLASSB_MAX": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "IN_CLASSB_NET": reflect.ValueOf(constant.MakeFromLiteral("4294901760", token.INT, 0)), + "IN_CLASSB_NSHIFT": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IN_CLASSC_HOST": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "IN_CLASSC_NET": reflect.ValueOf(constant.MakeFromLiteral("4294967040", token.INT, 0)), + "IN_CLASSC_NSHIFT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IN_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "IN_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "IN_CLOSE_NOWRITE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IN_CLOSE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IN_CREATE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "IN_DELETE": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IN_DELETE_SELF": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "IN_DONT_FOLLOW": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "IN_EXCL_UNLINK": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "IN_IGNORED": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "IN_ISDIR": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "IN_LOOPBACKNET": reflect.ValueOf(constant.MakeFromLiteral("127", token.INT, 0)), + "IN_MASK_ADD": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "IN_MASK_CREATE": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "IN_MODIFY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IN_MOVE": reflect.ValueOf(constant.MakeFromLiteral("192", token.INT, 0)), + "IN_MOVED_FROM": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "IN_MOVED_TO": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "IN_MOVE_SELF": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IN_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IN_ONESHOT": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "IN_ONLYDIR": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "IN_OPEN": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IN_Q_OVERFLOW": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IN_UNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "IPPROTO_AH": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "IPPROTO_BEETPH": reflect.ValueOf(constant.MakeFromLiteral("94", token.INT, 0)), + "IPPROTO_COMP": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "IPPROTO_DCCP": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "IPPROTO_DSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("60", token.INT, 0)), + "IPPROTO_EGP": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IPPROTO_ENCAP": reflect.ValueOf(constant.MakeFromLiteral("98", token.INT, 0)), + "IPPROTO_ESP": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "IPPROTO_ETHERNET": reflect.ValueOf(constant.MakeFromLiteral("143", token.INT, 0)), + "IPPROTO_FRAGMENT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "IPPROTO_GRE": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "IPPROTO_HOPOPTS": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_ICMP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IPPROTO_ICMPV6": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "IPPROTO_IDP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "IPPROTO_IGMP": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IPPROTO_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPPROTO_IPIP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPPROTO_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IPPROTO_MH": reflect.ValueOf(constant.MakeFromLiteral("135", token.INT, 0)), + "IPPROTO_MPLS": reflect.ValueOf(constant.MakeFromLiteral("137", token.INT, 0)), + "IPPROTO_MPTCP": reflect.ValueOf(constant.MakeFromLiteral("262", token.INT, 0)), + "IPPROTO_MTP": reflect.ValueOf(constant.MakeFromLiteral("92", token.INT, 0)), + "IPPROTO_NONE": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "IPPROTO_PIM": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "IPPROTO_PUP": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IPPROTO_RAW": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "IPPROTO_ROUTING": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "IPPROTO_RSVP": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "IPPROTO_SCTP": reflect.ValueOf(constant.MakeFromLiteral("132", token.INT, 0)), + "IPPROTO_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPPROTO_TP": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "IPPROTO_UDP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPPROTO_UDPLITE": reflect.ValueOf(constant.MakeFromLiteral("136", token.INT, 0)), + "IPV6_2292DSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_2292HOPLIMIT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IPV6_2292HOPOPTS": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IPV6_2292PKTINFO": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IPV6_2292PKTOPTIONS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IPV6_2292RTHDR": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IPV6_ADDRFORM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IPV6_ADDR_PREFERENCES": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), + "IPV6_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IPV6_AUTHHDR": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IPV6_AUTOFLOWLABEL": reflect.ValueOf(constant.MakeFromLiteral("70", token.INT, 0)), + "IPV6_CHECKSUM": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "IPV6_DONTFRAG": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), + "IPV6_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "IPV6_DSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "IPV6_FREEBIND": reflect.ValueOf(constant.MakeFromLiteral("78", token.INT, 0)), + "IPV6_HDRINCL": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "IPV6_HOPLIMIT": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "IPV6_HOPOPTS": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), + "IPV6_IPSEC_POLICY": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "IPV6_JOIN_ANYCAST": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "IPV6_JOIN_GROUP": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IPV6_LEAVE_ANYCAST": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "IPV6_LEAVE_GROUP": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "IPV6_MINHOPCOUNT": reflect.ValueOf(constant.MakeFromLiteral("73", token.INT, 0)), + "IPV6_MTU": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "IPV6_MTU_DISCOVER": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "IPV6_MULTICAST_ALL": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "IPV6_MULTICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "IPV6_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "IPV6_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "IPV6_NEXTHOP": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IPV6_ORIGDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("74", token.INT, 0)), + "IPV6_PATHMTU": reflect.ValueOf(constant.MakeFromLiteral("61", token.INT, 0)), + "IPV6_PKTINFO": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "IPV6_PMTUDISC_DO": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IPV6_PMTUDISC_DONT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPV6_PMTUDISC_INTERFACE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IPV6_PMTUDISC_OMIT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IPV6_PMTUDISC_PROBE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IPV6_PMTUDISC_WANT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IPV6_RECVDSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "IPV6_RECVERR": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "IPV6_RECVERR_RFC4884": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "IPV6_RECVFRAGSIZE": reflect.ValueOf(constant.MakeFromLiteral("77", token.INT, 0)), + "IPV6_RECVHOPLIMIT": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "IPV6_RECVHOPOPTS": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "IPV6_RECVORIGDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("74", token.INT, 0)), + "IPV6_RECVPATHMTU": reflect.ValueOf(constant.MakeFromLiteral("60", token.INT, 0)), + "IPV6_RECVPKTINFO": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "IPV6_RECVRTHDR": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "IPV6_RECVTCLASS": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), + "IPV6_ROUTER_ALERT": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "IPV6_ROUTER_ALERT_ISOLATE": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "IPV6_RTHDR": reflect.ValueOf(constant.MakeFromLiteral("57", token.INT, 0)), + "IPV6_RTHDRDSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("55", token.INT, 0)), + "IPV6_RTHDR_LOOSE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPV6_RTHDR_STRICT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IPV6_RTHDR_TYPE_0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IPV6_RXDSTOPTS": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "IPV6_RXHOPOPTS": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), + "IPV6_TCLASS": reflect.ValueOf(constant.MakeFromLiteral("67", token.INT, 0)), + "IPV6_TRANSPARENT": reflect.ValueOf(constant.MakeFromLiteral("75", token.INT, 0)), + "IPV6_UNICAST_HOPS": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IPV6_UNICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("76", token.INT, 0)), + "IPV6_V6ONLY": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "IPV6_XFRM_POLICY": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "IP_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "IP_ADD_SOURCE_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "IP_BIND_ADDRESS_NO_PORT": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "IP_BLOCK_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "IP_CHECKSUM": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "IP_DEFAULT_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IP_DEFAULT_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IP_DF": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IP_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "IP_DROP_SOURCE_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "IP_FREEBIND": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "IP_HDRINCL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_IPSEC_POLICY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "IP_MAXPACKET": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "IP_MAX_MEMBERSHIPS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IP_MF": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "IP_MINTTL": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "IP_MSFILTER": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "IP_MSS": reflect.ValueOf(constant.MakeFromLiteral("576", token.INT, 0)), + "IP_MTU": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "IP_MTU_DISCOVER": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_MULTICAST_ALL": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "IP_MULTICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IP_MULTICAST_LOOP": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "IP_MULTICAST_TTL": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "IP_NODEFRAG": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "IP_OFFMASK": reflect.ValueOf(constant.MakeFromLiteral("8191", token.INT, 0)), + "IP_OPTIONS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IP_ORIGDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IP_PASSSEC": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "IP_PKTINFO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "IP_PKTOPTIONS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "IP_PMTUDISC": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "IP_PMTUDISC_DO": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IP_PMTUDISC_DONT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "IP_PMTUDISC_INTERFACE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "IP_PMTUDISC_OMIT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IP_PMTUDISC_PROBE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "IP_PMTUDISC_WANT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IP_RECVERR": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "IP_RECVERR_RFC4884": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "IP_RECVFRAGSIZE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "IP_RECVOPTS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "IP_RECVORIGDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "IP_RECVRETOPTS": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "IP_RECVTOS": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "IP_RECVTTL": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "IP_RETOPTS": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "IP_RF": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "IP_ROUTER_ALERT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "IP_TOS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "IP_TRANSPARENT": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "IP_TTL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "IP_UNBLOCK_SOURCE": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "IP_UNICAST_IF": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "IP_XFRM_POLICY": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "ISIG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "ISTRIP": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "IUCLC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "IUTF8": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "IXANY": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "IXOFF": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "IXON": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "ImplementsGetwd": reflect.ValueOf(syscall.ImplementsGetwd), + "InotifyAddWatch": reflect.ValueOf(syscall.InotifyAddWatch), + "InotifyInit": reflect.ValueOf(syscall.InotifyInit), + "InotifyInit1": reflect.ValueOf(syscall.InotifyInit1), + "InotifyRmWatch": reflect.ValueOf(syscall.InotifyRmWatch), + "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)), + "LINUX_REBOOT_CMD_HALT": reflect.ValueOf(constant.MakeFromLiteral("3454992675", token.INT, 0)), + "LINUX_REBOOT_CMD_KEXEC": reflect.ValueOf(constant.MakeFromLiteral("1163412803", token.INT, 0)), + "LINUX_REBOOT_CMD_POWER_OFF": reflect.ValueOf(constant.MakeFromLiteral("1126301404", token.INT, 0)), + "LINUX_REBOOT_CMD_RESTART": reflect.ValueOf(constant.MakeFromLiteral("19088743", token.INT, 0)), + "LINUX_REBOOT_CMD_RESTART2": reflect.ValueOf(constant.MakeFromLiteral("2712847316", token.INT, 0)), + "LINUX_REBOOT_CMD_SW_SUSPEND": reflect.ValueOf(constant.MakeFromLiteral("3489725666", token.INT, 0)), + "LINUX_REBOOT_MAGIC1": reflect.ValueOf(constant.MakeFromLiteral("4276215469", token.INT, 0)), + "LINUX_REBOOT_MAGIC2": reflect.ValueOf(constant.MakeFromLiteral("672274793", token.INT, 0)), + "LOCK_EX": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "LOCK_NB": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "LOCK_SH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "LOCK_UN": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "Lchown": reflect.ValueOf(syscall.Lchown), + "Link": reflect.ValueOf(syscall.Link), + "Listen": reflect.ValueOf(syscall.Listen), + "Listxattr": reflect.ValueOf(syscall.Listxattr), + "LsfJump": reflect.ValueOf(syscall.LsfJump), + "LsfSocket": reflect.ValueOf(syscall.LsfSocket), + "LsfStmt": reflect.ValueOf(syscall.LsfStmt), + "Lstat": reflect.ValueOf(syscall.Lstat), + "MADV_COLD": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "MADV_DODUMP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "MADV_DOFORK": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "MADV_DONTDUMP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MADV_DONTFORK": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "MADV_DONTNEED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MADV_FREE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MADV_HUGEPAGE": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "MADV_HWPOISON": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "MADV_KEEPONFORK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "MADV_MERGEABLE": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "MADV_NOHUGEPAGE": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MADV_NORMAL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "MADV_PAGEOUT": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "MADV_POPULATE_READ": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "MADV_POPULATE_WRITE": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "MADV_RANDOM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MADV_REMOVE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "MADV_SEQUENTIAL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MADV_UNMERGEABLE": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "MADV_WILLNEED": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "MADV_WIPEONFORK": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "MAP_ANON": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "MAP_ANONYMOUS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "MAP_DENYWRITE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "MAP_EXECUTABLE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "MAP_FILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "MAP_FIXED": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MAP_FIXED_NOREPLACE": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "MAP_GROWSDOWN": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MAP_HUGETLB": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "MAP_HUGE_MASK": reflect.ValueOf(constant.MakeFromLiteral("63", token.INT, 0)), + "MAP_HUGE_SHIFT": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "MAP_LOCKED": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "MAP_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "MAP_NORESERVE": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MAP_POPULATE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MAP_PRIVATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MAP_SHARED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MAP_SHARED_VALIDATE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "MAP_STACK": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "MAP_SYNC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "MAP_TYPE": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "MCL_CURRENT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MCL_FUTURE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MCL_ONFAULT": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MNT_DETACH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MNT_EXPIRE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MNT_FORCE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MSG_BATCH": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "MSG_CMSG_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "MSG_CONFIRM": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "MSG_CTRUNC": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MSG_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MSG_DONTWAIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "MSG_EOR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MSG_ERRQUEUE": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "MSG_FASTOPEN": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "MSG_FIN": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "MSG_MORE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MSG_NOSIGNAL": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MSG_OOB": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MSG_PEEK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MSG_PROXY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MSG_RST": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "MSG_SYN": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "MSG_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "MSG_TRYHARD": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MSG_WAITALL": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MSG_WAITFORONE": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "MSG_ZEROCOPY": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "MS_ACTIVE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "MS_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MS_BIND": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "MS_DIRSYNC": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "MS_INVALIDATE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MS_I_VERSION": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), + "MS_KERNMOUNT": reflect.ValueOf(constant.MakeFromLiteral("4194304", token.INT, 0)), + "MS_LAZYTIME": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "MS_MANDLOCK": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "MS_MGC_MSK": reflect.ValueOf(constant.MakeFromLiteral("4294901760", token.INT, 0)), + "MS_MGC_VAL": reflect.ValueOf(constant.MakeFromLiteral("3236757504", token.INT, 0)), + "MS_MOVE": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "MS_NOATIME": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "MS_NODEV": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MS_NODIRATIME": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "MS_NOEXEC": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "MS_NOSUID": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "MS_NOSYMFOLLOW": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "MS_NOUSER": reflect.ValueOf(constant.MakeFromLiteral("-2147483648", token.INT, 0)), + "MS_POSIXACL": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "MS_PRIVATE": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "MS_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "MS_REC": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "MS_RELATIME": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "MS_REMOUNT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "MS_RMT_MASK": reflect.ValueOf(constant.MakeFromLiteral("41943121", token.INT, 0)), + "MS_SHARED": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "MS_SILENT": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "MS_SLAVE": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "MS_STRICTATIME": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "MS_SYNC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "MS_SYNCHRONOUS": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "MS_UNBINDABLE": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "Madvise": reflect.ValueOf(syscall.Madvise), + "Mkdir": reflect.ValueOf(syscall.Mkdir), + "Mkdirat": reflect.ValueOf(syscall.Mkdirat), + "Mkfifo": reflect.ValueOf(syscall.Mkfifo), + "Mknod": reflect.ValueOf(syscall.Mknod), + "Mknodat": reflect.ValueOf(syscall.Mknodat), + "Mlock": reflect.ValueOf(syscall.Mlock), + "Mlockall": reflect.ValueOf(syscall.Mlockall), + "Mmap": reflect.ValueOf(syscall.Mmap), + "Mount": reflect.ValueOf(syscall.Mount), + "Mprotect": reflect.ValueOf(syscall.Mprotect), + "Munlock": reflect.ValueOf(syscall.Munlock), + "Munlockall": reflect.ValueOf(syscall.Munlockall), + "Munmap": reflect.ValueOf(syscall.Munmap), + "NAME_MAX": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "NETLINK_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NETLINK_AUDIT": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NETLINK_BROADCAST_ERROR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NETLINK_CAP_ACK": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NETLINK_CONNECTOR": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "NETLINK_CRYPTO": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "NETLINK_DNRTMSG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "NETLINK_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NETLINK_ECRYPTFS": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "NETLINK_EXT_ACK": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "NETLINK_FIB_LOOKUP": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "NETLINK_FIREWALL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NETLINK_GENERIC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "NETLINK_GET_STRICT_CHK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NETLINK_INET_DIAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NETLINK_IP6_FW": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "NETLINK_ISCSI": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NETLINK_KOBJECT_UEVENT": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "NETLINK_LISTEN_ALL_NSID": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NETLINK_LIST_MEMBERSHIPS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "NETLINK_NETFILTER": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "NETLINK_NFLOG": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "NETLINK_NO_ENOBUFS": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "NETLINK_PKTINFO": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NETLINK_RDMA": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "NETLINK_ROUTE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "NETLINK_RX_RING": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NETLINK_SCSITRANSPORT": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "NETLINK_SELINUX": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NETLINK_SMC": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "NETLINK_SOCK_DIAG": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NETLINK_TX_RING": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "NETLINK_UNUSED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NETLINK_USERSOCK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NETLINK_XFRM": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "NLA_ALIGNTO": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NLA_F_NESTED": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "NLA_F_NET_BYTEORDER": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "NLA_HDRLEN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NLMSG_ALIGNTO": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NLMSG_DONE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "NLMSG_ERROR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NLMSG_HDRLEN": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "NLMSG_MIN_TYPE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "NLMSG_NOOP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NLMSG_OVERRUN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NLM_F_ACK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "NLM_F_ACK_TLVS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "NLM_F_APPEND": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "NLM_F_ATOMIC": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "NLM_F_CAPPED": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "NLM_F_CREATE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "NLM_F_DUMP": reflect.ValueOf(constant.MakeFromLiteral("768", token.INT, 0)), + "NLM_F_DUMP_FILTERED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "NLM_F_DUMP_INTR": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "NLM_F_ECHO": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "NLM_F_EXCL": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "NLM_F_MATCH": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "NLM_F_MULTI": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "NLM_F_NONREC": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "NLM_F_REPLACE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "NLM_F_REQUEST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "NLM_F_ROOT": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "NOFLSH": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "Nanosleep": reflect.ValueOf(syscall.Nanosleep), + "NetlinkRIB": reflect.ValueOf(syscall.NetlinkRIB), + "NsecToTimespec": reflect.ValueOf(syscall.NsecToTimespec), + "NsecToTimeval": reflect.ValueOf(syscall.NsecToTimeval), + "OCRNL": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "OFDEL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "OFILL": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "OLCUC": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "ONLCR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "ONLRET": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "ONOCR": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "OPOST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "O_ACCMODE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "O_APPEND": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "O_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "O_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "O_CREAT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "O_DIRECT": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "O_DIRECTORY": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "O_DSYNC": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "O_EXCL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "O_FSYNC": reflect.ValueOf(constant.MakeFromLiteral("1052672", token.INT, 0)), + "O_LARGEFILE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_NDELAY": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_NOATIME": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "O_NOCTTY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "O_NOFOLLOW": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "O_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "O_PATH": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "O_RDONLY": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "O_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "O_RSYNC": reflect.ValueOf(constant.MakeFromLiteral("1052672", token.INT, 0)), + "O_SYNC": reflect.ValueOf(constant.MakeFromLiteral("1052672", token.INT, 0)), + "O_TMPFILE": reflect.ValueOf(constant.MakeFromLiteral("4259840", token.INT, 0)), + "O_TRUNC": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "O_WRONLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "Open": reflect.ValueOf(syscall.Open), + "Openat": reflect.ValueOf(syscall.Openat), + "PACKET_ADD_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PACKET_AUXDATA": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PACKET_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PACKET_COPY_THRESH": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PACKET_DROP_MEMBERSHIP": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PACKET_FANOUT": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "PACKET_FANOUT_CBPF": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PACKET_FANOUT_CPU": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PACKET_FANOUT_DATA": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PACKET_FANOUT_EBPF": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PACKET_FANOUT_FLAG_DEFRAG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "PACKET_FANOUT_FLAG_ROLLOVER": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "PACKET_FANOUT_FLAG_UNIQUEID": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "PACKET_FANOUT_HASH": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PACKET_FANOUT_LB": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PACKET_FANOUT_QM": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PACKET_FANOUT_RND": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PACKET_FANOUT_ROLLOVER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PACKET_FASTROUTE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PACKET_HDRLEN": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "PACKET_HOST": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PACKET_IGNORE_OUTGOING": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PACKET_KERNEL": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PACKET_LOOPBACK": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PACKET_LOSS": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PACKET_MR_ALLMULTI": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PACKET_MR_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PACKET_MR_PROMISC": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PACKET_MR_UNICAST": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PACKET_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PACKET_ORIGDEV": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "PACKET_OTHERHOST": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PACKET_OUTGOING": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PACKET_QDISC_BYPASS": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PACKET_RECV_OUTPUT": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PACKET_RESERVE": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PACKET_ROLLOVER_STATS": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PACKET_RX_RING": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PACKET_STATISTICS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PACKET_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PACKET_TX_HAS_OFF": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "PACKET_TX_RING": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PACKET_TX_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PACKET_USER": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PACKET_VERSION": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "PACKET_VNET_HDR": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PARENB": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "PARITY_CRC16_PR0": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PARITY_CRC16_PR0_CCITT": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PARITY_CRC16_PR1": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PARITY_CRC16_PR1_CCITT": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PARITY_CRC32_PR0_CCITT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PARITY_CRC32_PR1_CCITT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PARITY_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PARITY_NONE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PARMRK": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PARODD": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "PENDIN": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "PRIO_PGRP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PRIO_PROCESS": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PRIO_USER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PROT_EXEC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PROT_GROWSDOWN": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "PROT_GROWSUP": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "PROT_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PROT_READ": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PROT_WRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_CAPBSET_DROP": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PR_CAPBSET_READ": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "PR_CAP_AMBIENT": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "PR_CAP_AMBIENT_CLEAR_ALL": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_CAP_AMBIENT_IS_SET": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_CAP_AMBIENT_LOWER": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_CAP_AMBIENT_RAISE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_ENDIAN_BIG": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_ENDIAN_LITTLE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_ENDIAN_PPC_LITTLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_FPEMU_NOPRINT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_FPEMU_SIGFPE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_FP_EXC_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_FP_EXC_DISABLED": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_FP_EXC_DIV": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "PR_FP_EXC_INV": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "PR_FP_EXC_NONRECOV": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_FP_EXC_OVF": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "PR_FP_EXC_PRECISE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_FP_EXC_RES": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "PR_FP_EXC_SW_ENABLE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PR_FP_EXC_UND": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "PR_FP_MODE_FR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_FP_MODE_FRE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_GET_CHILD_SUBREAPER": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "PR_GET_DUMPABLE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_GET_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "PR_GET_FPEMU": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "PR_GET_FPEXC": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "PR_GET_FP_MODE": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "PR_GET_IO_FLUSHER": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "PR_GET_KEEPCAPS": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PR_GET_NAME": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PR_GET_NO_NEW_PRIVS": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "PR_GET_PDEATHSIG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_GET_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "PR_GET_SECUREBITS": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "PR_GET_SPECULATION_CTRL": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "PR_GET_TAGGED_ADDR_CTRL": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "PR_GET_THP_DISABLE": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "PR_GET_TID_ADDRESS": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "PR_GET_TIMERSLACK": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "PR_GET_TIMING": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PR_GET_TSC": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "PR_GET_UNALIGN": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PR_MCE_KILL": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "PR_MCE_KILL_CLEAR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_MCE_KILL_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_MCE_KILL_EARLY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_MCE_KILL_GET": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "PR_MCE_KILL_LATE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_MCE_KILL_SET": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_MPX_DISABLE_MANAGEMENT": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "PR_MPX_ENABLE_MANAGEMENT": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "PR_MTE_TAG_MASK": reflect.ValueOf(constant.MakeFromLiteral("524280", token.INT, 0)), + "PR_MTE_TAG_SHIFT": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_MTE_TCF_ASYNC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_MTE_TCF_MASK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PR_MTE_TCF_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_MTE_TCF_SHIFT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_MTE_TCF_SYNC": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_PAC_APDAKEY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_PAC_APDBKEY": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PR_PAC_APGAKEY": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PR_PAC_APIAKEY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_PAC_APIBKEY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_PAC_GET_ENABLED_KEYS": reflect.ValueOf(constant.MakeFromLiteral("61", token.INT, 0)), + "PR_PAC_RESET_KEYS": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), + "PR_PAC_SET_ENABLED_KEYS": reflect.ValueOf(constant.MakeFromLiteral("60", token.INT, 0)), + "PR_SCHED_CORE": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), + "PR_SCHED_CORE_CREATE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SCHED_CORE_GET": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SCHED_CORE_MAX": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_SCHED_CORE_SCOPE_PROCESS_GROUP": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_SCHED_CORE_SCOPE_THREAD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SCHED_CORE_SCOPE_THREAD_GROUP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SCHED_CORE_SHARE_FROM": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_SCHED_CORE_SHARE_TO": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_SET_CHILD_SUBREAPER": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "PR_SET_DUMPABLE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_SET_ENDIAN": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "PR_SET_FPEMU": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "PR_SET_FPEXC": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PR_SET_FP_MODE": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "PR_SET_IO_FLUSHER": reflect.ValueOf(constant.MakeFromLiteral("57", token.INT, 0)), + "PR_SET_KEEPCAPS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PR_SET_MM": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "PR_SET_MM_ARG_END": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "PR_SET_MM_ARG_START": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PR_SET_MM_AUXV": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PR_SET_MM_BRK": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PR_SET_MM_END_CODE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_SET_MM_END_DATA": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_SET_MM_ENV_END": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "PR_SET_MM_ENV_START": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "PR_SET_MM_EXE_FILE": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PR_SET_MM_MAP": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PR_SET_MM_MAP_SIZE": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PR_SET_MM_START_BRK": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PR_SET_MM_START_CODE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SET_MM_START_DATA": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PR_SET_MM_START_STACK": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PR_SET_NAME": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "PR_SET_NO_NEW_PRIVS": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "PR_SET_PDEATHSIG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SET_PTRACER": reflect.ValueOf(constant.MakeFromLiteral("1499557217", token.INT, 0)), + "PR_SET_PTRACER_ANY": reflect.ValueOf(constant.MakeFromLiteral("18446744073709551615", token.INT, 0)), + "PR_SET_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "PR_SET_SECUREBITS": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "PR_SET_SPECULATION_CTRL": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "PR_SET_SYSCALL_USER_DISPATCH": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "PR_SET_TAGGED_ADDR_CTRL": reflect.ValueOf(constant.MakeFromLiteral("55", token.INT, 0)), + "PR_SET_THP_DISABLE": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "PR_SET_TIMERSLACK": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "PR_SET_TIMING": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "PR_SET_TSC": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "PR_SET_UNALIGN": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PR_SET_VMA": reflect.ValueOf(constant.MakeFromLiteral("1398164801", token.INT, 0)), + "PR_SET_VMA_ANON_NAME": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SPEC_DISABLE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PR_SPEC_DISABLE_NOEXEC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PR_SPEC_ENABLE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_SPEC_FORCE_DISABLE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PR_SPEC_INDIRECT_BRANCH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SPEC_L1D_FLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_SPEC_NOT_AFFECTED": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SPEC_PRCTL": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_SPEC_STORE_BYPASS": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SVE_GET_VL": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "PR_SVE_SET_VL": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "PR_SVE_SET_VL_ONEXEC": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "PR_SVE_VL_INHERIT": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "PR_SVE_VL_LEN_MASK": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "PR_SYS_DISPATCH_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_SYS_DISPATCH_ON": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_TAGGED_ADDR_ENABLE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_TASK_PERF_EVENTS_DISABLE": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "PR_TASK_PERF_EVENTS_ENABLE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PR_TIMING_STATISTICAL": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PR_TIMING_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_TSC_ENABLE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_TSC_SIGSEGV": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PR_UNALIGN_NOPRINT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PR_UNALIGN_SIGBUS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_ATTACH": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PTRACE_CONT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PTRACE_DETACH": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "PTRACE_EVENTMSG_SYSCALL_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_EVENTMSG_SYSCALL_EXIT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_EVENT_CLONE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PTRACE_EVENT_EXEC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PTRACE_EVENT_EXIT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PTRACE_EVENT_FORK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_EVENT_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "PTRACE_EVENT_STOP": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PTRACE_EVENT_VFORK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_EVENT_VFORK_DONE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PTRACE_GETEVENTMSG": reflect.ValueOf(constant.MakeFromLiteral("16897", token.INT, 0)), + "PTRACE_GETREGS": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "PTRACE_GETREGSET": reflect.ValueOf(constant.MakeFromLiteral("16900", token.INT, 0)), + "PTRACE_GETSIGINFO": reflect.ValueOf(constant.MakeFromLiteral("16898", token.INT, 0)), + "PTRACE_GETSIGMASK": reflect.ValueOf(constant.MakeFromLiteral("16906", token.INT, 0)), + "PTRACE_GET_RSEQ_CONFIGURATION": reflect.ValueOf(constant.MakeFromLiteral("16911", token.INT, 0)), + "PTRACE_GET_SYSCALL_INFO": reflect.ValueOf(constant.MakeFromLiteral("16910", token.INT, 0)), + "PTRACE_INTERRUPT": reflect.ValueOf(constant.MakeFromLiteral("16903", token.INT, 0)), + "PTRACE_KILL": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PTRACE_LISTEN": reflect.ValueOf(constant.MakeFromLiteral("16904", token.INT, 0)), + "PTRACE_O_EXITKILL": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "PTRACE_O_MASK": reflect.ValueOf(constant.MakeFromLiteral("3145983", token.INT, 0)), + "PTRACE_O_SUSPEND_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "PTRACE_O_TRACECLONE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "PTRACE_O_TRACEEXEC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "PTRACE_O_TRACEEXIT": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "PTRACE_O_TRACEFORK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_O_TRACESECCOMP": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "PTRACE_O_TRACESYSGOOD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_O_TRACEVFORK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PTRACE_O_TRACEVFORKDONE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PTRACE_PEEKDATA": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_PEEKSIGINFO": reflect.ValueOf(constant.MakeFromLiteral("16905", token.INT, 0)), + "PTRACE_PEEKSIGINFO_SHARED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_PEEKTEXT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_PEEKUSR": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PTRACE_POKEDATA": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "PTRACE_POKETEXT": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "PTRACE_POKEUSR": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "PTRACE_SECCOMP_GET_FILTER": reflect.ValueOf(constant.MakeFromLiteral("16908", token.INT, 0)), + "PTRACE_SECCOMP_GET_METADATA": reflect.ValueOf(constant.MakeFromLiteral("16909", token.INT, 0)), + "PTRACE_SEIZE": reflect.ValueOf(constant.MakeFromLiteral("16902", token.INT, 0)), + "PTRACE_SETOPTIONS": reflect.ValueOf(constant.MakeFromLiteral("16896", token.INT, 0)), + "PTRACE_SETREGS": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "PTRACE_SETREGSET": reflect.ValueOf(constant.MakeFromLiteral("16901", token.INT, 0)), + "PTRACE_SETSIGINFO": reflect.ValueOf(constant.MakeFromLiteral("16899", token.INT, 0)), + "PTRACE_SETSIGMASK": reflect.ValueOf(constant.MakeFromLiteral("16907", token.INT, 0)), + "PTRACE_SINGLESTEP": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "PTRACE_SYSCALL": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "PTRACE_SYSCALL_INFO_ENTRY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "PTRACE_SYSCALL_INFO_EXIT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "PTRACE_SYSCALL_INFO_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "PTRACE_SYSCALL_INFO_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "PTRACE_SYSEMU": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "PTRACE_SYSEMU_SINGLESTEP": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "PTRACE_TRACEME": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "ParseDirent": reflect.ValueOf(syscall.ParseDirent), + "ParseNetlinkMessage": reflect.ValueOf(syscall.ParseNetlinkMessage), + "ParseNetlinkRouteAttr": reflect.ValueOf(syscall.ParseNetlinkRouteAttr), + "ParseSocketControlMessage": reflect.ValueOf(syscall.ParseSocketControlMessage), + "ParseUnixCredentials": reflect.ValueOf(syscall.ParseUnixCredentials), + "ParseUnixRights": reflect.ValueOf(syscall.ParseUnixRights), + "PathMax": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "Pause": reflect.ValueOf(syscall.Pause), + "Pipe": reflect.ValueOf(syscall.Pipe), + "Pipe2": reflect.ValueOf(syscall.Pipe2), + "PivotRoot": reflect.ValueOf(syscall.PivotRoot), + "Pread": reflect.ValueOf(syscall.Pread), + "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)), + "RLIMIT_CPU": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RLIMIT_DATA": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RLIMIT_FSIZE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RLIMIT_NOFILE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "RLIMIT_STACK": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RLIM_INFINITY": reflect.ValueOf(constant.MakeFromLiteral("18446744073709551615", token.INT, 0)), + "RTAX_ADVMSS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTAX_CC_ALGO": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTAX_CWND": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "RTAX_FASTOPEN_NO_COOKIE": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "RTAX_FEATURES": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "RTAX_FEATURE_ALLFRAG": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTAX_FEATURE_ECN": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTAX_FEATURE_MASK": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "RTAX_FEATURE_SACK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTAX_FEATURE_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTAX_HOPLIMIT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "RTAX_INITCWND": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RTAX_INITRWND": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "RTAX_LOCK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTAX_MAX": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "RTAX_MTU": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTAX_QUICKACK": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "RTAX_REORDERING": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "RTAX_RTO_MIN": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "RTAX_RTT": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTAX_RTTVAR": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "RTAX_SSTHRESH": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "RTAX_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RTAX_WINDOW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RTA_ALIGNTO": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTA_CACHEINFO": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "RTA_DST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTA_FLOW": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RTA_GATEWAY": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "RTA_IIF": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RTA_MAX": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "RTA_METRICS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTA_MULTIPATH": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "RTA_OIF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTA_PREFSRC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "RTA_PRIORITY": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "RTA_SRC": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTA_TABLE": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "RTA_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RTCF_DIRECTSRC": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "RTCF_DOREDIRECT": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "RTCF_LOG": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "RTCF_MASQ": reflect.ValueOf(constant.MakeFromLiteral("4194304", token.INT, 0)), + "RTCF_NAT": reflect.ValueOf(constant.MakeFromLiteral("8388608", token.INT, 0)), + "RTCF_VALVE": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "RTF_ADDRCLASSMASK": reflect.ValueOf(constant.MakeFromLiteral("4160749568", token.INT, 0)), + "RTF_ADDRCONF": reflect.ValueOf(constant.MakeFromLiteral("262144", token.INT, 0)), + "RTF_ALLONLINK": reflect.ValueOf(constant.MakeFromLiteral("131072", token.INT, 0)), + "RTF_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("268435456", token.INT, 0)), + "RTF_CACHE": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "RTF_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("65536", token.INT, 0)), + "RTF_DYNAMIC": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTF_FLOW": reflect.ValueOf(constant.MakeFromLiteral("33554432", token.INT, 0)), + "RTF_GATEWAY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTF_HOST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTF_INTERFACE": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "RTF_IRTT": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "RTF_LINKRT": reflect.ValueOf(constant.MakeFromLiteral("1048576", token.INT, 0)), + "RTF_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "RTF_MODIFIED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "RTF_MSS": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "RTF_MTU": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "RTF_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "RTF_NAT": reflect.ValueOf(constant.MakeFromLiteral("134217728", token.INT, 0)), + "RTF_NOFORWARD": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "RTF_NONEXTHOP": reflect.ValueOf(constant.MakeFromLiteral("2097152", token.INT, 0)), + "RTF_NOPMTUDISC": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "RTF_POLICY": reflect.ValueOf(constant.MakeFromLiteral("67108864", token.INT, 0)), + "RTF_REINSTATE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTF_REJECT": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "RTF_STATIC": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "RTF_THROW": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "RTF_UP": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTF_WINDOW": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "RTF_XRESOLVE": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "RTM_BASE": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTM_DELACTION": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "RTM_DELADDR": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "RTM_DELADDRLABEL": reflect.ValueOf(constant.MakeFromLiteral("73", token.INT, 0)), + "RTM_DELCHAIN": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "RTM_DELLINK": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "RTM_DELLINKPROP": reflect.ValueOf(constant.MakeFromLiteral("109", token.INT, 0)), + "RTM_DELMDB": reflect.ValueOf(constant.MakeFromLiteral("85", token.INT, 0)), + "RTM_DELNEIGH": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "RTM_DELNETCONF": reflect.ValueOf(constant.MakeFromLiteral("81", token.INT, 0)), + "RTM_DELNEXTHOP": reflect.ValueOf(constant.MakeFromLiteral("105", token.INT, 0)), + "RTM_DELNEXTHOPBUCKET": reflect.ValueOf(constant.MakeFromLiteral("117", token.INT, 0)), + "RTM_DELNSID": reflect.ValueOf(constant.MakeFromLiteral("89", token.INT, 0)), + "RTM_DELQDISC": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "RTM_DELROUTE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "RTM_DELRULE": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "RTM_DELTCLASS": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "RTM_DELTFILTER": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "RTM_DELVLAN": reflect.ValueOf(constant.MakeFromLiteral("113", token.INT, 0)), + "RTM_F_CLONED": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "RTM_F_EQUALIZE": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "RTM_F_FIB_MATCH": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "RTM_F_LOOKUP_TABLE": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "RTM_F_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "RTM_F_OFFLOAD": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "RTM_F_OFFLOAD_FAILED": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "RTM_F_PREFIX": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "RTM_F_TRAP": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "RTM_GETACTION": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "RTM_GETADDR": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "RTM_GETADDRLABEL": reflect.ValueOf(constant.MakeFromLiteral("74", token.INT, 0)), + "RTM_GETANYCAST": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), + "RTM_GETCHAIN": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "RTM_GETDCB": reflect.ValueOf(constant.MakeFromLiteral("78", token.INT, 0)), + "RTM_GETLINK": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "RTM_GETLINKPROP": reflect.ValueOf(constant.MakeFromLiteral("110", token.INT, 0)), + "RTM_GETMDB": reflect.ValueOf(constant.MakeFromLiteral("86", token.INT, 0)), + "RTM_GETMULTICAST": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "RTM_GETNEIGH": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "RTM_GETNEIGHTBL": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), + "RTM_GETNETCONF": reflect.ValueOf(constant.MakeFromLiteral("82", token.INT, 0)), + "RTM_GETNEXTHOP": reflect.ValueOf(constant.MakeFromLiteral("106", token.INT, 0)), + "RTM_GETNEXTHOPBUCKET": reflect.ValueOf(constant.MakeFromLiteral("118", token.INT, 0)), + "RTM_GETNSID": reflect.ValueOf(constant.MakeFromLiteral("90", token.INT, 0)), + "RTM_GETQDISC": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "RTM_GETROUTE": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "RTM_GETRULE": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "RTM_GETSTATS": reflect.ValueOf(constant.MakeFromLiteral("94", token.INT, 0)), + "RTM_GETTCLASS": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "RTM_GETTFILTER": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "RTM_GETVLAN": reflect.ValueOf(constant.MakeFromLiteral("114", token.INT, 0)), + "RTM_MAX": reflect.ValueOf(constant.MakeFromLiteral("119", token.INT, 0)), + "RTM_NEWACTION": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "RTM_NEWADDR": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "RTM_NEWADDRLABEL": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), + "RTM_NEWCACHEREPORT": reflect.ValueOf(constant.MakeFromLiteral("96", token.INT, 0)), + "RTM_NEWCHAIN": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "RTM_NEWLINK": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTM_NEWLINKPROP": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "RTM_NEWMDB": reflect.ValueOf(constant.MakeFromLiteral("84", token.INT, 0)), + "RTM_NEWNDUSEROPT": reflect.ValueOf(constant.MakeFromLiteral("68", token.INT, 0)), + "RTM_NEWNEIGH": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "RTM_NEWNEIGHTBL": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "RTM_NEWNETCONF": reflect.ValueOf(constant.MakeFromLiteral("80", token.INT, 0)), + "RTM_NEWNEXTHOP": reflect.ValueOf(constant.MakeFromLiteral("104", token.INT, 0)), + "RTM_NEWNEXTHOPBUCKET": reflect.ValueOf(constant.MakeFromLiteral("116", token.INT, 0)), + "RTM_NEWNSID": reflect.ValueOf(constant.MakeFromLiteral("88", token.INT, 0)), + "RTM_NEWNVLAN": reflect.ValueOf(constant.MakeFromLiteral("112", token.INT, 0)), + "RTM_NEWPREFIX": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "RTM_NEWQDISC": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "RTM_NEWROUTE": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "RTM_NEWRULE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "RTM_NEWSTATS": reflect.ValueOf(constant.MakeFromLiteral("92", token.INT, 0)), + "RTM_NEWTCLASS": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "RTM_NEWTFILTER": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "RTM_NR_FAMILIES": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "RTM_NR_MSGTYPES": reflect.ValueOf(constant.MakeFromLiteral("104", token.INT, 0)), + "RTM_SETDCB": reflect.ValueOf(constant.MakeFromLiteral("79", token.INT, 0)), + "RTM_SETLINK": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "RTM_SETNEIGHTBL": reflect.ValueOf(constant.MakeFromLiteral("67", token.INT, 0)), + "RTNH_ALIGNTO": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTNH_COMPARE_MASK": reflect.ValueOf(constant.MakeFromLiteral("89", token.INT, 0)), + "RTNH_F_DEAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTNH_F_LINKDOWN": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTNH_F_OFFLOAD": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTNH_F_ONLINK": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTNH_F_PERVASIVE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTNH_F_TRAP": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "RTNH_F_UNRESOLVED": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "RTNLGRP_IPV4_IFADDR": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "RTNLGRP_IPV4_MROUTE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "RTNLGRP_IPV4_ROUTE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "RTNLGRP_IPV4_RULE": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTNLGRP_IPV6_IFADDR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "RTNLGRP_IPV6_IFINFO": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "RTNLGRP_IPV6_MROUTE": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "RTNLGRP_IPV6_PREFIX": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "RTNLGRP_IPV6_ROUTE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RTNLGRP_IPV6_RULE": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "RTNLGRP_LINK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTNLGRP_ND_USEROPT": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "RTNLGRP_NEIGH": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RTNLGRP_NONE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RTNLGRP_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTNLGRP_TC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTN_ANYCAST": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTN_BLACKHOLE": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "RTN_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RTN_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTN_MAX": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RTN_MULTICAST": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "RTN_NAT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "RTN_PROHIBIT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTN_THROW": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "RTN_UNICAST": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTN_UNREACHABLE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "RTN_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RTN_XRESOLVE": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RTPROT_BABEL": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "RTPROT_BGP": reflect.ValueOf(constant.MakeFromLiteral("186", token.INT, 0)), + "RTPROT_BIRD": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "RTPROT_BOOT": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "RTPROT_DHCP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "RTPROT_DNROUTED": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "RTPROT_EIGRP": reflect.ValueOf(constant.MakeFromLiteral("192", token.INT, 0)), + "RTPROT_GATED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "RTPROT_ISIS": reflect.ValueOf(constant.MakeFromLiteral("187", token.INT, 0)), + "RTPROT_KEEPALIVED": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "RTPROT_KERNEL": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "RTPROT_MROUTED": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "RTPROT_MRT": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "RTPROT_NTK": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "RTPROT_OPENR": reflect.ValueOf(constant.MakeFromLiteral("99", token.INT, 0)), + "RTPROT_OSPF": reflect.ValueOf(constant.MakeFromLiteral("188", token.INT, 0)), + "RTPROT_RA": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "RTPROT_REDIRECT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "RTPROT_RIP": reflect.ValueOf(constant.MakeFromLiteral("189", token.INT, 0)), + "RTPROT_STATIC": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "RTPROT_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RTPROT_XORP": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "RTPROT_ZEBRA": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "RT_CLASS_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "RT_CLASS_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "RT_CLASS_MAIN": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "RT_CLASS_MAX": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "RT_CLASS_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RT_SCOPE_HOST": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "RT_SCOPE_LINK": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "RT_SCOPE_NOWHERE": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "RT_SCOPE_SITE": reflect.ValueOf(constant.MakeFromLiteral("200", token.INT, 0)), + "RT_SCOPE_UNIVERSE": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "RT_TABLE_COMPAT": reflect.ValueOf(constant.MakeFromLiteral("252", token.INT, 0)), + "RT_TABLE_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("253", token.INT, 0)), + "RT_TABLE_LOCAL": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "RT_TABLE_MAIN": reflect.ValueOf(constant.MakeFromLiteral("254", token.INT, 0)), + "RT_TABLE_MAX": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), + "RT_TABLE_UNSPEC": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "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)), + "Read": reflect.ValueOf(syscall.Read), + "ReadDirent": reflect.ValueOf(syscall.ReadDirent), + "Readlink": reflect.ValueOf(syscall.Readlink), + "Recvfrom": reflect.ValueOf(syscall.Recvfrom), + "Recvmsg": reflect.ValueOf(syscall.Recvmsg), + "Removexattr": reflect.ValueOf(syscall.Removexattr), + "Rename": reflect.ValueOf(syscall.Rename), + "Renameat": reflect.ValueOf(syscall.Renameat), + "Rmdir": reflect.ValueOf(syscall.Rmdir), + "SCM_CREDENTIALS": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SCM_RIGHTS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SCM_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SCM_TIMESTAMPING": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SCM_TIMESTAMPING_OPT_STATS": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), + "SCM_TIMESTAMPING_PKTINFO": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "SCM_TIMESTAMPNS": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SCM_TXTIME": reflect.ValueOf(constant.MakeFromLiteral("61", token.INT, 0)), + "SCM_WIFI_STATUS": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SHUT_RD": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SHUT_RDWR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SHUT_WR": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SIGABRT": reflect.ValueOf(syscall.SIGABRT), + "SIGALRM": reflect.ValueOf(syscall.SIGALRM), + "SIGBUS": reflect.ValueOf(syscall.SIGBUS), + "SIGCHLD": reflect.ValueOf(syscall.SIGCHLD), + "SIGCLD": reflect.ValueOf(syscall.SIGCLD), + "SIGCONT": reflect.ValueOf(syscall.SIGCONT), + "SIGFPE": reflect.ValueOf(syscall.SIGFPE), + "SIGHUP": reflect.ValueOf(syscall.SIGHUP), + "SIGILL": reflect.ValueOf(syscall.SIGILL), + "SIGINT": reflect.ValueOf(syscall.SIGINT), + "SIGIO": reflect.ValueOf(syscall.SIGIO), + "SIGIOT": reflect.ValueOf(syscall.SIGIOT), + "SIGKILL": reflect.ValueOf(syscall.SIGKILL), + "SIGPIPE": reflect.ValueOf(syscall.SIGPIPE), + "SIGPOLL": reflect.ValueOf(syscall.SIGPOLL), + "SIGPROF": reflect.ValueOf(syscall.SIGPROF), + "SIGPWR": reflect.ValueOf(syscall.SIGPWR), + "SIGQUIT": reflect.ValueOf(syscall.SIGQUIT), + "SIGSEGV": reflect.ValueOf(syscall.SIGSEGV), + "SIGSTKFLT": reflect.ValueOf(syscall.SIGSTKFLT), + "SIGSTOP": reflect.ValueOf(syscall.SIGSTOP), + "SIGSYS": reflect.ValueOf(syscall.SIGSYS), + "SIGTERM": reflect.ValueOf(syscall.SIGTERM), + "SIGTRAP": reflect.ValueOf(syscall.SIGTRAP), + "SIGTSTP": reflect.ValueOf(syscall.SIGTSTP), + "SIGTTIN": reflect.ValueOf(syscall.SIGTTIN), + "SIGTTOU": reflect.ValueOf(syscall.SIGTTOU), + "SIGURG": reflect.ValueOf(syscall.SIGURG), + "SIGUSR1": reflect.ValueOf(syscall.SIGUSR1), + "SIGUSR2": reflect.ValueOf(syscall.SIGUSR2), + "SIGVTALRM": reflect.ValueOf(syscall.SIGVTALRM), + "SIGWINCH": reflect.ValueOf(syscall.SIGWINCH), + "SIGXCPU": reflect.ValueOf(syscall.SIGXCPU), + "SIGXFSZ": reflect.ValueOf(syscall.SIGXFSZ), + "SIOCADDDLCI": reflect.ValueOf(constant.MakeFromLiteral("35200", token.INT, 0)), + "SIOCADDMULTI": reflect.ValueOf(constant.MakeFromLiteral("35121", token.INT, 0)), + "SIOCADDRT": reflect.ValueOf(constant.MakeFromLiteral("35083", token.INT, 0)), + "SIOCATMARK": reflect.ValueOf(constant.MakeFromLiteral("35077", token.INT, 0)), + "SIOCDARP": reflect.ValueOf(constant.MakeFromLiteral("35155", token.INT, 0)), + "SIOCDELDLCI": reflect.ValueOf(constant.MakeFromLiteral("35201", token.INT, 0)), + "SIOCDELMULTI": reflect.ValueOf(constant.MakeFromLiteral("35122", token.INT, 0)), + "SIOCDELRT": reflect.ValueOf(constant.MakeFromLiteral("35084", token.INT, 0)), + "SIOCDEVPRIVATE": reflect.ValueOf(constant.MakeFromLiteral("35312", token.INT, 0)), + "SIOCDIFADDR": reflect.ValueOf(constant.MakeFromLiteral("35126", token.INT, 0)), + "SIOCDRARP": reflect.ValueOf(constant.MakeFromLiteral("35168", token.INT, 0)), + "SIOCGARP": reflect.ValueOf(constant.MakeFromLiteral("35156", token.INT, 0)), + "SIOCGIFADDR": reflect.ValueOf(constant.MakeFromLiteral("35093", token.INT, 0)), + "SIOCGIFBR": reflect.ValueOf(constant.MakeFromLiteral("35136", token.INT, 0)), + "SIOCGIFBRDADDR": reflect.ValueOf(constant.MakeFromLiteral("35097", token.INT, 0)), + "SIOCGIFCONF": reflect.ValueOf(constant.MakeFromLiteral("35090", token.INT, 0)), + "SIOCGIFCOUNT": reflect.ValueOf(constant.MakeFromLiteral("35128", token.INT, 0)), + "SIOCGIFDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("35095", token.INT, 0)), + "SIOCGIFENCAP": reflect.ValueOf(constant.MakeFromLiteral("35109", token.INT, 0)), + "SIOCGIFFLAGS": reflect.ValueOf(constant.MakeFromLiteral("35091", token.INT, 0)), + "SIOCGIFHWADDR": reflect.ValueOf(constant.MakeFromLiteral("35111", token.INT, 0)), + "SIOCGIFINDEX": reflect.ValueOf(constant.MakeFromLiteral("35123", token.INT, 0)), + "SIOCGIFMAP": reflect.ValueOf(constant.MakeFromLiteral("35184", token.INT, 0)), + "SIOCGIFMEM": reflect.ValueOf(constant.MakeFromLiteral("35103", token.INT, 0)), + "SIOCGIFMETRIC": reflect.ValueOf(constant.MakeFromLiteral("35101", token.INT, 0)), + "SIOCGIFMTU": reflect.ValueOf(constant.MakeFromLiteral("35105", token.INT, 0)), + "SIOCGIFNAME": reflect.ValueOf(constant.MakeFromLiteral("35088", token.INT, 0)), + "SIOCGIFNETMASK": reflect.ValueOf(constant.MakeFromLiteral("35099", token.INT, 0)), + "SIOCGIFPFLAGS": reflect.ValueOf(constant.MakeFromLiteral("35125", token.INT, 0)), + "SIOCGIFSLAVE": reflect.ValueOf(constant.MakeFromLiteral("35113", token.INT, 0)), + "SIOCGIFTXQLEN": reflect.ValueOf(constant.MakeFromLiteral("35138", token.INT, 0)), + "SIOCGPGRP": reflect.ValueOf(constant.MakeFromLiteral("35076", token.INT, 0)), + "SIOCGRARP": reflect.ValueOf(constant.MakeFromLiteral("35169", token.INT, 0)), + "SIOCGSTAMPNS_OLD": reflect.ValueOf(constant.MakeFromLiteral("35079", token.INT, 0)), + "SIOCGSTAMP_OLD": reflect.ValueOf(constant.MakeFromLiteral("35078", token.INT, 0)), + "SIOCPROTOPRIVATE": reflect.ValueOf(constant.MakeFromLiteral("35296", token.INT, 0)), + "SIOCRTMSG": reflect.ValueOf(constant.MakeFromLiteral("35085", token.INT, 0)), + "SIOCSARP": reflect.ValueOf(constant.MakeFromLiteral("35157", token.INT, 0)), + "SIOCSIFADDR": reflect.ValueOf(constant.MakeFromLiteral("35094", token.INT, 0)), + "SIOCSIFBR": reflect.ValueOf(constant.MakeFromLiteral("35137", token.INT, 0)), + "SIOCSIFBRDADDR": reflect.ValueOf(constant.MakeFromLiteral("35098", token.INT, 0)), + "SIOCSIFDSTADDR": reflect.ValueOf(constant.MakeFromLiteral("35096", token.INT, 0)), + "SIOCSIFENCAP": reflect.ValueOf(constant.MakeFromLiteral("35110", token.INT, 0)), + "SIOCSIFFLAGS": reflect.ValueOf(constant.MakeFromLiteral("35092", token.INT, 0)), + "SIOCSIFHWADDR": reflect.ValueOf(constant.MakeFromLiteral("35108", token.INT, 0)), + "SIOCSIFHWBROADCAST": reflect.ValueOf(constant.MakeFromLiteral("35127", token.INT, 0)), + "SIOCSIFLINK": reflect.ValueOf(constant.MakeFromLiteral("35089", token.INT, 0)), + "SIOCSIFMAP": reflect.ValueOf(constant.MakeFromLiteral("35185", token.INT, 0)), + "SIOCSIFMEM": reflect.ValueOf(constant.MakeFromLiteral("35104", token.INT, 0)), + "SIOCSIFMETRIC": reflect.ValueOf(constant.MakeFromLiteral("35102", token.INT, 0)), + "SIOCSIFMTU": reflect.ValueOf(constant.MakeFromLiteral("35106", token.INT, 0)), + "SIOCSIFNAME": reflect.ValueOf(constant.MakeFromLiteral("35107", token.INT, 0)), + "SIOCSIFNETMASK": reflect.ValueOf(constant.MakeFromLiteral("35100", token.INT, 0)), + "SIOCSIFPFLAGS": reflect.ValueOf(constant.MakeFromLiteral("35124", token.INT, 0)), + "SIOCSIFSLAVE": reflect.ValueOf(constant.MakeFromLiteral("35120", token.INT, 0)), + "SIOCSIFTXQLEN": reflect.ValueOf(constant.MakeFromLiteral("35139", token.INT, 0)), + "SIOCSPGRP": reflect.ValueOf(constant.MakeFromLiteral("35074", token.INT, 0)), + "SIOCSRARP": reflect.ValueOf(constant.MakeFromLiteral("35170", token.INT, 0)), + "SOCK_BUF_LOCK_MASK": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_CLOEXEC": reflect.ValueOf(constant.MakeFromLiteral("524288", token.INT, 0)), + "SOCK_DCCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SOCK_DGRAM": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_NONBLOCK": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "SOCK_PACKET": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SOCK_RAW": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SOCK_RCVBUF_LOCK": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SOCK_RDM": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SOCK_SEQPACKET": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SOCK_SNDBUF_LOCK": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOCK_STREAM": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_AAL": reflect.ValueOf(constant.MakeFromLiteral("265", token.INT, 0)), + "SOL_ALG": reflect.ValueOf(constant.MakeFromLiteral("279", token.INT, 0)), + "SOL_ATM": reflect.ValueOf(constant.MakeFromLiteral("264", token.INT, 0)), + "SOL_BLUETOOTH": reflect.ValueOf(constant.MakeFromLiteral("274", token.INT, 0)), + "SOL_CAIF": reflect.ValueOf(constant.MakeFromLiteral("278", token.INT, 0)), + "SOL_DCCP": reflect.ValueOf(constant.MakeFromLiteral("269", token.INT, 0)), + "SOL_DECNET": reflect.ValueOf(constant.MakeFromLiteral("261", token.INT, 0)), + "SOL_ICMPV6": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "SOL_IP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SOL_IPV6": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SOL_IRDA": reflect.ValueOf(constant.MakeFromLiteral("266", token.INT, 0)), + "SOL_IUCV": reflect.ValueOf(constant.MakeFromLiteral("277", token.INT, 0)), + "SOL_KCM": reflect.ValueOf(constant.MakeFromLiteral("281", token.INT, 0)), + "SOL_LLC": reflect.ValueOf(constant.MakeFromLiteral("268", token.INT, 0)), + "SOL_NETBEUI": reflect.ValueOf(constant.MakeFromLiteral("267", token.INT, 0)), + "SOL_NETLINK": reflect.ValueOf(constant.MakeFromLiteral("270", token.INT, 0)), + "SOL_NFC": reflect.ValueOf(constant.MakeFromLiteral("280", token.INT, 0)), + "SOL_PACKET": reflect.ValueOf(constant.MakeFromLiteral("263", token.INT, 0)), + "SOL_PNPIPE": reflect.ValueOf(constant.MakeFromLiteral("275", token.INT, 0)), + "SOL_PPPOL2TP": reflect.ValueOf(constant.MakeFromLiteral("273", token.INT, 0)), + "SOL_RAW": reflect.ValueOf(constant.MakeFromLiteral("255", token.INT, 0)), + "SOL_RDS": reflect.ValueOf(constant.MakeFromLiteral("276", token.INT, 0)), + "SOL_RXRPC": reflect.ValueOf(constant.MakeFromLiteral("272", token.INT, 0)), + "SOL_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SOL_TCP": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SOL_TIPC": reflect.ValueOf(constant.MakeFromLiteral("271", token.INT, 0)), + "SOL_TLS": reflect.ValueOf(constant.MakeFromLiteral("282", token.INT, 0)), + "SOL_X25": reflect.ValueOf(constant.MakeFromLiteral("262", token.INT, 0)), + "SOL_XDP": reflect.ValueOf(constant.MakeFromLiteral("283", token.INT, 0)), + "SOMAXCONN": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "SO_ACCEPTCONN": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "SO_ATTACH_BPF": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "SO_ATTACH_FILTER": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "SO_ATTACH_REUSEPORT_CBPF": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "SO_ATTACH_REUSEPORT_EBPF": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "SO_BINDTODEVICE": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "SO_BINDTOIFINDEX": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), + "SO_BPF_EXTENSIONS": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "SO_BROADCAST": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SO_BSDCOMPAT": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "SO_BUF_LOCK": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), + "SO_BUSY_POLL": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "SO_BUSY_POLL_BUDGET": reflect.ValueOf(constant.MakeFromLiteral("70", token.INT, 0)), + "SO_CNX_ADVICE": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "SO_COOKIE": reflect.ValueOf(constant.MakeFromLiteral("57", token.INT, 0)), + "SO_DEBUG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SO_DETACH_BPF": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "SO_DETACH_FILTER": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "SO_DETACH_REUSEPORT_BPF": reflect.ValueOf(constant.MakeFromLiteral("68", token.INT, 0)), + "SO_DOMAIN": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "SO_DONTROUTE": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SO_ERROR": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SO_GET_FILTER": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "SO_INCOMING_CPU": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "SO_INCOMING_NAPI_ID": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "SO_KEEPALIVE": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SO_LINGER": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "SO_LOCK_FILTER": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "SO_MARK": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "SO_MAX_PACING_RATE": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "SO_MEMINFO": reflect.ValueOf(constant.MakeFromLiteral("55", token.INT, 0)), + "SO_NETNS_COOKIE": reflect.ValueOf(constant.MakeFromLiteral("71", token.INT, 0)), + "SO_NOFCS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "SO_NO_CHECK": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SO_OOBINLINE": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SO_PASSCRED": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SO_PASSSEC": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "SO_PEEK_OFF": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "SO_PEERCRED": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "SO_PEERGROUPS": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "SO_PEERNAME": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "SO_PEERSEC": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "SO_PREFER_BUSY_POLL": reflect.ValueOf(constant.MakeFromLiteral("69", token.INT, 0)), + "SO_PRIORITY": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SO_PROTOCOL": reflect.ValueOf(constant.MakeFromLiteral("38", token.INT, 0)), + "SO_RCVBUF": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SO_RCVBUFFORCE": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "SO_RCVLOWAT": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "SO_RCVTIMEO": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SO_RCVTIMEO_NEW": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), + "SO_RCVTIMEO_OLD": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SO_RESERVE_MEM": reflect.ValueOf(constant.MakeFromLiteral("73", token.INT, 0)), + "SO_REUSEADDR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SO_REUSEPORT": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "SO_RXQ_OVFL": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "SO_SECURITY_AUTHENTICATION": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "SO_SECURITY_ENCRYPTION_NETWORK": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "SO_SECURITY_ENCRYPTION_TRANSPORT": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "SO_SELECT_ERR_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "SO_SNDBUF": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SO_SNDBUFFORCE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SO_SNDLOWAT": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "SO_SNDTIMEO": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "SO_SNDTIMEO_NEW": reflect.ValueOf(constant.MakeFromLiteral("67", token.INT, 0)), + "SO_SNDTIMEO_OLD": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "SO_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SO_TIMESTAMPING": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SO_TIMESTAMPING_NEW": reflect.ValueOf(constant.MakeFromLiteral("65", token.INT, 0)), + "SO_TIMESTAMPING_OLD": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SO_TIMESTAMPNS": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SO_TIMESTAMPNS_NEW": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "SO_TIMESTAMPNS_OLD": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SO_TIMESTAMP_NEW": reflect.ValueOf(constant.MakeFromLiteral("63", token.INT, 0)), + "SO_TIMESTAMP_OLD": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SO_TXTIME": reflect.ValueOf(constant.MakeFromLiteral("61", token.INT, 0)), + "SO_TYPE": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SO_WIFI_STATUS": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SO_ZEROCOPY": reflect.ValueOf(constant.MakeFromLiteral("60", token.INT, 0)), + "SYS_ACCEPT": reflect.ValueOf(constant.MakeFromLiteral("202", token.INT, 0)), + "SYS_ACCEPT4": reflect.ValueOf(constant.MakeFromLiteral("242", token.INT, 0)), + "SYS_ACCT": reflect.ValueOf(constant.MakeFromLiteral("89", token.INT, 0)), + "SYS_ADD_KEY": reflect.ValueOf(constant.MakeFromLiteral("217", token.INT, 0)), + "SYS_ADJTIMEX": reflect.ValueOf(constant.MakeFromLiteral("171", token.INT, 0)), + "SYS_ARCH_SPECIFIC_SYSCALL": reflect.ValueOf(constant.MakeFromLiteral("244", token.INT, 0)), + "SYS_BIND": reflect.ValueOf(constant.MakeFromLiteral("200", token.INT, 0)), + "SYS_BPF": reflect.ValueOf(constant.MakeFromLiteral("280", token.INT, 0)), + "SYS_BRK": reflect.ValueOf(constant.MakeFromLiteral("214", token.INT, 0)), + "SYS_CAPGET": reflect.ValueOf(constant.MakeFromLiteral("90", token.INT, 0)), + "SYS_CAPSET": reflect.ValueOf(constant.MakeFromLiteral("91", token.INT, 0)), + "SYS_CHDIR": reflect.ValueOf(constant.MakeFromLiteral("49", token.INT, 0)), + "SYS_CHROOT": reflect.ValueOf(constant.MakeFromLiteral("51", token.INT, 0)), + "SYS_CLOCK_ADJTIME": reflect.ValueOf(constant.MakeFromLiteral("266", token.INT, 0)), + "SYS_CLOCK_GETRES": reflect.ValueOf(constant.MakeFromLiteral("114", token.INT, 0)), + "SYS_CLOCK_GETTIME": reflect.ValueOf(constant.MakeFromLiteral("113", token.INT, 0)), + "SYS_CLOCK_NANOSLEEP": reflect.ValueOf(constant.MakeFromLiteral("115", token.INT, 0)), + "SYS_CLOCK_SETTIME": reflect.ValueOf(constant.MakeFromLiteral("112", token.INT, 0)), + "SYS_CLONE": reflect.ValueOf(constant.MakeFromLiteral("220", token.INT, 0)), + "SYS_CLOSE": reflect.ValueOf(constant.MakeFromLiteral("57", token.INT, 0)), + "SYS_CLOSE_RANGE": reflect.ValueOf(constant.MakeFromLiteral("436", token.INT, 0)), + "SYS_CONNECT": reflect.ValueOf(constant.MakeFromLiteral("203", token.INT, 0)), + "SYS_COPY_FILE_RANGE": reflect.ValueOf(constant.MakeFromLiteral("285", token.INT, 0)), + "SYS_DELETE_MODULE": reflect.ValueOf(constant.MakeFromLiteral("106", token.INT, 0)), + "SYS_DUP": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "SYS_DUP3": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "SYS_EPOLL_CREATE1": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SYS_EPOLL_CTL": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "SYS_EPOLL_PWAIT": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "SYS_EPOLL_PWAIT2": reflect.ValueOf(constant.MakeFromLiteral("441", token.INT, 0)), + "SYS_EVENTFD2": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "SYS_EXECVE": reflect.ValueOf(constant.MakeFromLiteral("221", token.INT, 0)), + "SYS_EXECVEAT": reflect.ValueOf(constant.MakeFromLiteral("281", token.INT, 0)), + "SYS_EXIT": reflect.ValueOf(constant.MakeFromLiteral("93", token.INT, 0)), + "SYS_EXIT_GROUP": reflect.ValueOf(constant.MakeFromLiteral("94", token.INT, 0)), + "SYS_FACCESSAT": reflect.ValueOf(constant.MakeFromLiteral("48", token.INT, 0)), + "SYS_FACCESSAT2": reflect.ValueOf(constant.MakeFromLiteral("439", token.INT, 0)), + "SYS_FADVISE64": reflect.ValueOf(constant.MakeFromLiteral("223", token.INT, 0)), + "SYS_FALLOCATE": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)), + "SYS_FANOTIFY_INIT": reflect.ValueOf(constant.MakeFromLiteral("262", token.INT, 0)), + "SYS_FANOTIFY_MARK": reflect.ValueOf(constant.MakeFromLiteral("263", token.INT, 0)), + "SYS_FCHDIR": reflect.ValueOf(constant.MakeFromLiteral("50", token.INT, 0)), + "SYS_FCHMOD": reflect.ValueOf(constant.MakeFromLiteral("52", token.INT, 0)), + "SYS_FCHMODAT": reflect.ValueOf(constant.MakeFromLiteral("53", token.INT, 0)), + "SYS_FCHOWN": reflect.ValueOf(constant.MakeFromLiteral("55", token.INT, 0)), + "SYS_FCHOWNAT": reflect.ValueOf(constant.MakeFromLiteral("54", token.INT, 0)), + "SYS_FCNTL": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "SYS_FDATASYNC": reflect.ValueOf(constant.MakeFromLiteral("83", token.INT, 0)), + "SYS_FGETXATTR": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "SYS_FINIT_MODULE": reflect.ValueOf(constant.MakeFromLiteral("273", token.INT, 0)), + "SYS_FLISTXATTR": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "SYS_FLOCK": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SYS_FREMOVEXATTR": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SYS_FSCONFIG": reflect.ValueOf(constant.MakeFromLiteral("431", token.INT, 0)), + "SYS_FSETXATTR": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "SYS_FSMOUNT": reflect.ValueOf(constant.MakeFromLiteral("432", token.INT, 0)), + "SYS_FSOPEN": reflect.ValueOf(constant.MakeFromLiteral("430", token.INT, 0)), + "SYS_FSPICK": reflect.ValueOf(constant.MakeFromLiteral("433", token.INT, 0)), + "SYS_FSTATFS": reflect.ValueOf(constant.MakeFromLiteral("44", token.INT, 0)), + "SYS_FSYNC": reflect.ValueOf(constant.MakeFromLiteral("82", token.INT, 0)), + "SYS_FTRUNCATE": reflect.ValueOf(constant.MakeFromLiteral("46", token.INT, 0)), + "SYS_FUTEX": reflect.ValueOf(constant.MakeFromLiteral("98", token.INT, 0)), + "SYS_FUTEX_WAITV": reflect.ValueOf(constant.MakeFromLiteral("449", token.INT, 0)), + "SYS_GETCPU": reflect.ValueOf(constant.MakeFromLiteral("168", token.INT, 0)), + "SYS_GETCWD": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "SYS_GETDENTS64": reflect.ValueOf(constant.MakeFromLiteral("61", token.INT, 0)), + "SYS_GETEGID": reflect.ValueOf(constant.MakeFromLiteral("177", token.INT, 0)), + "SYS_GETEUID": reflect.ValueOf(constant.MakeFromLiteral("175", token.INT, 0)), + "SYS_GETGID": reflect.ValueOf(constant.MakeFromLiteral("176", token.INT, 0)), + "SYS_GETGROUPS": reflect.ValueOf(constant.MakeFromLiteral("158", token.INT, 0)), + "SYS_GETITIMER": reflect.ValueOf(constant.MakeFromLiteral("102", token.INT, 0)), + "SYS_GETPEERNAME": reflect.ValueOf(constant.MakeFromLiteral("205", token.INT, 0)), + "SYS_GETPGID": reflect.ValueOf(constant.MakeFromLiteral("155", token.INT, 0)), + "SYS_GETPID": reflect.ValueOf(constant.MakeFromLiteral("172", token.INT, 0)), + "SYS_GETPPID": reflect.ValueOf(constant.MakeFromLiteral("173", token.INT, 0)), + "SYS_GETPRIORITY": reflect.ValueOf(constant.MakeFromLiteral("141", token.INT, 0)), + "SYS_GETRANDOM": reflect.ValueOf(constant.MakeFromLiteral("278", token.INT, 0)), + "SYS_GETRESGID": reflect.ValueOf(constant.MakeFromLiteral("150", token.INT, 0)), + "SYS_GETRESUID": reflect.ValueOf(constant.MakeFromLiteral("148", token.INT, 0)), + "SYS_GETRUSAGE": reflect.ValueOf(constant.MakeFromLiteral("165", token.INT, 0)), + "SYS_GETSID": reflect.ValueOf(constant.MakeFromLiteral("156", token.INT, 0)), + "SYS_GETSOCKNAME": reflect.ValueOf(constant.MakeFromLiteral("204", token.INT, 0)), + "SYS_GETSOCKOPT": reflect.ValueOf(constant.MakeFromLiteral("209", token.INT, 0)), + "SYS_GETTID": reflect.ValueOf(constant.MakeFromLiteral("178", token.INT, 0)), + "SYS_GETTIMEOFDAY": reflect.ValueOf(constant.MakeFromLiteral("169", token.INT, 0)), + "SYS_GETUID": reflect.ValueOf(constant.MakeFromLiteral("174", token.INT, 0)), + "SYS_GETXATTR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SYS_GET_MEMPOLICY": reflect.ValueOf(constant.MakeFromLiteral("236", token.INT, 0)), + "SYS_GET_ROBUST_LIST": reflect.ValueOf(constant.MakeFromLiteral("100", token.INT, 0)), + "SYS_INIT_MODULE": reflect.ValueOf(constant.MakeFromLiteral("105", token.INT, 0)), + "SYS_INOTIFY_ADD_WATCH": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "SYS_INOTIFY_INIT1": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "SYS_INOTIFY_RM_WATCH": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "SYS_IOCTL": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "SYS_IOPRIO_GET": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "SYS_IOPRIO_SET": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "SYS_IO_CANCEL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "SYS_IO_DESTROY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SYS_IO_GETEVENTS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SYS_IO_PGETEVENTS": reflect.ValueOf(constant.MakeFromLiteral("292", token.INT, 0)), + "SYS_IO_SETUP": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "SYS_IO_SUBMIT": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "SYS_IO_URING_ENTER": reflect.ValueOf(constant.MakeFromLiteral("426", token.INT, 0)), + "SYS_IO_URING_REGISTER": reflect.ValueOf(constant.MakeFromLiteral("427", token.INT, 0)), + "SYS_IO_URING_SETUP": reflect.ValueOf(constant.MakeFromLiteral("425", token.INT, 0)), + "SYS_KCMP": reflect.ValueOf(constant.MakeFromLiteral("272", token.INT, 0)), + "SYS_KEXEC_FILE_LOAD": reflect.ValueOf(constant.MakeFromLiteral("294", token.INT, 0)), + "SYS_KEXEC_LOAD": reflect.ValueOf(constant.MakeFromLiteral("104", token.INT, 0)), + "SYS_KEYCTL": reflect.ValueOf(constant.MakeFromLiteral("219", token.INT, 0)), + "SYS_KILL": reflect.ValueOf(constant.MakeFromLiteral("129", token.INT, 0)), + "SYS_LANDLOCK_ADD_RULE": reflect.ValueOf(constant.MakeFromLiteral("445", token.INT, 0)), + "SYS_LANDLOCK_CREATE_RULESET": reflect.ValueOf(constant.MakeFromLiteral("444", token.INT, 0)), + "SYS_LANDLOCK_RESTRICT_SELF": reflect.ValueOf(constant.MakeFromLiteral("446", token.INT, 0)), + "SYS_LGETXATTR": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "SYS_LINKAT": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "SYS_LISTEN": reflect.ValueOf(constant.MakeFromLiteral("201", token.INT, 0)), + "SYS_LISTXATTR": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "SYS_LLISTXATTR": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SYS_LOOKUP_DCOOKIE": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "SYS_LREMOVEXATTR": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "SYS_LSEEK": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), + "SYS_LSETXATTR": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "SYS_MADVISE": reflect.ValueOf(constant.MakeFromLiteral("233", token.INT, 0)), + "SYS_MBIND": reflect.ValueOf(constant.MakeFromLiteral("235", token.INT, 0)), + "SYS_MEMBARRIER": reflect.ValueOf(constant.MakeFromLiteral("283", token.INT, 0)), + "SYS_MEMFD_CREATE": reflect.ValueOf(constant.MakeFromLiteral("279", token.INT, 0)), + "SYS_MIGRATE_PAGES": reflect.ValueOf(constant.MakeFromLiteral("238", token.INT, 0)), + "SYS_MINCORE": reflect.ValueOf(constant.MakeFromLiteral("232", token.INT, 0)), + "SYS_MKDIRAT": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "SYS_MKNODAT": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "SYS_MLOCK": reflect.ValueOf(constant.MakeFromLiteral("228", token.INT, 0)), + "SYS_MLOCK2": reflect.ValueOf(constant.MakeFromLiteral("284", token.INT, 0)), + "SYS_MLOCKALL": reflect.ValueOf(constant.MakeFromLiteral("230", token.INT, 0)), + "SYS_MMAP": reflect.ValueOf(constant.MakeFromLiteral("222", token.INT, 0)), + "SYS_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("40", token.INT, 0)), + "SYS_MOUNT_SETATTR": reflect.ValueOf(constant.MakeFromLiteral("442", token.INT, 0)), + "SYS_MOVE_MOUNT": reflect.ValueOf(constant.MakeFromLiteral("429", token.INT, 0)), + "SYS_MOVE_PAGES": reflect.ValueOf(constant.MakeFromLiteral("239", token.INT, 0)), + "SYS_MPROTECT": reflect.ValueOf(constant.MakeFromLiteral("226", token.INT, 0)), + "SYS_MQ_GETSETATTR": reflect.ValueOf(constant.MakeFromLiteral("185", token.INT, 0)), + "SYS_MQ_NOTIFY": reflect.ValueOf(constant.MakeFromLiteral("184", token.INT, 0)), + "SYS_MQ_OPEN": reflect.ValueOf(constant.MakeFromLiteral("180", token.INT, 0)), + "SYS_MQ_TIMEDRECEIVE": reflect.ValueOf(constant.MakeFromLiteral("183", token.INT, 0)), + "SYS_MQ_TIMEDSEND": reflect.ValueOf(constant.MakeFromLiteral("182", token.INT, 0)), + "SYS_MQ_UNLINK": reflect.ValueOf(constant.MakeFromLiteral("181", token.INT, 0)), + "SYS_MREMAP": reflect.ValueOf(constant.MakeFromLiteral("216", token.INT, 0)), + "SYS_MSGCTL": reflect.ValueOf(constant.MakeFromLiteral("187", token.INT, 0)), + "SYS_MSGGET": reflect.ValueOf(constant.MakeFromLiteral("186", token.INT, 0)), + "SYS_MSGRCV": reflect.ValueOf(constant.MakeFromLiteral("188", token.INT, 0)), + "SYS_MSGSND": reflect.ValueOf(constant.MakeFromLiteral("189", token.INT, 0)), + "SYS_MSYNC": reflect.ValueOf(constant.MakeFromLiteral("227", token.INT, 0)), + "SYS_MUNLOCK": reflect.ValueOf(constant.MakeFromLiteral("229", token.INT, 0)), + "SYS_MUNLOCKALL": reflect.ValueOf(constant.MakeFromLiteral("231", token.INT, 0)), + "SYS_MUNMAP": reflect.ValueOf(constant.MakeFromLiteral("215", token.INT, 0)), + "SYS_NAME_TO_HANDLE_AT": reflect.ValueOf(constant.MakeFromLiteral("264", token.INT, 0)), + "SYS_NANOSLEEP": reflect.ValueOf(constant.MakeFromLiteral("101", token.INT, 0)), + "SYS_NFSSERVCTL": reflect.ValueOf(constant.MakeFromLiteral("42", token.INT, 0)), + "SYS_OPENAT": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "SYS_OPENAT2": reflect.ValueOf(constant.MakeFromLiteral("437", token.INT, 0)), + "SYS_OPEN_BY_HANDLE_AT": reflect.ValueOf(constant.MakeFromLiteral("265", token.INT, 0)), + "SYS_OPEN_TREE": reflect.ValueOf(constant.MakeFromLiteral("428", token.INT, 0)), + "SYS_PERF_EVENT_OPEN": reflect.ValueOf(constant.MakeFromLiteral("241", token.INT, 0)), + "SYS_PERSONALITY": reflect.ValueOf(constant.MakeFromLiteral("92", token.INT, 0)), + "SYS_PIDFD_GETFD": reflect.ValueOf(constant.MakeFromLiteral("438", token.INT, 0)), + "SYS_PIDFD_OPEN": reflect.ValueOf(constant.MakeFromLiteral("434", token.INT, 0)), + "SYS_PIDFD_SEND_SIGNAL": reflect.ValueOf(constant.MakeFromLiteral("424", token.INT, 0)), + "SYS_PIPE2": reflect.ValueOf(constant.MakeFromLiteral("59", token.INT, 0)), + "SYS_PIVOT_ROOT": reflect.ValueOf(constant.MakeFromLiteral("41", token.INT, 0)), + "SYS_PKEY_ALLOC": reflect.ValueOf(constant.MakeFromLiteral("289", token.INT, 0)), + "SYS_PKEY_FREE": reflect.ValueOf(constant.MakeFromLiteral("290", token.INT, 0)), + "SYS_PKEY_MPROTECT": reflect.ValueOf(constant.MakeFromLiteral("288", token.INT, 0)), + "SYS_PPOLL": reflect.ValueOf(constant.MakeFromLiteral("73", token.INT, 0)), + "SYS_PRCTL": reflect.ValueOf(constant.MakeFromLiteral("167", token.INT, 0)), + "SYS_PREAD64": reflect.ValueOf(constant.MakeFromLiteral("67", token.INT, 0)), + "SYS_PREADV": reflect.ValueOf(constant.MakeFromLiteral("69", token.INT, 0)), + "SYS_PREADV2": reflect.ValueOf(constant.MakeFromLiteral("286", token.INT, 0)), + "SYS_PRLIMIT64": reflect.ValueOf(constant.MakeFromLiteral("261", token.INT, 0)), + "SYS_PROCESS_MADVISE": reflect.ValueOf(constant.MakeFromLiteral("440", token.INT, 0)), + "SYS_PROCESS_MRELEASE": reflect.ValueOf(constant.MakeFromLiteral("448", token.INT, 0)), + "SYS_PROCESS_VM_READV": reflect.ValueOf(constant.MakeFromLiteral("270", token.INT, 0)), + "SYS_PROCESS_VM_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("271", token.INT, 0)), + "SYS_PSELECT6": reflect.ValueOf(constant.MakeFromLiteral("72", token.INT, 0)), + "SYS_PTRACE": reflect.ValueOf(constant.MakeFromLiteral("117", token.INT, 0)), + "SYS_PWRITE64": reflect.ValueOf(constant.MakeFromLiteral("68", token.INT, 0)), + "SYS_PWRITEV": reflect.ValueOf(constant.MakeFromLiteral("70", token.INT, 0)), + "SYS_PWRITEV2": reflect.ValueOf(constant.MakeFromLiteral("287", token.INT, 0)), + "SYS_QUOTACTL": reflect.ValueOf(constant.MakeFromLiteral("60", token.INT, 0)), + "SYS_QUOTACTL_FD": reflect.ValueOf(constant.MakeFromLiteral("443", token.INT, 0)), + "SYS_READ": reflect.ValueOf(constant.MakeFromLiteral("63", token.INT, 0)), + "SYS_READAHEAD": reflect.ValueOf(constant.MakeFromLiteral("213", token.INT, 0)), + "SYS_READLINKAT": reflect.ValueOf(constant.MakeFromLiteral("78", token.INT, 0)), + "SYS_READV": reflect.ValueOf(constant.MakeFromLiteral("65", token.INT, 0)), + "SYS_REBOOT": reflect.ValueOf(constant.MakeFromLiteral("142", token.INT, 0)), + "SYS_RECVFROM": reflect.ValueOf(constant.MakeFromLiteral("207", token.INT, 0)), + "SYS_RECVMMSG": reflect.ValueOf(constant.MakeFromLiteral("243", token.INT, 0)), + "SYS_RECVMSG": reflect.ValueOf(constant.MakeFromLiteral("212", token.INT, 0)), + "SYS_REMAP_FILE_PAGES": reflect.ValueOf(constant.MakeFromLiteral("234", token.INT, 0)), + "SYS_REMOVEXATTR": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "SYS_RENAMEAT2": reflect.ValueOf(constant.MakeFromLiteral("276", token.INT, 0)), + "SYS_REQUEST_KEY": reflect.ValueOf(constant.MakeFromLiteral("218", token.INT, 0)), + "SYS_RESTART_SYSCALL": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "SYS_RSEQ": reflect.ValueOf(constant.MakeFromLiteral("293", token.INT, 0)), + "SYS_RT_SIGACTION": reflect.ValueOf(constant.MakeFromLiteral("134", token.INT, 0)), + "SYS_RT_SIGPENDING": reflect.ValueOf(constant.MakeFromLiteral("136", token.INT, 0)), + "SYS_RT_SIGPROCMASK": reflect.ValueOf(constant.MakeFromLiteral("135", token.INT, 0)), + "SYS_RT_SIGQUEUEINFO": reflect.ValueOf(constant.MakeFromLiteral("138", token.INT, 0)), + "SYS_RT_SIGRETURN": reflect.ValueOf(constant.MakeFromLiteral("139", token.INT, 0)), + "SYS_RT_SIGSUSPEND": reflect.ValueOf(constant.MakeFromLiteral("133", token.INT, 0)), + "SYS_RT_SIGTIMEDWAIT": reflect.ValueOf(constant.MakeFromLiteral("137", token.INT, 0)), + "SYS_RT_TGSIGQUEUEINFO": reflect.ValueOf(constant.MakeFromLiteral("240", token.INT, 0)), + "SYS_SCHED_GETAFFINITY": reflect.ValueOf(constant.MakeFromLiteral("123", token.INT, 0)), + "SYS_SCHED_GETATTR": reflect.ValueOf(constant.MakeFromLiteral("275", token.INT, 0)), + "SYS_SCHED_GETPARAM": reflect.ValueOf(constant.MakeFromLiteral("121", token.INT, 0)), + "SYS_SCHED_GETSCHEDULER": reflect.ValueOf(constant.MakeFromLiteral("120", token.INT, 0)), + "SYS_SCHED_GET_PRIORITY_MAX": reflect.ValueOf(constant.MakeFromLiteral("125", token.INT, 0)), + "SYS_SCHED_GET_PRIORITY_MIN": reflect.ValueOf(constant.MakeFromLiteral("126", token.INT, 0)), + "SYS_SCHED_RR_GET_INTERVAL": reflect.ValueOf(constant.MakeFromLiteral("127", token.INT, 0)), + "SYS_SCHED_SETAFFINITY": reflect.ValueOf(constant.MakeFromLiteral("122", token.INT, 0)), + "SYS_SCHED_SETATTR": reflect.ValueOf(constant.MakeFromLiteral("274", token.INT, 0)), + "SYS_SCHED_SETPARAM": reflect.ValueOf(constant.MakeFromLiteral("118", token.INT, 0)), + "SYS_SCHED_SETSCHEDULER": reflect.ValueOf(constant.MakeFromLiteral("119", token.INT, 0)), + "SYS_SCHED_YIELD": reflect.ValueOf(constant.MakeFromLiteral("124", token.INT, 0)), + "SYS_SECCOMP": reflect.ValueOf(constant.MakeFromLiteral("277", token.INT, 0)), + "SYS_SEMCTL": reflect.ValueOf(constant.MakeFromLiteral("191", token.INT, 0)), + "SYS_SEMGET": reflect.ValueOf(constant.MakeFromLiteral("190", token.INT, 0)), + "SYS_SEMOP": reflect.ValueOf(constant.MakeFromLiteral("193", token.INT, 0)), + "SYS_SEMTIMEDOP": reflect.ValueOf(constant.MakeFromLiteral("192", token.INT, 0)), + "SYS_SENDFILE": reflect.ValueOf(constant.MakeFromLiteral("71", token.INT, 0)), + "SYS_SENDMMSG": reflect.ValueOf(constant.MakeFromLiteral("269", token.INT, 0)), + "SYS_SENDMSG": reflect.ValueOf(constant.MakeFromLiteral("211", token.INT, 0)), + "SYS_SENDTO": reflect.ValueOf(constant.MakeFromLiteral("206", token.INT, 0)), + "SYS_SETDOMAINNAME": reflect.ValueOf(constant.MakeFromLiteral("162", token.INT, 0)), + "SYS_SETFSGID": reflect.ValueOf(constant.MakeFromLiteral("152", token.INT, 0)), + "SYS_SETFSUID": reflect.ValueOf(constant.MakeFromLiteral("151", token.INT, 0)), + "SYS_SETGID": reflect.ValueOf(constant.MakeFromLiteral("144", token.INT, 0)), + "SYS_SETGROUPS": reflect.ValueOf(constant.MakeFromLiteral("159", token.INT, 0)), + "SYS_SETHOSTNAME": reflect.ValueOf(constant.MakeFromLiteral("161", token.INT, 0)), + "SYS_SETITIMER": reflect.ValueOf(constant.MakeFromLiteral("103", token.INT, 0)), + "SYS_SETNS": reflect.ValueOf(constant.MakeFromLiteral("268", token.INT, 0)), + "SYS_SETPGID": reflect.ValueOf(constant.MakeFromLiteral("154", token.INT, 0)), + "SYS_SETPRIORITY": reflect.ValueOf(constant.MakeFromLiteral("140", token.INT, 0)), + "SYS_SETREGID": reflect.ValueOf(constant.MakeFromLiteral("143", token.INT, 0)), + "SYS_SETRESGID": reflect.ValueOf(constant.MakeFromLiteral("149", token.INT, 0)), + "SYS_SETRESUID": reflect.ValueOf(constant.MakeFromLiteral("147", token.INT, 0)), + "SYS_SETREUID": reflect.ValueOf(constant.MakeFromLiteral("145", token.INT, 0)), + "SYS_SETSID": reflect.ValueOf(constant.MakeFromLiteral("157", token.INT, 0)), + "SYS_SETSOCKOPT": reflect.ValueOf(constant.MakeFromLiteral("208", token.INT, 0)), + "SYS_SETTIMEOFDAY": reflect.ValueOf(constant.MakeFromLiteral("170", token.INT, 0)), + "SYS_SETUID": reflect.ValueOf(constant.MakeFromLiteral("146", token.INT, 0)), + "SYS_SETXATTR": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "SYS_SET_MEMPOLICY": reflect.ValueOf(constant.MakeFromLiteral("237", token.INT, 0)), + "SYS_SET_MEMPOLICY_HOME_NODE": reflect.ValueOf(constant.MakeFromLiteral("450", token.INT, 0)), + "SYS_SET_ROBUST_LIST": reflect.ValueOf(constant.MakeFromLiteral("99", token.INT, 0)), + "SYS_SET_TID_ADDRESS": reflect.ValueOf(constant.MakeFromLiteral("96", token.INT, 0)), + "SYS_SHMAT": reflect.ValueOf(constant.MakeFromLiteral("196", token.INT, 0)), + "SYS_SHMCTL": reflect.ValueOf(constant.MakeFromLiteral("195", token.INT, 0)), + "SYS_SHMDT": reflect.ValueOf(constant.MakeFromLiteral("197", token.INT, 0)), + "SYS_SHMGET": reflect.ValueOf(constant.MakeFromLiteral("194", token.INT, 0)), + "SYS_SHUTDOWN": reflect.ValueOf(constant.MakeFromLiteral("210", token.INT, 0)), + "SYS_SIGALTSTACK": reflect.ValueOf(constant.MakeFromLiteral("132", token.INT, 0)), + "SYS_SIGNALFD4": reflect.ValueOf(constant.MakeFromLiteral("74", token.INT, 0)), + "SYS_SOCKET": reflect.ValueOf(constant.MakeFromLiteral("198", token.INT, 0)), + "SYS_SOCKETPAIR": reflect.ValueOf(constant.MakeFromLiteral("199", token.INT, 0)), + "SYS_SPLICE": reflect.ValueOf(constant.MakeFromLiteral("76", token.INT, 0)), + "SYS_STATFS": reflect.ValueOf(constant.MakeFromLiteral("43", token.INT, 0)), + "SYS_STATX": reflect.ValueOf(constant.MakeFromLiteral("291", token.INT, 0)), + "SYS_SWAPOFF": reflect.ValueOf(constant.MakeFromLiteral("225", token.INT, 0)), + "SYS_SWAPON": reflect.ValueOf(constant.MakeFromLiteral("224", token.INT, 0)), + "SYS_SYMLINKAT": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "SYS_SYNC": reflect.ValueOf(constant.MakeFromLiteral("81", token.INT, 0)), + "SYS_SYNCFS": reflect.ValueOf(constant.MakeFromLiteral("267", token.INT, 0)), + "SYS_SYNC_FILE_RANGE": reflect.ValueOf(constant.MakeFromLiteral("84", token.INT, 0)), + "SYS_SYSINFO": reflect.ValueOf(constant.MakeFromLiteral("179", token.INT, 0)), + "SYS_SYSLOG": reflect.ValueOf(constant.MakeFromLiteral("116", token.INT, 0)), + "SYS_TEE": reflect.ValueOf(constant.MakeFromLiteral("77", token.INT, 0)), + "SYS_TGKILL": reflect.ValueOf(constant.MakeFromLiteral("131", token.INT, 0)), + "SYS_TIMERFD_CREATE": reflect.ValueOf(constant.MakeFromLiteral("85", token.INT, 0)), + "SYS_TIMERFD_GETTIME": reflect.ValueOf(constant.MakeFromLiteral("87", token.INT, 0)), + "SYS_TIMERFD_SETTIME": reflect.ValueOf(constant.MakeFromLiteral("86", token.INT, 0)), + "SYS_TIMER_CREATE": reflect.ValueOf(constant.MakeFromLiteral("107", token.INT, 0)), + "SYS_TIMER_DELETE": reflect.ValueOf(constant.MakeFromLiteral("111", token.INT, 0)), + "SYS_TIMER_GETOVERRUN": reflect.ValueOf(constant.MakeFromLiteral("109", token.INT, 0)), + "SYS_TIMER_GETTIME": reflect.ValueOf(constant.MakeFromLiteral("108", token.INT, 0)), + "SYS_TIMER_SETTIME": reflect.ValueOf(constant.MakeFromLiteral("110", token.INT, 0)), + "SYS_TIMES": reflect.ValueOf(constant.MakeFromLiteral("153", token.INT, 0)), + "SYS_TKILL": reflect.ValueOf(constant.MakeFromLiteral("130", token.INT, 0)), + "SYS_TRUNCATE": reflect.ValueOf(constant.MakeFromLiteral("45", token.INT, 0)), + "SYS_UMASK": reflect.ValueOf(constant.MakeFromLiteral("166", token.INT, 0)), + "SYS_UMOUNT2": reflect.ValueOf(constant.MakeFromLiteral("39", token.INT, 0)), + "SYS_UNAME": reflect.ValueOf(constant.MakeFromLiteral("160", token.INT, 0)), + "SYS_UNLINKAT": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "SYS_UNSHARE": reflect.ValueOf(constant.MakeFromLiteral("97", token.INT, 0)), + "SYS_USERFAULTFD": reflect.ValueOf(constant.MakeFromLiteral("282", token.INT, 0)), + "SYS_UTIMENSAT": reflect.ValueOf(constant.MakeFromLiteral("88", token.INT, 0)), + "SYS_VHANGUP": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)), + "SYS_VMSPLICE": reflect.ValueOf(constant.MakeFromLiteral("75", token.INT, 0)), + "SYS_WAIT4": reflect.ValueOf(constant.MakeFromLiteral("260", token.INT, 0)), + "SYS_WAITID": reflect.ValueOf(constant.MakeFromLiteral("95", token.INT, 0)), + "SYS_WRITE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "SYS_WRITEV": reflect.ValueOf(constant.MakeFromLiteral("66", token.INT, 0)), + "S_BLKSIZE": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IEXEC": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "S_IFBLK": reflect.ValueOf(constant.MakeFromLiteral("24576", token.INT, 0)), + "S_IFCHR": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)), + "S_IFDIR": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "S_IFIFO": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)), + "S_IFLNK": reflect.ValueOf(constant.MakeFromLiteral("40960", token.INT, 0)), + "S_IFMT": reflect.ValueOf(constant.MakeFromLiteral("61440", token.INT, 0)), + "S_IFREG": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)), + "S_IFSOCK": reflect.ValueOf(constant.MakeFromLiteral("49152", token.INT, 0)), + "S_IREAD": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_IRGRP": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "S_IROTH": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "S_IRUSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "S_IRWXG": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "S_IRWXO": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "S_IRWXU": reflect.ValueOf(constant.MakeFromLiteral("448", token.INT, 0)), + "S_ISGID": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), + "S_ISUID": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)), + "S_ISVTX": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "S_IWGRP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "S_IWOTH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "S_IWRITE": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IWUSR": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "S_IXGRP": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "S_IXOTH": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "S_IXUSR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "Seek": reflect.ValueOf(syscall.Seek), + "Select": reflect.ValueOf(syscall.Select), + "Sendfile": reflect.ValueOf(syscall.Sendfile), + "Sendmsg": reflect.ValueOf(syscall.Sendmsg), + "SendmsgN": reflect.ValueOf(syscall.SendmsgN), + "Sendto": reflect.ValueOf(syscall.Sendto), + "SetLsfPromisc": reflect.ValueOf(syscall.SetLsfPromisc), + "SetNonblock": reflect.ValueOf(syscall.SetNonblock), + "Setdomainname": reflect.ValueOf(syscall.Setdomainname), + "Setegid": reflect.ValueOf(syscall.Setegid), + "Setenv": reflect.ValueOf(syscall.Setenv), + "Seteuid": reflect.ValueOf(syscall.Seteuid), + "Setfsgid": reflect.ValueOf(syscall.Setfsgid), + "Setfsuid": reflect.ValueOf(syscall.Setfsuid), + "Setgid": reflect.ValueOf(syscall.Setgid), + "Setgroups": reflect.ValueOf(syscall.Setgroups), + "Sethostname": reflect.ValueOf(syscall.Sethostname), + "Setpgid": reflect.ValueOf(syscall.Setpgid), + "Setpriority": reflect.ValueOf(syscall.Setpriority), + "Setregid": reflect.ValueOf(syscall.Setregid), + "Setresgid": reflect.ValueOf(syscall.Setresgid), + "Setresuid": reflect.ValueOf(syscall.Setresuid), + "Setreuid": reflect.ValueOf(syscall.Setreuid), + "Setrlimit": reflect.ValueOf(syscall.Setrlimit), + "Setsid": reflect.ValueOf(syscall.Setsid), + "SetsockoptByte": reflect.ValueOf(syscall.SetsockoptByte), + "SetsockoptICMPv6Filter": reflect.ValueOf(syscall.SetsockoptICMPv6Filter), + "SetsockoptIPMreq": reflect.ValueOf(syscall.SetsockoptIPMreq), + "SetsockoptIPMreqn": reflect.ValueOf(syscall.SetsockoptIPMreqn), + "SetsockoptIPv6Mreq": reflect.ValueOf(syscall.SetsockoptIPv6Mreq), + "SetsockoptInet4Addr": reflect.ValueOf(syscall.SetsockoptInet4Addr), + "SetsockoptInt": reflect.ValueOf(syscall.SetsockoptInt), + "SetsockoptLinger": reflect.ValueOf(syscall.SetsockoptLinger), + "SetsockoptString": reflect.ValueOf(syscall.SetsockoptString), + "SetsockoptTimeval": reflect.ValueOf(syscall.SetsockoptTimeval), + "Settimeofday": reflect.ValueOf(syscall.Settimeofday), + "Setuid": reflect.ValueOf(syscall.Setuid), + "Setxattr": reflect.ValueOf(syscall.Setxattr), + "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)), + "SizeofIPMreqn": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SizeofIPv6MTUInfo": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "SizeofIPv6Mreq": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SizeofIfAddrmsg": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SizeofIfInfomsg": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SizeofInet4Pktinfo": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SizeofInet6Pktinfo": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SizeofInotifyEvent": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SizeofLinger": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SizeofMsghdr": reflect.ValueOf(constant.MakeFromLiteral("56", token.INT, 0)), + "SizeofNlAttr": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SizeofNlMsgerr": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SizeofNlMsghdr": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SizeofRtAttr": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "SizeofRtGenmsg": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "SizeofRtMsg": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SizeofRtNexthop": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SizeofSockFilter": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "SizeofSockFprog": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SizeofSockaddrAny": reflect.ValueOf(constant.MakeFromLiteral("112", token.INT, 0)), + "SizeofSockaddrInet4": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "SizeofSockaddrInet6": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "SizeofSockaddrLinklayer": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "SizeofSockaddrNetlink": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SizeofSockaddrUnix": reflect.ValueOf(constant.MakeFromLiteral("110", token.INT, 0)), + "SizeofTCPInfo": reflect.ValueOf(constant.MakeFromLiteral("104", token.INT, 0)), + "SizeofUcred": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "SlicePtrFromStrings": reflect.ValueOf(syscall.SlicePtrFromStrings), + "Socket": reflect.ValueOf(syscall.Socket), + "SocketDisableIPv6": reflect.ValueOf(&syscall.SocketDisableIPv6).Elem(), + "Socketpair": reflect.ValueOf(syscall.Socketpair), + "Splice": reflect.ValueOf(syscall.Splice), + "Stat": reflect.ValueOf(syscall.Stat), + "Statfs": reflect.ValueOf(syscall.Statfs), + "Stderr": reflect.ValueOf(&syscall.Stderr).Elem(), + "Stdin": reflect.ValueOf(&syscall.Stdin).Elem(), + "Stdout": reflect.ValueOf(&syscall.Stdout).Elem(), + "StringBytePtr": reflect.ValueOf(syscall.StringBytePtr), + "StringByteSlice": reflect.ValueOf(syscall.StringByteSlice), + "StringSlicePtr": reflect.ValueOf(syscall.StringSlicePtr), + "Symlink": reflect.ValueOf(syscall.Symlink), + "Sync": reflect.ValueOf(syscall.Sync), + "SyncFileRange": reflect.ValueOf(syscall.SyncFileRange), + "Sysinfo": reflect.ValueOf(syscall.Sysinfo), + "TCFLSH": reflect.ValueOf(constant.MakeFromLiteral("21515", token.INT, 0)), + "TCGETS": reflect.ValueOf(constant.MakeFromLiteral("21505", token.INT, 0)), + "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)), + "TCP_CC_INFO": reflect.ValueOf(constant.MakeFromLiteral("26", token.INT, 0)), + "TCP_CM_INQ": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "TCP_CONGESTION": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "TCP_COOKIE_IN_ALWAYS": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TCP_COOKIE_MAX": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TCP_COOKIE_MIN": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TCP_COOKIE_OUT_NEVER": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TCP_COOKIE_PAIR_SIZE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TCP_COOKIE_TRANSACTIONS": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "TCP_CORK": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "TCP_DEFER_ACCEPT": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "TCP_FASTOPEN": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), + "TCP_FASTOPEN_CONNECT": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)), + "TCP_FASTOPEN_KEY": reflect.ValueOf(constant.MakeFromLiteral("33", token.INT, 0)), + "TCP_FASTOPEN_NO_COOKIE": reflect.ValueOf(constant.MakeFromLiteral("34", token.INT, 0)), + "TCP_INFO": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "TCP_INQ": reflect.ValueOf(constant.MakeFromLiteral("36", token.INT, 0)), + "TCP_KEEPCNT": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "TCP_KEEPIDLE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TCP_KEEPINTVL": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "TCP_LINGER2": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TCP_MAXSEG": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TCP_MAXWIN": reflect.ValueOf(constant.MakeFromLiteral("65535", token.INT, 0)), + "TCP_MAX_WINSHIFT": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TCP_MD5SIG": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "TCP_MD5SIG_EXT": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TCP_MD5SIG_FLAG_PREFIX": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TCP_MD5SIG_MAXKEYLEN": reflect.ValueOf(constant.MakeFromLiteral("80", token.INT, 0)), + "TCP_MSS": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), + "TCP_MSS_DEFAULT": reflect.ValueOf(constant.MakeFromLiteral("536", token.INT, 0)), + "TCP_MSS_DESIRED": reflect.ValueOf(constant.MakeFromLiteral("1220", token.INT, 0)), + "TCP_NODELAY": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TCP_NOTSENT_LOWAT": reflect.ValueOf(constant.MakeFromLiteral("25", token.INT, 0)), + "TCP_QUEUE_SEQ": reflect.ValueOf(constant.MakeFromLiteral("21", token.INT, 0)), + "TCP_QUICKACK": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "TCP_REPAIR": reflect.ValueOf(constant.MakeFromLiteral("19", token.INT, 0)), + "TCP_REPAIR_OFF": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TCP_REPAIR_OFF_NO_WP": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), + "TCP_REPAIR_ON": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TCP_REPAIR_OPTIONS": reflect.ValueOf(constant.MakeFromLiteral("22", token.INT, 0)), + "TCP_REPAIR_QUEUE": reflect.ValueOf(constant.MakeFromLiteral("20", token.INT, 0)), + "TCP_REPAIR_WINDOW": reflect.ValueOf(constant.MakeFromLiteral("29", token.INT, 0)), + "TCP_SAVED_SYN": reflect.ValueOf(constant.MakeFromLiteral("28", token.INT, 0)), + "TCP_SAVE_SYN": reflect.ValueOf(constant.MakeFromLiteral("27", token.INT, 0)), + "TCP_SYNCNT": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "TCP_S_DATA_IN": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TCP_S_DATA_OUT": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TCP_THIN_DUPACK": reflect.ValueOf(constant.MakeFromLiteral("17", token.INT, 0)), + "TCP_THIN_LINEAR_TIMEOUTS": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TCP_TIMESTAMP": reflect.ValueOf(constant.MakeFromLiteral("24", token.INT, 0)), + "TCP_TX_DELAY": reflect.ValueOf(constant.MakeFromLiteral("37", token.INT, 0)), + "TCP_ULP": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), + "TCP_USER_TIMEOUT": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)), + "TCP_WINDOW_CLAMP": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "TCP_ZEROCOPY_RECEIVE": reflect.ValueOf(constant.MakeFromLiteral("35", token.INT, 0)), + "TCSAFLUSH": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TCSETS": reflect.ValueOf(constant.MakeFromLiteral("21506", token.INT, 0)), + "TIOCCBRK": reflect.ValueOf(constant.MakeFromLiteral("21544", token.INT, 0)), + "TIOCCONS": reflect.ValueOf(constant.MakeFromLiteral("21533", token.INT, 0)), + "TIOCEXCL": reflect.ValueOf(constant.MakeFromLiteral("21516", token.INT, 0)), + "TIOCGDEV": reflect.ValueOf(constant.MakeFromLiteral("2147767346", token.INT, 0)), + "TIOCGETD": reflect.ValueOf(constant.MakeFromLiteral("21540", token.INT, 0)), + "TIOCGEXCL": reflect.ValueOf(constant.MakeFromLiteral("2147767360", token.INT, 0)), + "TIOCGICOUNT": reflect.ValueOf(constant.MakeFromLiteral("21597", token.INT, 0)), + "TIOCGISO7816": reflect.ValueOf(constant.MakeFromLiteral("2150126658", token.INT, 0)), + "TIOCGLCKTRMIOS": reflect.ValueOf(constant.MakeFromLiteral("21590", token.INT, 0)), + "TIOCGPGRP": reflect.ValueOf(constant.MakeFromLiteral("21519", token.INT, 0)), + "TIOCGPKT": reflect.ValueOf(constant.MakeFromLiteral("2147767352", token.INT, 0)), + "TIOCGPTLCK": reflect.ValueOf(constant.MakeFromLiteral("2147767353", token.INT, 0)), + "TIOCGPTN": reflect.ValueOf(constant.MakeFromLiteral("2147767344", token.INT, 0)), + "TIOCGPTPEER": reflect.ValueOf(constant.MakeFromLiteral("21569", token.INT, 0)), + "TIOCGRS485": reflect.ValueOf(constant.MakeFromLiteral("21550", token.INT, 0)), + "TIOCGSERIAL": reflect.ValueOf(constant.MakeFromLiteral("21534", token.INT, 0)), + "TIOCGSID": reflect.ValueOf(constant.MakeFromLiteral("21545", token.INT, 0)), + "TIOCGSOFTCAR": reflect.ValueOf(constant.MakeFromLiteral("21529", token.INT, 0)), + "TIOCGWINSZ": reflect.ValueOf(constant.MakeFromLiteral("21523", token.INT, 0)), + "TIOCINQ": reflect.ValueOf(constant.MakeFromLiteral("21531", token.INT, 0)), + "TIOCLINUX": reflect.ValueOf(constant.MakeFromLiteral("21532", token.INT, 0)), + "TIOCMBIC": reflect.ValueOf(constant.MakeFromLiteral("21527", token.INT, 0)), + "TIOCMBIS": reflect.ValueOf(constant.MakeFromLiteral("21526", token.INT, 0)), + "TIOCMGET": reflect.ValueOf(constant.MakeFromLiteral("21525", token.INT, 0)), + "TIOCMIWAIT": reflect.ValueOf(constant.MakeFromLiteral("21596", token.INT, 0)), + "TIOCMSET": reflect.ValueOf(constant.MakeFromLiteral("21528", token.INT, 0)), + "TIOCM_CAR": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TIOCM_CD": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TIOCM_CTS": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TIOCM_DSR": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TIOCM_DTR": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIOCM_LE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIOCM_RI": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TIOCM_RNG": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), + "TIOCM_RTS": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIOCM_SR": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TIOCM_ST": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TIOCNOTTY": reflect.ValueOf(constant.MakeFromLiteral("21538", token.INT, 0)), + "TIOCNXCL": reflect.ValueOf(constant.MakeFromLiteral("21517", token.INT, 0)), + "TIOCOUTQ": reflect.ValueOf(constant.MakeFromLiteral("21521", token.INT, 0)), + "TIOCPKT": reflect.ValueOf(constant.MakeFromLiteral("21536", token.INT, 0)), + "TIOCPKT_DATA": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "TIOCPKT_DOSTOP": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), + "TIOCPKT_FLUSHREAD": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIOCPKT_FLUSHWRITE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "TIOCPKT_IOCTL": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "TIOCPKT_NOSTOP": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "TIOCPKT_START": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "TIOCPKT_STOP": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "TIOCSBRK": reflect.ValueOf(constant.MakeFromLiteral("21543", token.INT, 0)), + "TIOCSCTTY": reflect.ValueOf(constant.MakeFromLiteral("21518", token.INT, 0)), + "TIOCSERCONFIG": reflect.ValueOf(constant.MakeFromLiteral("21587", token.INT, 0)), + "TIOCSERGETLSR": reflect.ValueOf(constant.MakeFromLiteral("21593", token.INT, 0)), + "TIOCSERGETMULTI": reflect.ValueOf(constant.MakeFromLiteral("21594", token.INT, 0)), + "TIOCSERGSTRUCT": reflect.ValueOf(constant.MakeFromLiteral("21592", token.INT, 0)), + "TIOCSERGWILD": reflect.ValueOf(constant.MakeFromLiteral("21588", token.INT, 0)), + "TIOCSERSETMULTI": reflect.ValueOf(constant.MakeFromLiteral("21595", token.INT, 0)), + "TIOCSERSWILD": reflect.ValueOf(constant.MakeFromLiteral("21589", token.INT, 0)), + "TIOCSER_TEMT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "TIOCSETD": reflect.ValueOf(constant.MakeFromLiteral("21539", token.INT, 0)), + "TIOCSIG": reflect.ValueOf(constant.MakeFromLiteral("1074025526", token.INT, 0)), + "TIOCSISO7816": reflect.ValueOf(constant.MakeFromLiteral("3223868483", token.INT, 0)), + "TIOCSLCKTRMIOS": reflect.ValueOf(constant.MakeFromLiteral("21591", token.INT, 0)), + "TIOCSPGRP": reflect.ValueOf(constant.MakeFromLiteral("21520", token.INT, 0)), + "TIOCSPTLCK": reflect.ValueOf(constant.MakeFromLiteral("1074025521", token.INT, 0)), + "TIOCSRS485": reflect.ValueOf(constant.MakeFromLiteral("21551", token.INT, 0)), + "TIOCSSERIAL": reflect.ValueOf(constant.MakeFromLiteral("21535", token.INT, 0)), + "TIOCSSOFTCAR": reflect.ValueOf(constant.MakeFromLiteral("21530", token.INT, 0)), + "TIOCSTI": reflect.ValueOf(constant.MakeFromLiteral("21522", token.INT, 0)), + "TIOCSWINSZ": reflect.ValueOf(constant.MakeFromLiteral("21524", token.INT, 0)), + "TIOCVHANGUP": reflect.ValueOf(constant.MakeFromLiteral("21559", token.INT, 0)), + "TOSTOP": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), + "TUNATTACHFILTER": reflect.ValueOf(constant.MakeFromLiteral("1074812117", token.INT, 0)), + "TUNDETACHFILTER": reflect.ValueOf(constant.MakeFromLiteral("1074812118", token.INT, 0)), + "TUNGETDEVNETNS": reflect.ValueOf(constant.MakeFromLiteral("21731", token.INT, 0)), + "TUNGETFEATURES": reflect.ValueOf(constant.MakeFromLiteral("2147767503", token.INT, 0)), + "TUNGETFILTER": reflect.ValueOf(constant.MakeFromLiteral("2148553947", token.INT, 0)), + "TUNGETIFF": reflect.ValueOf(constant.MakeFromLiteral("2147767506", token.INT, 0)), + "TUNGETSNDBUF": reflect.ValueOf(constant.MakeFromLiteral("2147767507", token.INT, 0)), + "TUNGETVNETBE": reflect.ValueOf(constant.MakeFromLiteral("2147767519", token.INT, 0)), + "TUNGETVNETHDRSZ": reflect.ValueOf(constant.MakeFromLiteral("2147767511", token.INT, 0)), + "TUNGETVNETLE": reflect.ValueOf(constant.MakeFromLiteral("2147767517", token.INT, 0)), + "TUNSETCARRIER": reflect.ValueOf(constant.MakeFromLiteral("1074025698", token.INT, 0)), + "TUNSETDEBUG": reflect.ValueOf(constant.MakeFromLiteral("1074025673", token.INT, 0)), + "TUNSETFILTEREBPF": reflect.ValueOf(constant.MakeFromLiteral("2147767521", token.INT, 0)), + "TUNSETGROUP": reflect.ValueOf(constant.MakeFromLiteral("1074025678", token.INT, 0)), + "TUNSETIFF": reflect.ValueOf(constant.MakeFromLiteral("1074025674", token.INT, 0)), + "TUNSETIFINDEX": reflect.ValueOf(constant.MakeFromLiteral("1074025690", token.INT, 0)), + "TUNSETLINK": reflect.ValueOf(constant.MakeFromLiteral("1074025677", token.INT, 0)), + "TUNSETNOCSUM": reflect.ValueOf(constant.MakeFromLiteral("1074025672", token.INT, 0)), + "TUNSETOFFLOAD": reflect.ValueOf(constant.MakeFromLiteral("1074025680", token.INT, 0)), + "TUNSETOWNER": reflect.ValueOf(constant.MakeFromLiteral("1074025676", token.INT, 0)), + "TUNSETPERSIST": reflect.ValueOf(constant.MakeFromLiteral("1074025675", token.INT, 0)), + "TUNSETQUEUE": reflect.ValueOf(constant.MakeFromLiteral("1074025689", token.INT, 0)), + "TUNSETSNDBUF": reflect.ValueOf(constant.MakeFromLiteral("1074025684", token.INT, 0)), + "TUNSETSTEERINGEBPF": reflect.ValueOf(constant.MakeFromLiteral("2147767520", token.INT, 0)), + "TUNSETTXFILTER": reflect.ValueOf(constant.MakeFromLiteral("1074025681", token.INT, 0)), + "TUNSETVNETBE": reflect.ValueOf(constant.MakeFromLiteral("1074025694", token.INT, 0)), + "TUNSETVNETHDRSZ": reflect.ValueOf(constant.MakeFromLiteral("1074025688", token.INT, 0)), + "TUNSETVNETLE": reflect.ValueOf(constant.MakeFromLiteral("1074025692", token.INT, 0)), + "Tee": reflect.ValueOf(syscall.Tee), + "Tgkill": reflect.ValueOf(syscall.Tgkill), + "Time": reflect.ValueOf(syscall.Time), + "Times": reflect.ValueOf(syscall.Times), + "TimespecToNsec": reflect.ValueOf(syscall.TimespecToNsec), + "TimevalToNsec": reflect.ValueOf(syscall.TimevalToNsec), + "Truncate": reflect.ValueOf(syscall.Truncate), + "Umask": reflect.ValueOf(syscall.Umask), + "Uname": reflect.ValueOf(syscall.Uname), + "UnixCredentials": reflect.ValueOf(syscall.UnixCredentials), + "UnixRights": reflect.ValueOf(syscall.UnixRights), + "Unlink": reflect.ValueOf(syscall.Unlink), + "Unlinkat": reflect.ValueOf(syscall.Unlinkat), + "Unmount": reflect.ValueOf(syscall.Unmount), + "Unsetenv": reflect.ValueOf(syscall.Unsetenv), + "Unshare": reflect.ValueOf(syscall.Unshare), + "Utime": reflect.ValueOf(syscall.Utime), + "Utimes": reflect.ValueOf(syscall.Utimes), + "UtimesNano": reflect.ValueOf(syscall.UtimesNano), + "VDISCARD": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)), + "VEOF": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "VEOL": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)), + "VEOL2": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), + "VERASE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "VINTR": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "VKILL": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), + "VLNEXT": reflect.ValueOf(constant.MakeFromLiteral("15", token.INT, 0)), + "VMIN": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), + "VQUIT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "VREPRINT": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)), + "VSTART": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "VSTOP": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)), + "VSUSP": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)), + "VSWTC": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)), + "VT0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), + "VT1": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "VTDLY": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)), + "VTIME": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)), + "VWERASE": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)), + "WALL": reflect.ValueOf(constant.MakeFromLiteral("1073741824", token.INT, 0)), + "WCLONE": reflect.ValueOf(constant.MakeFromLiteral("2147483648", token.INT, 0)), + "WCONTINUED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), + "WEXITED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + "WNOHANG": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), + "WNOTHREAD": reflect.ValueOf(constant.MakeFromLiteral("536870912", token.INT, 0)), + "WNOWAIT": reflect.ValueOf(constant.MakeFromLiteral("16777216", token.INT, 0)), + "WORDSIZE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), + "WSTOPPED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "WUNTRACED": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), + "Wait4": reflect.ValueOf(syscall.Wait4), + "Write": reflect.ValueOf(syscall.Write), + "XCASE": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), + + // type definitions + "Cmsghdr": reflect.ValueOf((*syscall.Cmsghdr)(nil)), + "Conn": reflect.ValueOf((*syscall.Conn)(nil)), + "Credential": reflect.ValueOf((*syscall.Credential)(nil)), + "Dirent": reflect.ValueOf((*syscall.Dirent)(nil)), + "EpollEvent": reflect.ValueOf((*syscall.EpollEvent)(nil)), + "Errno": reflect.ValueOf((*syscall.Errno)(nil)), + "FdSet": reflect.ValueOf((*syscall.FdSet)(nil)), + "Flock_t": reflect.ValueOf((*syscall.Flock_t)(nil)), + "Fsid": reflect.ValueOf((*syscall.Fsid)(nil)), + "ICMPv6Filter": reflect.ValueOf((*syscall.ICMPv6Filter)(nil)), + "IPMreq": reflect.ValueOf((*syscall.IPMreq)(nil)), + "IPMreqn": reflect.ValueOf((*syscall.IPMreqn)(nil)), + "IPv6MTUInfo": reflect.ValueOf((*syscall.IPv6MTUInfo)(nil)), + "IPv6Mreq": reflect.ValueOf((*syscall.IPv6Mreq)(nil)), + "IfAddrmsg": reflect.ValueOf((*syscall.IfAddrmsg)(nil)), + "IfInfomsg": reflect.ValueOf((*syscall.IfInfomsg)(nil)), + "Inet4Pktinfo": reflect.ValueOf((*syscall.Inet4Pktinfo)(nil)), + "Inet6Pktinfo": reflect.ValueOf((*syscall.Inet6Pktinfo)(nil)), + "InotifyEvent": reflect.ValueOf((*syscall.InotifyEvent)(nil)), + "Iovec": reflect.ValueOf((*syscall.Iovec)(nil)), + "Linger": reflect.ValueOf((*syscall.Linger)(nil)), + "Msghdr": reflect.ValueOf((*syscall.Msghdr)(nil)), + "NetlinkMessage": reflect.ValueOf((*syscall.NetlinkMessage)(nil)), + "NetlinkRouteAttr": reflect.ValueOf((*syscall.NetlinkRouteAttr)(nil)), + "NetlinkRouteRequest": reflect.ValueOf((*syscall.NetlinkRouteRequest)(nil)), + "NlAttr": reflect.ValueOf((*syscall.NlAttr)(nil)), + "NlMsgerr": reflect.ValueOf((*syscall.NlMsgerr)(nil)), + "NlMsghdr": reflect.ValueOf((*syscall.NlMsghdr)(nil)), + "ProcAttr": reflect.ValueOf((*syscall.ProcAttr)(nil)), + "RawConn": reflect.ValueOf((*syscall.RawConn)(nil)), + "RawSockaddr": reflect.ValueOf((*syscall.RawSockaddr)(nil)), + "RawSockaddrAny": reflect.ValueOf((*syscall.RawSockaddrAny)(nil)), + "RawSockaddrInet4": reflect.ValueOf((*syscall.RawSockaddrInet4)(nil)), + "RawSockaddrInet6": reflect.ValueOf((*syscall.RawSockaddrInet6)(nil)), + "RawSockaddrLinklayer": reflect.ValueOf((*syscall.RawSockaddrLinklayer)(nil)), + "RawSockaddrNetlink": reflect.ValueOf((*syscall.RawSockaddrNetlink)(nil)), + "RawSockaddrUnix": reflect.ValueOf((*syscall.RawSockaddrUnix)(nil)), + "Rlimit": reflect.ValueOf((*syscall.Rlimit)(nil)), + "RtAttr": reflect.ValueOf((*syscall.RtAttr)(nil)), + "RtGenmsg": reflect.ValueOf((*syscall.RtGenmsg)(nil)), + "RtMsg": reflect.ValueOf((*syscall.RtMsg)(nil)), + "RtNexthop": reflect.ValueOf((*syscall.RtNexthop)(nil)), + "Rusage": reflect.ValueOf((*syscall.Rusage)(nil)), + "Signal": reflect.ValueOf((*syscall.Signal)(nil)), + "SockFilter": reflect.ValueOf((*syscall.SockFilter)(nil)), + "SockFprog": reflect.ValueOf((*syscall.SockFprog)(nil)), + "Sockaddr": reflect.ValueOf((*syscall.Sockaddr)(nil)), + "SockaddrInet4": reflect.ValueOf((*syscall.SockaddrInet4)(nil)), + "SockaddrInet6": reflect.ValueOf((*syscall.SockaddrInet6)(nil)), + "SockaddrLinklayer": reflect.ValueOf((*syscall.SockaddrLinklayer)(nil)), + "SockaddrNetlink": reflect.ValueOf((*syscall.SockaddrNetlink)(nil)), + "SockaddrUnix": reflect.ValueOf((*syscall.SockaddrUnix)(nil)), + "SocketControlMessage": reflect.ValueOf((*syscall.SocketControlMessage)(nil)), + "Stat_t": reflect.ValueOf((*syscall.Stat_t)(nil)), + "Statfs_t": reflect.ValueOf((*syscall.Statfs_t)(nil)), + "SysProcAttr": reflect.ValueOf((*syscall.SysProcAttr)(nil)), + "SysProcIDMap": reflect.ValueOf((*syscall.SysProcIDMap)(nil)), + "Sysinfo_t": reflect.ValueOf((*syscall.Sysinfo_t)(nil)), + "TCPInfo": reflect.ValueOf((*syscall.TCPInfo)(nil)), + "Termios": reflect.ValueOf((*syscall.Termios)(nil)), + "Time_t": reflect.ValueOf((*syscall.Time_t)(nil)), + "Timespec": reflect.ValueOf((*syscall.Timespec)(nil)), + "Timeval": reflect.ValueOf((*syscall.Timeval)(nil)), + "Timex": reflect.ValueOf((*syscall.Timex)(nil)), + "Tms": reflect.ValueOf((*syscall.Tms)(nil)), + "Ucred": reflect.ValueOf((*syscall.Ucred)(nil)), + "Ustat_t": reflect.ValueOf((*syscall.Ustat_t)(nil)), + "Utimbuf": reflect.ValueOf((*syscall.Utimbuf)(nil)), + "Utsname": reflect.ValueOf((*syscall.Utsname)(nil)), + "WaitStatus": reflect.ValueOf((*syscall.WaitStatus)(nil)), + + // interface wrapper definitions + "_Conn": reflect.ValueOf((*_syscall_Conn)(nil)), + "_RawConn": reflect.ValueOf((*_syscall_RawConn)(nil)), + "_Sockaddr": reflect.ValueOf((*_syscall_Sockaddr)(nil)), + } +} + +// _syscall_Conn is an interface wrapper for Conn type +type _syscall_Conn struct { + IValue interface{} + WSyscallConn func() (syscall.RawConn, error) +} + +func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { + return W.WSyscallConn() +} + +// _syscall_RawConn is an interface wrapper for RawConn type +type _syscall_RawConn struct { + IValue interface{} + WControl func(f func(fd uintptr)) error + WRead func(f func(fd uintptr) (done bool)) error + WWrite func(f func(fd uintptr) (done bool)) error +} + +func (W _syscall_RawConn) Control(f func(fd uintptr)) error { + return W.WControl(f) +} +func (W _syscall_RawConn) Read(f func(fd uintptr) (done bool)) error { + return W.WRead(f) +} +func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { + return W.WWrite(f) +} + +// _syscall_Sockaddr is an interface wrapper for Sockaddr type +type _syscall_Sockaddr struct { + IValue interface{} +} diff --git a/stdlib/syscall/go1_17_syscall_linux_mips.go b/stdlib/syscall/go1_19_syscall_linux_mips.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_mips.go rename to stdlib/syscall/go1_19_syscall_linux_mips.go index d64306bcd..cdada9d07 100644 --- a/stdlib/syscall/go1_17_syscall_linux_mips.go +++ b/stdlib/syscall/go1_19_syscall_linux_mips.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_mips64le.go b/stdlib/syscall/go1_19_syscall_linux_mips64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_mips64le.go rename to stdlib/syscall/go1_19_syscall_linux_mips64.go index d4c9289fc..c2adabf12 100644 --- a/stdlib/syscall/go1_16_syscall_linux_mips64le.go +++ b/stdlib/syscall/go1_19_syscall_linux_mips64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_mips64.go b/stdlib/syscall/go1_19_syscall_linux_mips64le.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_mips64.go rename to stdlib/syscall/go1_19_syscall_linux_mips64le.go index a862f705b..c2adabf12 100644 --- a/stdlib/syscall/go1_17_syscall_linux_mips64.go +++ b/stdlib/syscall/go1_19_syscall_linux_mips64le.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_mips.go b/stdlib/syscall/go1_19_syscall_linux_mipsle.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_mips.go rename to stdlib/syscall/go1_19_syscall_linux_mipsle.go index 3519748c7..cdada9d07 100644 --- a/stdlib/syscall/go1_16_syscall_linux_mips.go +++ b/stdlib/syscall/go1_19_syscall_linux_mipsle.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_linux_ppc64.go b/stdlib/syscall/go1_19_syscall_linux_ppc64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_linux_ppc64.go rename to stdlib/syscall/go1_19_syscall_linux_ppc64.go index 696ed684a..4042cc4bc 100644 --- a/stdlib/syscall/go1_16_syscall_linux_ppc64.go +++ b/stdlib/syscall/go1_19_syscall_linux_ppc64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_ppc64le.go b/stdlib/syscall/go1_19_syscall_linux_ppc64le.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_ppc64le.go rename to stdlib/syscall/go1_19_syscall_linux_ppc64le.go index 33c16f288..2a7f07793 100644 --- a/stdlib/syscall/go1_17_syscall_linux_ppc64le.go +++ b/stdlib/syscall/go1_19_syscall_linux_ppc64le.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_riscv64.go b/stdlib/syscall/go1_19_syscall_linux_riscv64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_riscv64.go rename to stdlib/syscall/go1_19_syscall_linux_riscv64.go index 55169e19a..f000022e1 100644 --- a/stdlib/syscall/go1_17_syscall_linux_riscv64.go +++ b/stdlib/syscall/go1_19_syscall_linux_riscv64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_linux_s390x.go b/stdlib/syscall/go1_19_syscall_linux_s390x.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_linux_s390x.go rename to stdlib/syscall/go1_19_syscall_linux_s390x.go index 51942a359..0cdc11e88 100644 --- a/stdlib/syscall/go1_17_syscall_linux_s390x.go +++ b/stdlib/syscall/go1_19_syscall_linux_s390x.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_netbsd_386.go b/stdlib/syscall/go1_19_syscall_netbsd_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_netbsd_386.go rename to stdlib/syscall/go1_19_syscall_netbsd_386.go index eed6eb654..a62554285 100644 --- a/stdlib/syscall/go1_17_syscall_netbsd_386.go +++ b/stdlib/syscall/go1_19_syscall_netbsd_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_netbsd_arm64.go b/stdlib/syscall/go1_19_syscall_netbsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_netbsd_arm64.go rename to stdlib/syscall/go1_19_syscall_netbsd_amd64.go index cd8f207f8..fd0d3f639 100644 --- a/stdlib/syscall/go1_17_syscall_netbsd_arm64.go +++ b/stdlib/syscall/go1_19_syscall_netbsd_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_netbsd_arm.go b/stdlib/syscall/go1_19_syscall_netbsd_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_netbsd_arm.go rename to stdlib/syscall/go1_19_syscall_netbsd_arm.go index 3df409f2f..20aa1cd5c 100644 --- a/stdlib/syscall/go1_17_syscall_netbsd_arm.go +++ b/stdlib/syscall/go1_19_syscall_netbsd_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_netbsd_amd64.go b/stdlib/syscall/go1_19_syscall_netbsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_netbsd_amd64.go rename to stdlib/syscall/go1_19_syscall_netbsd_arm64.go index cd8f207f8..fd0d3f639 100644 --- a/stdlib/syscall/go1_17_syscall_netbsd_amd64.go +++ b/stdlib/syscall/go1_19_syscall_netbsd_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_openbsd_386.go b/stdlib/syscall/go1_19_syscall_openbsd_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_openbsd_386.go rename to stdlib/syscall/go1_19_syscall_openbsd_386.go index bb2c4613a..509c8f180 100644 --- a/stdlib/syscall/go1_17_syscall_openbsd_386.go +++ b/stdlib/syscall/go1_19_syscall_openbsd_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_openbsd_amd64.go b/stdlib/syscall/go1_19_syscall_openbsd_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_openbsd_amd64.go rename to stdlib/syscall/go1_19_syscall_openbsd_amd64.go index a0b6fe97c..156ee1013 100644 --- a/stdlib/syscall/go1_17_syscall_openbsd_amd64.go +++ b/stdlib/syscall/go1_19_syscall_openbsd_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_openbsd_arm.go b/stdlib/syscall/go1_19_syscall_openbsd_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_openbsd_arm.go rename to stdlib/syscall/go1_19_syscall_openbsd_arm.go index 67d7fabab..0f0bcdf72 100644 --- a/stdlib/syscall/go1_17_syscall_openbsd_arm.go +++ b/stdlib/syscall/go1_19_syscall_openbsd_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_openbsd_arm64.go b/stdlib/syscall/go1_19_syscall_openbsd_arm64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_openbsd_arm64.go rename to stdlib/syscall/go1_19_syscall_openbsd_arm64.go index 7377669fd..230faf1e6 100644 --- a/stdlib/syscall/go1_17_syscall_openbsd_arm64.go +++ b/stdlib/syscall/go1_19_syscall_openbsd_arm64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_openbsd_mips64.go b/stdlib/syscall/go1_19_syscall_openbsd_mips64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_openbsd_mips64.go rename to stdlib/syscall/go1_19_syscall_openbsd_mips64.go index c853e8ca2..79510a88a 100644 --- a/stdlib/syscall/go1_17_syscall_openbsd_mips64.go +++ b/stdlib/syscall/go1_19_syscall_openbsd_mips64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_plan9_386.go b/stdlib/syscall/go1_19_syscall_plan9_386.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_plan9_386.go rename to stdlib/syscall/go1_19_syscall_plan9_386.go index d4fbac8ad..813335b3c 100644 --- a/stdlib/syscall/go1_17_syscall_plan9_386.go +++ b/stdlib/syscall/go1_19_syscall_plan9_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_plan9_386.go b/stdlib/syscall/go1_19_syscall_plan9_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_plan9_386.go rename to stdlib/syscall/go1_19_syscall_plan9_amd64.go index c5b87fd3f..813335b3c 100644 --- a/stdlib/syscall/go1_16_syscall_plan9_386.go +++ b/stdlib/syscall/go1_19_syscall_plan9_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_plan9_amd64.go b/stdlib/syscall/go1_19_syscall_plan9_arm.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_plan9_amd64.go rename to stdlib/syscall/go1_19_syscall_plan9_arm.go index c5b87fd3f..813335b3c 100644 --- a/stdlib/syscall/go1_16_syscall_plan9_amd64.go +++ b/stdlib/syscall/go1_19_syscall_plan9_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_solaris_amd64.go b/stdlib/syscall/go1_19_syscall_solaris_amd64.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_solaris_amd64.go rename to stdlib/syscall/go1_19_syscall_solaris_amd64.go index 8b824e112..924f6151f 100644 --- a/stdlib/syscall/go1_17_syscall_solaris_amd64.go +++ b/stdlib/syscall/go1_19_syscall_solaris_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall @@ -66,6 +66,7 @@ func init() { "ARPHRD_METRICOM": reflect.ValueOf(constant.MakeFromLiteral("23", token.INT, 0)), "ARPHRD_TUNNEL": reflect.ValueOf(constant.MakeFromLiteral("31", token.INT, 0)), "Accept": reflect.ValueOf(syscall.Accept), + "Accept4": reflect.ValueOf(syscall.Accept4), "Access": reflect.ValueOf(syscall.Access), "Adjtime": reflect.ValueOf(syscall.Adjtime), "B0": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)), @@ -490,6 +491,7 @@ func init() { "Getppid": reflect.ValueOf(syscall.Getppid), "Getpriority": reflect.ValueOf(syscall.Getpriority), "Getrlimit": reflect.ValueOf(syscall.Getrlimit), + "Getrusage": reflect.ValueOf(syscall.Getrusage), "Getsockname": reflect.ValueOf(syscall.Getsockname), "GetsockoptInt": reflect.ValueOf(syscall.GetsockoptInt), "Gettimeofday": reflect.ValueOf(syscall.Gettimeofday), @@ -857,6 +859,7 @@ func init() { "PathMax": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)), "Pathconf": reflect.ValueOf(syscall.Pathconf), "Pipe": reflect.ValueOf(syscall.Pipe), + "Pipe2": reflect.ValueOf(syscall.Pipe2), "Pread": reflect.ValueOf(syscall.Pread), "Pwrite": reflect.ValueOf(syscall.Pwrite), "RLIMIT_AS": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)), diff --git a/stdlib/syscall/go1_16_syscall_windows_386.go b/stdlib/syscall/go1_19_syscall_windows_386.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_windows_386.go rename to stdlib/syscall/go1_19_syscall_windows_386.go index ccff4d737..77d0562cd 100644 --- a/stdlib/syscall/go1_16_syscall_windows_386.go +++ b/stdlib/syscall/go1_19_syscall_windows_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_windows_arm.go b/stdlib/syscall/go1_19_syscall_windows_amd64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_windows_arm.go rename to stdlib/syscall/go1_19_syscall_windows_amd64.go index ccff4d737..77d0562cd 100644 --- a/stdlib/syscall/go1_16_syscall_windows_arm.go +++ b/stdlib/syscall/go1_19_syscall_windows_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_17_syscall_windows_386.go b/stdlib/syscall/go1_19_syscall_windows_arm.go similarity index 99% rename from stdlib/syscall/go1_17_syscall_windows_386.go rename to stdlib/syscall/go1_19_syscall_windows_arm.go index 3622d3b86..77d0562cd 100644 --- a/stdlib/syscall/go1_17_syscall_windows_386.go +++ b/stdlib/syscall/go1_19_syscall_windows_arm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/go1_16_syscall_windows_amd64.go b/stdlib/syscall/go1_19_syscall_windows_arm64.go similarity index 99% rename from stdlib/syscall/go1_16_syscall_windows_amd64.go rename to stdlib/syscall/go1_19_syscall_windows_arm64.go index ccff4d737..77d0562cd 100644 --- a/stdlib/syscall/go1_16_syscall_windows_amd64.go +++ b/stdlib/syscall/go1_19_syscall_windows_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package syscall diff --git a/stdlib/syscall/syscall.go b/stdlib/syscall/syscall.go index bb0efd13a..2b8f861e9 100644 --- a/stdlib/syscall/syscall.go +++ b/stdlib/syscall/syscall.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Package syscall provide wrapper of standard library syscall package for native import in Yaegi. package syscall diff --git a/stdlib/unrestricted/go1_16_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_16_syscall_freebsd_arm64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_freebsd_arm64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_linux_386.go b/stdlib/unrestricted/go1_16_syscall_linux_386.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_386.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_amd64.go b/stdlib/unrestricted/go1_16_syscall_linux_amd64.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_amd64.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_arm.go b/stdlib/unrestricted/go1_16_syscall_linux_arm.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_arm.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_arm64.go b/stdlib/unrestricted/go1_16_syscall_linux_arm64.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_arm64.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_mips64.go b/stdlib/unrestricted/go1_16_syscall_linux_mips64.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_mips64.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_16_syscall_linux_mips64le.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_mips64le.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_16_syscall_linux_ppc64.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_ppc64.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_16_syscall_linux_ppc64le.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_ppc64le.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_16_syscall_linux_riscv64.go deleted file mode 100644 index 20ebcf0bf..000000000 --- a/stdlib/unrestricted/go1_16_syscall_linux_riscv64.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_16_syscall_netbsd_386.go b/stdlib/unrestricted/go1_16_syscall_netbsd_386.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_netbsd_386.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_16_syscall_netbsd_amd64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_netbsd_amd64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_16_syscall_netbsd_arm.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_netbsd_arm.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_16_syscall_netbsd_arm64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_netbsd_arm64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_openbsd_386.go b/stdlib/unrestricted/go1_16_syscall_openbsd_386.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_openbsd_386.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_16_syscall_openbsd_amd64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_openbsd_amd64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_16_syscall_openbsd_arm.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_openbsd_arm.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_16_syscall_openbsd_arm64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_openbsd_arm64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_16_syscall_openbsd_mips64.go b/stdlib/unrestricted/go1_16_syscall_openbsd_mips64.go deleted file mode 100644 index 9a8a886cd..000000000 --- a/stdlib/unrestricted/go1_16_syscall_openbsd_mips64.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -// +build go1.16,!go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_android_386.go b/stdlib/unrestricted/go1_17_syscall_android_386.go deleted file mode 100644 index fb5e485f1..000000000 --- a/stdlib/unrestricted/go1_17_syscall_android_386.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 && !linux -// +build go1.17,!linux - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_android_amd64.go b/stdlib/unrestricted/go1_17_syscall_android_amd64.go deleted file mode 100644 index fb5e485f1..000000000 --- a/stdlib/unrestricted/go1_17_syscall_android_amd64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 && !linux -// +build go1.17,!linux - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_android_arm.go b/stdlib/unrestricted/go1_17_syscall_android_arm.go deleted file mode 100644 index fb5e485f1..000000000 --- a/stdlib/unrestricted/go1_17_syscall_android_arm.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 && !linux -// +build go1.17,!linux - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_android_arm64.go b/stdlib/unrestricted/go1_17_syscall_android_arm64.go deleted file mode 100644 index fb5e485f1..000000000 --- a/stdlib/unrestricted/go1_17_syscall_android_arm64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 && !linux -// +build go1.17,!linux - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_darwin_amd64.go b/stdlib/unrestricted/go1_17_syscall_darwin_amd64.go deleted file mode 100644 index a15e63ce7..000000000 --- a/stdlib/unrestricted/go1_17_syscall_darwin_amd64.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_darwin_arm64.go b/stdlib/unrestricted/go1_17_syscall_darwin_arm64.go deleted file mode 100644 index a15e63ce7..000000000 --- a/stdlib/unrestricted/go1_17_syscall_darwin_arm64.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_dragonfly_amd64.go b/stdlib/unrestricted/go1_17_syscall_dragonfly_amd64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_dragonfly_amd64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_freebsd_386.go b/stdlib/unrestricted/go1_17_syscall_freebsd_386.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_freebsd_386.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_freebsd_amd64.go b/stdlib/unrestricted/go1_17_syscall_freebsd_amd64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_freebsd_amd64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_freebsd_arm.go b/stdlib/unrestricted/go1_17_syscall_freebsd_arm.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_freebsd_arm.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_17_syscall_freebsd_arm64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_freebsd_arm64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_ios_amd64.go b/stdlib/unrestricted/go1_17_syscall_ios_amd64.go deleted file mode 100644 index a15e63ce7..000000000 --- a/stdlib/unrestricted/go1_17_syscall_ios_amd64.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_ios_arm64.go b/stdlib/unrestricted/go1_17_syscall_ios_arm64.go deleted file mode 100644 index a15e63ce7..000000000 --- a/stdlib/unrestricted/go1_17_syscall_ios_arm64.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_linux_386.go b/stdlib/unrestricted/go1_17_syscall_linux_386.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_386.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_amd64.go b/stdlib/unrestricted/go1_17_syscall_linux_amd64.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_amd64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_arm.go b/stdlib/unrestricted/go1_17_syscall_linux_arm.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_arm.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_arm64.go b/stdlib/unrestricted/go1_17_syscall_linux_arm64.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_arm64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_mips64.go b/stdlib/unrestricted/go1_17_syscall_linux_mips64.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_mips64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_17_syscall_linux_mips64le.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_mips64le.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_17_syscall_linux_ppc64.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_ppc64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_17_syscall_linux_ppc64le.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_ppc64le.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_17_syscall_linux_riscv64.go deleted file mode 100644 index b37a1f44b..000000000 --- a/stdlib/unrestricted/go1_17_syscall_linux_riscv64.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/syscall"] = map[string]reflect.Value{ - // function, constant and variable definitions - "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), - "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), - "Exec": reflect.ValueOf(syscall.Exec), - "Exit": reflect.ValueOf(syscall.Exit), - "ForkExec": reflect.ValueOf(syscall.ForkExec), - "Kill": reflect.ValueOf(syscall.Kill), - "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), - "PtraceCont": reflect.ValueOf(syscall.PtraceCont), - "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), - "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), - "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), - "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), - "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), - "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), - "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), - "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), - "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), - "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), - "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), - "RawSyscall": reflect.ValueOf(syscall.RawSyscall), - "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), - "Reboot": reflect.ValueOf(syscall.Reboot), - "Shutdown": reflect.ValueOf(syscall.Shutdown), - "StartProcess": reflect.ValueOf(syscall.StartProcess), - "Syscall": reflect.ValueOf(syscall.Syscall), - "Syscall6": reflect.ValueOf(syscall.Syscall6), - - // type definitions - "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), - } -} diff --git a/stdlib/unrestricted/go1_17_syscall_netbsd_386.go b/stdlib/unrestricted/go1_17_syscall_netbsd_386.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_netbsd_386.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_17_syscall_netbsd_amd64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_netbsd_amd64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_17_syscall_netbsd_arm.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_netbsd_arm.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_17_syscall_netbsd_arm64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_netbsd_arm64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_openbsd_386.go b/stdlib/unrestricted/go1_17_syscall_openbsd_386.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_openbsd_386.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_17_syscall_openbsd_amd64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_openbsd_amd64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_17_syscall_openbsd_arm.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_openbsd_arm.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_17_syscall_openbsd_arm64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_openbsd_arm64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_openbsd_mips64.go b/stdlib/unrestricted/go1_17_syscall_openbsd_mips64.go deleted file mode 100644 index 7b1516e6f..000000000 --- a/stdlib/unrestricted/go1_17_syscall_openbsd_mips64.go +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_plan9_amd64.go b/stdlib/unrestricted/go1_17_syscall_plan9_amd64.go deleted file mode 100644 index 40a6114f6..000000000 --- a/stdlib/unrestricted/go1_17_syscall_plan9_amd64.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_plan9_arm.go b/stdlib/unrestricted/go1_17_syscall_plan9_arm.go deleted file mode 100644 index 40a6114f6..000000000 --- a/stdlib/unrestricted/go1_17_syscall_plan9_arm.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_windows_amd64.go b/stdlib/unrestricted/go1_17_syscall_windows_amd64.go deleted file mode 100644 index acb4ecd71..000000000 --- a/stdlib/unrestricted/go1_17_syscall_windows_amd64.go +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_windows_arm.go b/stdlib/unrestricted/go1_17_syscall_windows_arm.go deleted file mode 100644 index acb4ecd71..000000000 --- a/stdlib/unrestricted/go1_17_syscall_windows_arm.go +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_windows_arm64.go b/stdlib/unrestricted/go1_17_syscall_windows_arm64.go deleted file mode 100644 index acb4ecd71..000000000 --- a/stdlib/unrestricted/go1_17_syscall_windows_arm64.go +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by 'yaegi extract syscall'. DO NOT EDIT. - -//go:build go1.17 -// +build go1.17 - -package unrestricted - -import ( - "reflect" - "syscall" -) - -func init() { - Symbols["syscall/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_17_syscall_aix_ppc64.go b/stdlib/unrestricted/go1_18_syscall_aix_ppc64.go similarity index 96% rename from stdlib/unrestricted/go1_17_syscall_aix_ppc64.go rename to stdlib/unrestricted/go1_18_syscall_aix_ppc64.go index fe63eea29..8a2133495 100644 --- a/stdlib/unrestricted/go1_17_syscall_aix_ppc64.go +++ b/stdlib/unrestricted/go1_18_syscall_aix_ppc64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_android_386.go b/stdlib/unrestricted/go1_18_syscall_android_386.go new file mode 100644 index 000000000..8122ee841 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_android_386.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_android_amd64.go b/stdlib/unrestricted/go1_18_syscall_android_amd64.go new file mode 100644 index 000000000..8122ee841 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_android_amd64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_android_arm.go b/stdlib/unrestricted/go1_18_syscall_android_arm.go new file mode 100644 index 000000000..8122ee841 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_android_arm.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_android_arm64.go b/stdlib/unrestricted/go1_18_syscall_android_arm64.go new file mode 100644 index 000000000..8122ee841 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_android_arm64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 && !linux +// +build go1.18,!go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_darwin_amd64.go b/stdlib/unrestricted/go1_18_syscall_darwin_amd64.go new file mode 100644 index 000000000..52af067f4 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_darwin_amd64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_darwin_arm64.go b/stdlib/unrestricted/go1_18_syscall_darwin_arm64.go new file mode 100644 index 000000000..52af067f4 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_darwin_arm64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_dragonfly_amd64.go b/stdlib/unrestricted/go1_18_syscall_dragonfly_amd64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_dragonfly_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_freebsd_386.go b/stdlib/unrestricted/go1_18_syscall_freebsd_386.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_freebsd_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_freebsd_amd64.go b/stdlib/unrestricted/go1_18_syscall_freebsd_amd64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_freebsd_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_freebsd_arm.go b/stdlib/unrestricted/go1_18_syscall_freebsd_arm.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_freebsd_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_18_syscall_freebsd_arm64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_freebsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_17_syscall_illumos_amd64.go b/stdlib/unrestricted/go1_18_syscall_illumos_amd64.go similarity index 91% rename from stdlib/unrestricted/go1_17_syscall_illumos_amd64.go rename to stdlib/unrestricted/go1_18_syscall_illumos_amd64.go index 34b480c73..dfda8986a 100644 --- a/stdlib/unrestricted/go1_17_syscall_illumos_amd64.go +++ b/stdlib/unrestricted/go1_18_syscall_illumos_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 && !solaris -// +build go1.17,!solaris +//go:build go1.18 && !go1.19 && !solaris +// +build go1.18,!go1.19,!solaris package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_ios_amd64.go b/stdlib/unrestricted/go1_18_syscall_ios_amd64.go new file mode 100644 index 000000000..52af067f4 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_ios_amd64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_ios_arm64.go b/stdlib/unrestricted/go1_18_syscall_ios_arm64.go new file mode 100644 index 000000000..52af067f4 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_ios_arm64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_17_syscall_js_wasm.go b/stdlib/unrestricted/go1_18_syscall_js_wasm.go similarity index 92% rename from stdlib/unrestricted/go1_17_syscall_js_wasm.go rename to stdlib/unrestricted/go1_18_syscall_js_wasm.go index bae2a1836..96574b654 100644 --- a/stdlib/unrestricted/go1_17_syscall_js_wasm.go +++ b/stdlib/unrestricted/go1_18_syscall_js_wasm.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_linux_386.go b/stdlib/unrestricted/go1_18_syscall_linux_386.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_386.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_amd64.go b/stdlib/unrestricted/go1_18_syscall_linux_amd64.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_amd64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_arm.go b/stdlib/unrestricted/go1_18_syscall_linux_arm.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_arm.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_arm64.go b/stdlib/unrestricted/go1_18_syscall_linux_arm64.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_arm64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_mips.go b/stdlib/unrestricted/go1_18_syscall_linux_mips.go similarity index 97% rename from stdlib/unrestricted/go1_17_syscall_linux_mips.go rename to stdlib/unrestricted/go1_18_syscall_linux_mips.go index e38f6a394..6cfe7eb04 100644 --- a/stdlib/unrestricted/go1_17_syscall_linux_mips.go +++ b/stdlib/unrestricted/go1_18_syscall_linux_mips.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_linux_mips64.go b/stdlib/unrestricted/go1_18_syscall_linux_mips64.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_mips64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_18_syscall_linux_mips64le.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_mips64le.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_mipsle.go b/stdlib/unrestricted/go1_18_syscall_linux_mipsle.go similarity index 97% rename from stdlib/unrestricted/go1_17_syscall_linux_mipsle.go rename to stdlib/unrestricted/go1_18_syscall_linux_mipsle.go index e38f6a394..6cfe7eb04 100644 --- a/stdlib/unrestricted/go1_17_syscall_linux_mipsle.go +++ b/stdlib/unrestricted/go1_18_syscall_linux_mipsle.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_18_syscall_linux_ppc64.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_ppc64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_18_syscall_linux_ppc64le.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_ppc64le.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_18_syscall_linux_riscv64.go new file mode 100644 index 000000000..f5f5552a1 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_linux_riscv64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_17_syscall_linux_s390x.go b/stdlib/unrestricted/go1_18_syscall_linux_s390x.go similarity index 97% rename from stdlib/unrestricted/go1_17_syscall_linux_s390x.go rename to stdlib/unrestricted/go1_18_syscall_linux_s390x.go index 9d5056578..e459d6814 100644 --- a/stdlib/unrestricted/go1_17_syscall_linux_s390x.go +++ b/stdlib/unrestricted/go1_18_syscall_linux_s390x.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_netbsd_386.go b/stdlib/unrestricted/go1_18_syscall_netbsd_386.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_netbsd_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_18_syscall_netbsd_amd64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_netbsd_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_18_syscall_netbsd_arm.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_netbsd_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_18_syscall_netbsd_arm64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_netbsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_openbsd_386.go b/stdlib/unrestricted/go1_18_syscall_openbsd_386.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_openbsd_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_18_syscall_openbsd_amd64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_openbsd_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_18_syscall_openbsd_arm.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_openbsd_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_18_syscall_openbsd_arm64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_openbsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_openbsd_mips64.go b/stdlib/unrestricted/go1_18_syscall_openbsd_mips64.go new file mode 100644 index 000000000..5d25de929 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_openbsd_mips64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_16_syscall_plan9_amd64.go b/stdlib/unrestricted/go1_18_syscall_plan9_386.go similarity index 92% rename from stdlib/unrestricted/go1_16_syscall_plan9_amd64.go rename to stdlib/unrestricted/go1_18_syscall_plan9_386.go index 6c328454a..4c92251a8 100644 --- a/stdlib/unrestricted/go1_16_syscall_plan9_amd64.go +++ b/stdlib/unrestricted/go1_18_syscall_plan9_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_plan9_amd64.go b/stdlib/unrestricted/go1_18_syscall_plan9_amd64.go new file mode 100644 index 000000000..4c92251a8 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_plan9_amd64.go @@ -0,0 +1,25 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_18_syscall_plan9_arm.go b/stdlib/unrestricted/go1_18_syscall_plan9_arm.go new file mode 100644 index 000000000..4c92251a8 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_plan9_arm.go @@ -0,0 +1,25 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_17_syscall_solaris_amd64.go b/stdlib/unrestricted/go1_18_syscall_solaris_amd64.go similarity index 92% rename from stdlib/unrestricted/go1_17_syscall_solaris_amd64.go rename to stdlib/unrestricted/go1_18_syscall_solaris_amd64.go index f3833042a..d2d63a603 100644 --- a/stdlib/unrestricted/go1_17_syscall_solaris_amd64.go +++ b/stdlib/unrestricted/go1_18_syscall_solaris_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_18_syscall_windows_386.go b/stdlib/unrestricted/go1_18_syscall_windows_386.go new file mode 100644 index 000000000..5e4880e08 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_windows_386.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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), + "SyscallN": reflect.ValueOf(syscall.SyscallN), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_windows_amd64.go b/stdlib/unrestricted/go1_18_syscall_windows_amd64.go new file mode 100644 index 000000000..5e4880e08 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_windows_amd64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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), + "SyscallN": reflect.ValueOf(syscall.SyscallN), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_windows_arm.go b/stdlib/unrestricted/go1_18_syscall_windows_arm.go new file mode 100644 index 000000000..5e4880e08 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_windows_arm.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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), + "SyscallN": reflect.ValueOf(syscall.SyscallN), + } +} diff --git a/stdlib/unrestricted/go1_18_syscall_windows_arm64.go b/stdlib/unrestricted/go1_18_syscall_windows_arm64.go new file mode 100644 index 000000000..5e4880e08 --- /dev/null +++ b/stdlib/unrestricted/go1_18_syscall_windows_arm64.go @@ -0,0 +1,30 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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), + "SyscallN": reflect.ValueOf(syscall.SyscallN), + } +} diff --git a/stdlib/unrestricted/go1_16_syscall_aix_ppc64.go b/stdlib/unrestricted/go1_19_syscall_aix_ppc64.go similarity index 97% rename from stdlib/unrestricted/go1_16_syscall_aix_ppc64.go rename to stdlib/unrestricted/go1_19_syscall_aix_ppc64.go index d4ea0f393..bd567b99e 100644 --- a/stdlib/unrestricted/go1_16_syscall_aix_ppc64.go +++ b/stdlib/unrestricted/go1_19_syscall_aix_ppc64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_android_386.go b/stdlib/unrestricted/go1_19_syscall_android_386.go new file mode 100644 index 000000000..02ed36c13 --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_android_386.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 && !linux +// +build go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_android_amd64.go b/stdlib/unrestricted/go1_19_syscall_android_amd64.go new file mode 100644 index 000000000..02ed36c13 --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_android_amd64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 && !linux +// +build go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_android_arm.go b/stdlib/unrestricted/go1_19_syscall_android_arm.go new file mode 100644 index 000000000..02ed36c13 --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_android_arm.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 && !linux +// +build go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_android_arm64.go b/stdlib/unrestricted/go1_19_syscall_android_arm64.go new file mode 100644 index 000000000..02ed36c13 --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_android_arm64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 && !linux +// +build go1.19,!linux + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_16_syscall_ios_amd64.go b/stdlib/unrestricted/go1_19_syscall_darwin_amd64.go similarity index 96% rename from stdlib/unrestricted/go1_16_syscall_ios_amd64.go rename to stdlib/unrestricted/go1_19_syscall_darwin_amd64.go index 5fe6dc145..bea5bd3d0 100644 --- a/stdlib/unrestricted/go1_16_syscall_ios_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_darwin_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_darwin_amd64.go b/stdlib/unrestricted/go1_19_syscall_darwin_arm64.go similarity index 96% rename from stdlib/unrestricted/go1_16_syscall_darwin_amd64.go rename to stdlib/unrestricted/go1_19_syscall_darwin_arm64.go index 5fe6dc145..bea5bd3d0 100644 --- a/stdlib/unrestricted/go1_16_syscall_darwin_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_darwin_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_freebsd_386.go b/stdlib/unrestricted/go1_19_syscall_dragonfly_amd64.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_freebsd_386.go rename to stdlib/unrestricted/go1_19_syscall_dragonfly_amd64.go index 9a8a886cd..43055f95f 100644 --- a/stdlib/unrestricted/go1_16_syscall_freebsd_386.go +++ b/stdlib/unrestricted/go1_19_syscall_dragonfly_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_freebsd_amd64.go b/stdlib/unrestricted/go1_19_syscall_freebsd_386.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_freebsd_amd64.go rename to stdlib/unrestricted/go1_19_syscall_freebsd_386.go index 9a8a886cd..43055f95f 100644 --- a/stdlib/unrestricted/go1_16_syscall_freebsd_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_freebsd_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_freebsd_arm.go b/stdlib/unrestricted/go1_19_syscall_freebsd_amd64.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_freebsd_arm.go rename to stdlib/unrestricted/go1_19_syscall_freebsd_amd64.go index 9a8a886cd..43055f95f 100644 --- a/stdlib/unrestricted/go1_16_syscall_freebsd_arm.go +++ b/stdlib/unrestricted/go1_19_syscall_freebsd_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_dragonfly_amd64.go b/stdlib/unrestricted/go1_19_syscall_freebsd_arm.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_dragonfly_amd64.go rename to stdlib/unrestricted/go1_19_syscall_freebsd_arm.go index 9a8a886cd..43055f95f 100644 --- a/stdlib/unrestricted/go1_16_syscall_dragonfly_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_freebsd_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_freebsd_arm64.go b/stdlib/unrestricted/go1_19_syscall_freebsd_arm64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_freebsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_16_syscall_illumos_amd64.go b/stdlib/unrestricted/go1_19_syscall_illumos_amd64.go similarity index 93% rename from stdlib/unrestricted/go1_16_syscall_illumos_amd64.go rename to stdlib/unrestricted/go1_19_syscall_illumos_amd64.go index 2445857d3..d37e39b56 100644 --- a/stdlib/unrestricted/go1_16_syscall_illumos_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_illumos_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!solaris +//go:build go1.19 && !solaris +// +build go1.19,!solaris package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_darwin_arm64.go b/stdlib/unrestricted/go1_19_syscall_ios_amd64.go similarity index 96% rename from stdlib/unrestricted/go1_16_syscall_darwin_arm64.go rename to stdlib/unrestricted/go1_19_syscall_ios_amd64.go index 5fe6dc145..bea5bd3d0 100644 --- a/stdlib/unrestricted/go1_16_syscall_darwin_arm64.go +++ b/stdlib/unrestricted/go1_19_syscall_ios_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_ios_arm64.go b/stdlib/unrestricted/go1_19_syscall_ios_arm64.go similarity index 96% rename from stdlib/unrestricted/go1_16_syscall_ios_arm64.go rename to stdlib/unrestricted/go1_19_syscall_ios_arm64.go index 5fe6dc145..bea5bd3d0 100644 --- a/stdlib/unrestricted/go1_16_syscall_ios_arm64.go +++ b/stdlib/unrestricted/go1_19_syscall_ios_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_js_wasm.go b/stdlib/unrestricted/go1_19_syscall_js_wasm.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_js_wasm.go rename to stdlib/unrestricted/go1_19_syscall_js_wasm.go index 3b5a7cd5b..e879a2827 100644 --- a/stdlib/unrestricted/go1_16_syscall_js_wasm.go +++ b/stdlib/unrestricted/go1_19_syscall_js_wasm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_android_arm64.go b/stdlib/unrestricted/go1_19_syscall_linux_386.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_android_arm64.go rename to stdlib/unrestricted/go1_19_syscall_linux_386.go index 698eedd24..ae490a7ca 100644 --- a/stdlib/unrestricted/go1_16_syscall_android_arm64.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_android_386.go b/stdlib/unrestricted/go1_19_syscall_linux_amd64.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_android_386.go rename to stdlib/unrestricted/go1_19_syscall_linux_amd64.go index 698eedd24..ae490a7ca 100644 --- a/stdlib/unrestricted/go1_16_syscall_android_386.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_android_amd64.go b/stdlib/unrestricted/go1_19_syscall_linux_arm.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_android_amd64.go rename to stdlib/unrestricted/go1_19_syscall_linux_arm.go index 698eedd24..ae490a7ca 100644 --- a/stdlib/unrestricted/go1_16_syscall_android_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_android_arm.go b/stdlib/unrestricted/go1_19_syscall_linux_arm64.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_android_arm.go rename to stdlib/unrestricted/go1_19_syscall_linux_arm64.go index 698eedd24..ae490a7ca 100644 --- a/stdlib/unrestricted/go1_16_syscall_android_arm.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17,!linux +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_linux_loong64.go b/stdlib/unrestricted/go1_19_syscall_linux_loong64.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_loong64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_mips.go b/stdlib/unrestricted/go1_19_syscall_linux_mips.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_linux_mips.go rename to stdlib/unrestricted/go1_19_syscall_linux_mips.go index 0f8461d7d..10bf6f47f 100644 --- a/stdlib/unrestricted/go1_16_syscall_linux_mips.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_mips.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_linux_mips64.go b/stdlib/unrestricted/go1_19_syscall_linux_mips64.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_mips64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_linux_mips64le.go b/stdlib/unrestricted/go1_19_syscall_linux_mips64le.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_mips64le.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_mipsle.go b/stdlib/unrestricted/go1_19_syscall_linux_mipsle.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_linux_mipsle.go rename to stdlib/unrestricted/go1_19_syscall_linux_mipsle.go index 0f8461d7d..10bf6f47f 100644 --- a/stdlib/unrestricted/go1_16_syscall_linux_mipsle.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_mipsle.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_linux_ppc64.go b/stdlib/unrestricted/go1_19_syscall_linux_ppc64.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_ppc64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_linux_ppc64le.go b/stdlib/unrestricted/go1_19_syscall_linux_ppc64le.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_ppc64le.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_19_syscall_linux_riscv64.go b/stdlib/unrestricted/go1_19_syscall_linux_riscv64.go new file mode 100644 index 000000000..ae490a7ca --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_linux_riscv64.go @@ -0,0 +1,46 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/syscall"] = map[string]reflect.Value{ + // function, constant and variable definitions + "AllThreadsSyscall": reflect.ValueOf(syscall.AllThreadsSyscall), + "AllThreadsSyscall6": reflect.ValueOf(syscall.AllThreadsSyscall6), + "Exec": reflect.ValueOf(syscall.Exec), + "Exit": reflect.ValueOf(syscall.Exit), + "ForkExec": reflect.ValueOf(syscall.ForkExec), + "Kill": reflect.ValueOf(syscall.Kill), + "PtraceAttach": reflect.ValueOf(syscall.PtraceAttach), + "PtraceCont": reflect.ValueOf(syscall.PtraceCont), + "PtraceDetach": reflect.ValueOf(syscall.PtraceDetach), + "PtraceGetEventMsg": reflect.ValueOf(syscall.PtraceGetEventMsg), + "PtraceGetRegs": reflect.ValueOf(syscall.PtraceGetRegs), + "PtracePeekData": reflect.ValueOf(syscall.PtracePeekData), + "PtracePeekText": reflect.ValueOf(syscall.PtracePeekText), + "PtracePokeData": reflect.ValueOf(syscall.PtracePokeData), + "PtracePokeText": reflect.ValueOf(syscall.PtracePokeText), + "PtraceSetOptions": reflect.ValueOf(syscall.PtraceSetOptions), + "PtraceSetRegs": reflect.ValueOf(syscall.PtraceSetRegs), + "PtraceSingleStep": reflect.ValueOf(syscall.PtraceSingleStep), + "PtraceSyscall": reflect.ValueOf(syscall.PtraceSyscall), + "RawSyscall": reflect.ValueOf(syscall.RawSyscall), + "RawSyscall6": reflect.ValueOf(syscall.RawSyscall6), + "Reboot": reflect.ValueOf(syscall.Reboot), + "Shutdown": reflect.ValueOf(syscall.Shutdown), + "StartProcess": reflect.ValueOf(syscall.StartProcess), + "Syscall": reflect.ValueOf(syscall.Syscall), + "Syscall6": reflect.ValueOf(syscall.Syscall6), + + // type definitions + "PtraceRegs": reflect.ValueOf((*syscall.PtraceRegs)(nil)), + } +} diff --git a/stdlib/unrestricted/go1_16_syscall_linux_s390x.go b/stdlib/unrestricted/go1_19_syscall_linux_s390x.go similarity index 98% rename from stdlib/unrestricted/go1_16_syscall_linux_s390x.go rename to stdlib/unrestricted/go1_19_syscall_linux_s390x.go index 3a4683dd8..e721fed0d 100644 --- a/stdlib/unrestricted/go1_16_syscall_linux_s390x.go +++ b/stdlib/unrestricted/go1_19_syscall_linux_s390x.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_19_syscall_netbsd_386.go b/stdlib/unrestricted/go1_19_syscall_netbsd_386.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_netbsd_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_netbsd_amd64.go b/stdlib/unrestricted/go1_19_syscall_netbsd_amd64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_netbsd_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_netbsd_arm.go b/stdlib/unrestricted/go1_19_syscall_netbsd_arm.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_netbsd_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_netbsd_arm64.go b/stdlib/unrestricted/go1_19_syscall_netbsd_arm64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_netbsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_openbsd_386.go b/stdlib/unrestricted/go1_19_syscall_openbsd_386.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_openbsd_386.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_openbsd_amd64.go b/stdlib/unrestricted/go1_19_syscall_openbsd_amd64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_openbsd_amd64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_openbsd_arm.go b/stdlib/unrestricted/go1_19_syscall_openbsd_arm.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_openbsd_arm.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_openbsd_arm64.go b/stdlib/unrestricted/go1_19_syscall_openbsd_arm64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_openbsd_arm64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_19_syscall_openbsd_mips64.go b/stdlib/unrestricted/go1_19_syscall_openbsd_mips64.go new file mode 100644 index 000000000..43055f95f --- /dev/null +++ b/stdlib/unrestricted/go1_19_syscall_openbsd_mips64.go @@ -0,0 +1,28 @@ +// Code generated by 'yaegi extract syscall'. DO NOT EDIT. + +//go:build go1.19 +// +build go1.19 + +package unrestricted + +import ( + "reflect" + "syscall" +) + +func init() { + Symbols["syscall/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_17_syscall_plan9_386.go b/stdlib/unrestricted/go1_19_syscall_plan9_386.go similarity index 95% rename from stdlib/unrestricted/go1_17_syscall_plan9_386.go rename to stdlib/unrestricted/go1_19_syscall_plan9_386.go index 40a6114f6..37f9217cd 100644 --- a/stdlib/unrestricted/go1_17_syscall_plan9_386.go +++ b/stdlib/unrestricted/go1_19_syscall_plan9_386.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_plan9_arm.go b/stdlib/unrestricted/go1_19_syscall_plan9_amd64.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_plan9_arm.go rename to stdlib/unrestricted/go1_19_syscall_plan9_amd64.go index 6c328454a..37f9217cd 100644 --- a/stdlib/unrestricted/go1_16_syscall_plan9_arm.go +++ b/stdlib/unrestricted/go1_19_syscall_plan9_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_plan9_386.go b/stdlib/unrestricted/go1_19_syscall_plan9_arm.go similarity index 95% rename from stdlib/unrestricted/go1_16_syscall_plan9_386.go rename to stdlib/unrestricted/go1_19_syscall_plan9_arm.go index 6c328454a..37f9217cd 100644 --- a/stdlib/unrestricted/go1_16_syscall_plan9_386.go +++ b/stdlib/unrestricted/go1_19_syscall_plan9_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_solaris_amd64.go b/stdlib/unrestricted/go1_19_syscall_solaris_amd64.go similarity index 94% rename from stdlib/unrestricted/go1_16_syscall_solaris_amd64.go rename to stdlib/unrestricted/go1_19_syscall_solaris_amd64.go index 1477b7a8d..281104f3f 100644 --- a/stdlib/unrestricted/go1_16_syscall_solaris_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_solaris_amd64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted diff --git a/stdlib/unrestricted/go1_16_syscall_windows_arm.go b/stdlib/unrestricted/go1_19_syscall_windows_386.go similarity index 91% rename from stdlib/unrestricted/go1_16_syscall_windows_arm.go rename to stdlib/unrestricted/go1_19_syscall_windows_386.go index 87b7ad8fe..1ff068137 100644 --- a/stdlib/unrestricted/go1_16_syscall_windows_arm.go +++ b/stdlib/unrestricted/go1_19_syscall_windows_386.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted @@ -24,5 +25,6 @@ func init() { "Syscall18": reflect.ValueOf(syscall.Syscall18), "Syscall6": reflect.ValueOf(syscall.Syscall6), "Syscall9": reflect.ValueOf(syscall.Syscall9), + "SyscallN": reflect.ValueOf(syscall.SyscallN), } } diff --git a/stdlib/unrestricted/go1_17_syscall_windows_386.go b/stdlib/unrestricted/go1_19_syscall_windows_amd64.go similarity index 91% rename from stdlib/unrestricted/go1_17_syscall_windows_386.go rename to stdlib/unrestricted/go1_19_syscall_windows_amd64.go index acb4ecd71..1ff068137 100644 --- a/stdlib/unrestricted/go1_17_syscall_windows_386.go +++ b/stdlib/unrestricted/go1_19_syscall_windows_amd64.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted @@ -25,5 +25,6 @@ func init() { "Syscall18": reflect.ValueOf(syscall.Syscall18), "Syscall6": reflect.ValueOf(syscall.Syscall6), "Syscall9": reflect.ValueOf(syscall.Syscall9), + "SyscallN": reflect.ValueOf(syscall.SyscallN), } } diff --git a/stdlib/unrestricted/go1_16_syscall_windows_386.go b/stdlib/unrestricted/go1_19_syscall_windows_arm.go similarity index 91% rename from stdlib/unrestricted/go1_16_syscall_windows_386.go rename to stdlib/unrestricted/go1_19_syscall_windows_arm.go index 87b7ad8fe..1ff068137 100644 --- a/stdlib/unrestricted/go1_16_syscall_windows_386.go +++ b/stdlib/unrestricted/go1_19_syscall_windows_arm.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted @@ -24,5 +25,6 @@ func init() { "Syscall18": reflect.ValueOf(syscall.Syscall18), "Syscall6": reflect.ValueOf(syscall.Syscall6), "Syscall9": reflect.ValueOf(syscall.Syscall9), + "SyscallN": reflect.ValueOf(syscall.SyscallN), } } diff --git a/stdlib/unrestricted/go1_16_syscall_windows_amd64.go b/stdlib/unrestricted/go1_19_syscall_windows_arm64.go similarity index 91% rename from stdlib/unrestricted/go1_16_syscall_windows_amd64.go rename to stdlib/unrestricted/go1_19_syscall_windows_arm64.go index 87b7ad8fe..1ff068137 100644 --- a/stdlib/unrestricted/go1_16_syscall_windows_amd64.go +++ b/stdlib/unrestricted/go1_19_syscall_windows_arm64.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract syscall'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unrestricted @@ -24,5 +25,6 @@ func init() { "Syscall18": reflect.ValueOf(syscall.Syscall18), "Syscall6": reflect.ValueOf(syscall.Syscall6), "Syscall9": reflect.ValueOf(syscall.Syscall9), + "SyscallN": reflect.ValueOf(syscall.SyscallN), } } diff --git a/stdlib/unsafe/go1_17_unsafe.go b/stdlib/unsafe/go1_18_unsafe.go similarity index 82% rename from stdlib/unsafe/go1_17_unsafe.go rename to stdlib/unsafe/go1_18_unsafe.go index 6fe15fade..ae5099843 100644 --- a/stdlib/unsafe/go1_17_unsafe.go +++ b/stdlib/unsafe/go1_18_unsafe.go @@ -1,7 +1,7 @@ // Code generated by 'yaegi extract unsafe'. DO NOT EDIT. -//go:build go1.17 -// +build go1.17 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package unsafe diff --git a/stdlib/unsafe/go1_16_unsafe.go b/stdlib/unsafe/go1_19_unsafe.go similarity index 88% rename from stdlib/unsafe/go1_16_unsafe.go rename to stdlib/unsafe/go1_19_unsafe.go index b93c0fa3d..d0118a69c 100644 --- a/stdlib/unsafe/go1_16_unsafe.go +++ b/stdlib/unsafe/go1_19_unsafe.go @@ -1,6 +1,7 @@ // Code generated by 'yaegi extract unsafe'. DO NOT EDIT. -// +build go1.16,!go1.17 +//go:build go1.19 +// +build go1.19 package unsafe diff --git a/stdlib/unsafe/unsafe.go b/stdlib/unsafe/unsafe.go index 5c874e671..de3c2eeb4 100644 --- a/stdlib/unsafe/unsafe.go +++ b/stdlib/unsafe/unsafe.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Package unsafe provides wrapper of standard library unsafe package to be imported natively in Yaegi. package unsafe diff --git a/stdlib/unsafe/unsafe_go1.17.go b/stdlib/unsafe/unsafe_go1.17.go deleted file mode 100644 index df2743590..000000000 --- a/stdlib/unsafe/unsafe_go1.17.go +++ /dev/null @@ -1,55 +0,0 @@ -//go:build go1.17 -// +build go1.17 - -// Package unsafe provides wrapper of standard library unsafe package to be imported natively in Yaegi. -package unsafe - -import ( - "errors" - "reflect" - "unsafe" -) - -func init() { - // Add builtin functions to unsafe. - Symbols["unsafe/unsafe"]["Add"] = reflect.ValueOf(add) - Symbols["unsafe/unsafe"]["Slice"] = reflect.ValueOf(slice) -} - -func add(ptr unsafe.Pointer, l int) unsafe.Pointer { - return unsafe.Pointer(uintptr(ptr) + uintptr(l)) -} - -type emptyInterface struct { - _ uintptr - data unsafe.Pointer -} - -func slice(i interface{}, l int) interface{} { - if l == 0 { - return nil - } - - v := reflect.ValueOf(i) - if v.Kind() != reflect.Ptr { - panic(errors.New("first argument to unsafe.Slice must be pointer")) - } - if v.IsNil() { - panic(errors.New("unsafe.Slice: ptr is nil and len is not zero")) - } - - if l < 0 { - panic(errors.New("unsafe.Slice: len out of range")) - } - - ih := *(*emptyInterface)(unsafe.Pointer(&i)) - - inter := reflect.MakeSlice(reflect.SliceOf(v.Type().Elem()), l, l).Interface() - ptr := (*emptyInterface)(unsafe.Pointer(&inter)).data - sh := (*reflect.SliceHeader)(ptr) - sh.Data = uintptr(ih.data) - sh.Len = l - sh.Cap = l - - return inter -}