From: Katie Hockman Date: Mon, 14 Dec 2020 15:03:05 +0000 (-0500) Subject: [dev.fuzz] all: merge master into dev.fuzz X-Git-Tag: go1.18beta1~1282^2~114 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0345ede87ee12698988973884cfc0fd3d499dffd;p=gostls13.git [dev.fuzz] all: merge master into dev.fuzz Change-Id: I5d8c8329ccc9d747bd81ade6b1cb7cb8ae2e94b2 --- 0345ede87ee12698988973884cfc0fd3d499dffd diff --cc api/except.txt index 662fa16f81,6f6f839ba6..798b2c2f41 --- a/api/except.txt +++ b/api/except.txt @@@ -380,81 -488,11 +488,12 @@@ pkg syscall (windows-amd64), type CertR pkg syscall (windows-amd64), type CertRevocationInfo struct, OidSpecificInfo uintptr pkg syscall (windows-amd64), type CertSimpleChain struct, TrustListInfo uintptr pkg syscall (windows-amd64), type RawSockaddrAny struct, Pad [96]int8 - pkg syscall (freebsd-386), func Mknod(string, uint32, int) error - pkg syscall (freebsd-386), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-386), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-386), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-386), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-386), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-386), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-386), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-386), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-386), type Stat_t struct, Pad_cgo_0 [8]uint8 - pkg syscall (freebsd-386), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-386), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-386), type Statfs_t struct, Mntonname [88]int8 - pkg syscall (freebsd-386-cgo), func Mknod(string, uint32, int) error - pkg syscall (freebsd-386-cgo), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-386-cgo), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Pad_cgo_0 [8]uint8 - pkg syscall (freebsd-386-cgo), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-386-cgo), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-386-cgo), type Statfs_t struct, Mntonname [88]int8 - pkg syscall (freebsd-amd64), func Mknod(string, uint32, int) error - pkg syscall (freebsd-amd64), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-amd64), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-amd64), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-amd64), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-amd64), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-amd64), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-amd64), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-amd64), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-amd64), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-amd64), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-amd64), type Statfs_t struct, Mntonname [88]int8 - pkg syscall (freebsd-amd64-cgo), func Mknod(string, uint32, int) error - pkg syscall (freebsd-amd64-cgo), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-amd64-cgo), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-amd64-cgo), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-amd64-cgo), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-amd64-cgo), type Statfs_t struct, Mntonname [88]int8 - pkg syscall (freebsd-arm), func Mknod(string, uint32, int) error - pkg syscall (freebsd-arm), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-arm), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-arm), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-arm), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-arm), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-arm), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-arm), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-arm), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-arm), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-arm), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-arm), type Statfs_t struct, Mntonname [88]int8 - pkg syscall (freebsd-arm-cgo), func Mknod(string, uint32, int) error - pkg syscall (freebsd-arm-cgo), type Dirent struct, Fileno uint32 - pkg syscall (freebsd-arm-cgo), type Dirent struct, Namlen uint8 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Blksize uint32 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Dev uint32 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Gen uint32 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Ino uint32 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Lspare int32 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Nlink uint16 - pkg syscall (freebsd-arm-cgo), type Stat_t struct, Rdev uint32 - pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntfromname [88]int8 - pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntonname [88]int8 + pkg testing, func MainStart(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample) *M ++pkg testing, func MainStart(testDeps, []InternalTest, []InternalBenchmark, []InternalExample) *M + pkg testing, func RegisterCover(Cover) pkg text/scanner, const GoTokens = 1012 + pkg text/template/parse, type DotNode bool + pkg text/template/parse, type Node interface { Copy, String, Type } pkg unicode, const Version = "10.0.0" pkg unicode, const Version = "11.0.0" pkg unicode, const Version = "12.0.0" diff --cc api/next.txt index 71fdaddc08,959172242e..7e5378da5e --- a/api/next.txt +++ b/api/next.txt @@@ -1,52 -1,452 +1,485 @@@ - pkg unicode, const Version = "13.0.0" - pkg unicode, var Chorasmian *RangeTable - pkg unicode, var Dives_Akuru *RangeTable - pkg unicode, var Khitan_Small_Script *RangeTable - pkg unicode, var Yezidi *RangeTable - pkg text/template/parse, const NodeComment = 20 - pkg text/template/parse, const NodeComment NodeType - pkg text/template/parse, const ParseComments = 1 - pkg text/template/parse, const ParseComments Mode - pkg text/template/parse, method (*CommentNode) Copy() Node - pkg text/template/parse, method (*CommentNode) String() string - pkg text/template/parse, method (CommentNode) Position() Pos - pkg text/template/parse, method (CommentNode) Type() NodeType - pkg text/template/parse, type CommentNode struct - pkg text/template/parse, type CommentNode struct, Text string - pkg text/template/parse, type CommentNode struct, embedded NodeType - pkg text/template/parse, type CommentNode struct, embedded Pos - pkg text/template/parse, type Mode uint - pkg text/template/parse, type Tree struct, Mode Mode + pkg archive/zip, method (*ReadCloser) Open(string) (fs.File, error) + pkg archive/zip, method (*Reader) Open(string) (fs.File, error) + pkg debug/elf, const DT_ADDRRNGHI = 1879047935 + pkg debug/elf, const DT_ADDRRNGHI DynTag + pkg debug/elf, const DT_ADDRRNGLO = 1879047680 + pkg debug/elf, const DT_ADDRRNGLO DynTag + pkg debug/elf, const DT_AUDIT = 1879047932 + pkg debug/elf, const DT_AUDIT DynTag + pkg debug/elf, const DT_AUXILIARY = 2147483645 + pkg debug/elf, const DT_AUXILIARY DynTag + pkg debug/elf, const DT_CHECKSUM = 1879047672 + pkg debug/elf, const DT_CHECKSUM DynTag + pkg debug/elf, const DT_CONFIG = 1879047930 + pkg debug/elf, const DT_CONFIG DynTag + pkg debug/elf, const DT_DEPAUDIT = 1879047931 + pkg debug/elf, const DT_DEPAUDIT DynTag + pkg debug/elf, const DT_FEATURE = 1879047676 + pkg debug/elf, const DT_FEATURE DynTag + pkg debug/elf, const DT_FILTER = 2147483647 + pkg debug/elf, const DT_FILTER DynTag + pkg debug/elf, const DT_FLAGS_1 = 1879048187 + pkg debug/elf, const DT_FLAGS_1 DynTag + pkg debug/elf, const DT_GNU_CONFLICT = 1879047928 + pkg debug/elf, const DT_GNU_CONFLICT DynTag + pkg debug/elf, const DT_GNU_CONFLICTSZ = 1879047670 + pkg debug/elf, const DT_GNU_CONFLICTSZ DynTag + pkg debug/elf, const DT_GNU_HASH = 1879047925 + pkg debug/elf, const DT_GNU_HASH DynTag + pkg debug/elf, const DT_GNU_LIBLIST = 1879047929 + pkg debug/elf, const DT_GNU_LIBLIST DynTag + pkg debug/elf, const DT_GNU_LIBLISTSZ = 1879047671 + pkg debug/elf, const DT_GNU_LIBLISTSZ DynTag + pkg debug/elf, const DT_GNU_PRELINKED = 1879047669 + pkg debug/elf, const DT_GNU_PRELINKED DynTag + pkg debug/elf, const DT_MIPS_AUX_DYNAMIC = 1879048241 + pkg debug/elf, const DT_MIPS_AUX_DYNAMIC DynTag + pkg debug/elf, const DT_MIPS_BASE_ADDRESS = 1879048198 + pkg debug/elf, const DT_MIPS_BASE_ADDRESS DynTag + pkg debug/elf, const DT_MIPS_COMPACT_SIZE = 1879048239 + pkg debug/elf, const DT_MIPS_COMPACT_SIZE DynTag + pkg debug/elf, const DT_MIPS_CONFLICT = 1879048200 + pkg debug/elf, const DT_MIPS_CONFLICT DynTag + pkg debug/elf, const DT_MIPS_CONFLICTNO = 1879048203 + pkg debug/elf, const DT_MIPS_CONFLICTNO DynTag + pkg debug/elf, const DT_MIPS_CXX_FLAGS = 1879048226 + pkg debug/elf, const DT_MIPS_CXX_FLAGS DynTag + pkg debug/elf, const DT_MIPS_DELTA_CLASS = 1879048215 + pkg debug/elf, const DT_MIPS_DELTA_CLASS DynTag + pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM = 1879048224 + pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM DynTag + pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM_NO = 1879048225 + pkg debug/elf, const DT_MIPS_DELTA_CLASSSYM_NO DynTag + pkg debug/elf, const DT_MIPS_DELTA_CLASS_NO = 1879048216 + pkg debug/elf, const DT_MIPS_DELTA_CLASS_NO DynTag + pkg debug/elf, const DT_MIPS_DELTA_INSTANCE = 1879048217 + pkg debug/elf, const DT_MIPS_DELTA_INSTANCE DynTag + pkg debug/elf, const DT_MIPS_DELTA_INSTANCE_NO = 1879048218 + pkg debug/elf, const DT_MIPS_DELTA_INSTANCE_NO DynTag + pkg debug/elf, const DT_MIPS_DELTA_RELOC = 1879048219 + pkg debug/elf, const DT_MIPS_DELTA_RELOC DynTag + pkg debug/elf, const DT_MIPS_DELTA_RELOC_NO = 1879048220 + pkg debug/elf, const DT_MIPS_DELTA_RELOC_NO DynTag + pkg debug/elf, const DT_MIPS_DELTA_SYM = 1879048221 + pkg debug/elf, const DT_MIPS_DELTA_SYM DynTag + pkg debug/elf, const DT_MIPS_DELTA_SYM_NO = 1879048222 + pkg debug/elf, const DT_MIPS_DELTA_SYM_NO DynTag + pkg debug/elf, const DT_MIPS_DYNSTR_ALIGN = 1879048235 + pkg debug/elf, const DT_MIPS_DYNSTR_ALIGN DynTag + pkg debug/elf, const DT_MIPS_FLAGS = 1879048197 + pkg debug/elf, const DT_MIPS_FLAGS DynTag + pkg debug/elf, const DT_MIPS_GOTSYM = 1879048211 + pkg debug/elf, const DT_MIPS_GOTSYM DynTag + pkg debug/elf, const DT_MIPS_GP_VALUE = 1879048240 + pkg debug/elf, const DT_MIPS_GP_VALUE DynTag + pkg debug/elf, const DT_MIPS_HIDDEN_GOTIDX = 1879048231 + pkg debug/elf, const DT_MIPS_HIDDEN_GOTIDX DynTag + pkg debug/elf, const DT_MIPS_HIPAGENO = 1879048212 + pkg debug/elf, const DT_MIPS_HIPAGENO DynTag + pkg debug/elf, const DT_MIPS_ICHECKSUM = 1879048195 + pkg debug/elf, const DT_MIPS_ICHECKSUM DynTag + pkg debug/elf, const DT_MIPS_INTERFACE = 1879048234 + pkg debug/elf, const DT_MIPS_INTERFACE DynTag + pkg debug/elf, const DT_MIPS_INTERFACE_SIZE = 1879048236 + pkg debug/elf, const DT_MIPS_INTERFACE_SIZE DynTag + pkg debug/elf, const DT_MIPS_IVERSION = 1879048196 + pkg debug/elf, const DT_MIPS_IVERSION DynTag + pkg debug/elf, const DT_MIPS_LIBLIST = 1879048201 + pkg debug/elf, const DT_MIPS_LIBLIST DynTag + pkg debug/elf, const DT_MIPS_LIBLISTNO = 1879048208 + pkg debug/elf, const DT_MIPS_LIBLISTNO DynTag + pkg debug/elf, const DT_MIPS_LOCALPAGE_GOTIDX = 1879048229 + pkg debug/elf, const DT_MIPS_LOCALPAGE_GOTIDX DynTag + pkg debug/elf, const DT_MIPS_LOCAL_GOTIDX = 1879048230 + pkg debug/elf, const DT_MIPS_LOCAL_GOTIDX DynTag + pkg debug/elf, const DT_MIPS_LOCAL_GOTNO = 1879048202 + pkg debug/elf, const DT_MIPS_LOCAL_GOTNO DynTag + pkg debug/elf, const DT_MIPS_MSYM = 1879048199 + pkg debug/elf, const DT_MIPS_MSYM DynTag + pkg debug/elf, const DT_MIPS_OPTIONS = 1879048233 + pkg debug/elf, const DT_MIPS_OPTIONS DynTag + pkg debug/elf, const DT_MIPS_PERF_SUFFIX = 1879048238 + pkg debug/elf, const DT_MIPS_PERF_SUFFIX DynTag + pkg debug/elf, const DT_MIPS_PIXIE_INIT = 1879048227 + pkg debug/elf, const DT_MIPS_PIXIE_INIT DynTag + pkg debug/elf, const DT_MIPS_PLTGOT = 1879048242 + pkg debug/elf, const DT_MIPS_PLTGOT DynTag + pkg debug/elf, const DT_MIPS_PROTECTED_GOTIDX = 1879048232 + pkg debug/elf, const DT_MIPS_PROTECTED_GOTIDX DynTag + pkg debug/elf, const DT_MIPS_RLD_MAP = 1879048214 + pkg debug/elf, const DT_MIPS_RLD_MAP DynTag + pkg debug/elf, const DT_MIPS_RLD_MAP_REL = 1879048245 + pkg debug/elf, const DT_MIPS_RLD_MAP_REL DynTag + pkg debug/elf, const DT_MIPS_RLD_TEXT_RESOLVE_ADDR = 1879048237 + pkg debug/elf, const DT_MIPS_RLD_TEXT_RESOLVE_ADDR DynTag + pkg debug/elf, const DT_MIPS_RLD_VERSION = 1879048193 + pkg debug/elf, const DT_MIPS_RLD_VERSION DynTag + pkg debug/elf, const DT_MIPS_RWPLT = 1879048244 + pkg debug/elf, const DT_MIPS_RWPLT DynTag + pkg debug/elf, const DT_MIPS_SYMBOL_LIB = 1879048228 + pkg debug/elf, const DT_MIPS_SYMBOL_LIB DynTag + pkg debug/elf, const DT_MIPS_SYMTABNO = 1879048209 + pkg debug/elf, const DT_MIPS_SYMTABNO DynTag + pkg debug/elf, const DT_MIPS_TIME_STAMP = 1879048194 + pkg debug/elf, const DT_MIPS_TIME_STAMP DynTag + pkg debug/elf, const DT_MIPS_UNREFEXTNO = 1879048210 + pkg debug/elf, const DT_MIPS_UNREFEXTNO DynTag + pkg debug/elf, const DT_MOVEENT = 1879047674 + pkg debug/elf, const DT_MOVEENT DynTag + pkg debug/elf, const DT_MOVESZ = 1879047675 + pkg debug/elf, const DT_MOVESZ DynTag + pkg debug/elf, const DT_MOVETAB = 1879047934 + pkg debug/elf, const DT_MOVETAB DynTag + pkg debug/elf, const DT_PLTPAD = 1879047933 + pkg debug/elf, const DT_PLTPAD DynTag + pkg debug/elf, const DT_PLTPADSZ = 1879047673 + pkg debug/elf, const DT_PLTPADSZ DynTag + pkg debug/elf, const DT_POSFLAG_1 = 1879047677 + pkg debug/elf, const DT_POSFLAG_1 DynTag + pkg debug/elf, const DT_PPC64_GLINK = 1879048192 + pkg debug/elf, const DT_PPC64_GLINK DynTag + pkg debug/elf, const DT_PPC64_OPD = 1879048193 + pkg debug/elf, const DT_PPC64_OPD DynTag + pkg debug/elf, const DT_PPC64_OPDSZ = 1879048194 + pkg debug/elf, const DT_PPC64_OPDSZ DynTag + pkg debug/elf, const DT_PPC64_OPT = 1879048195 + pkg debug/elf, const DT_PPC64_OPT DynTag + pkg debug/elf, const DT_PPC_GOT = 1879048192 + pkg debug/elf, const DT_PPC_GOT DynTag + pkg debug/elf, const DT_PPC_OPT = 1879048193 + pkg debug/elf, const DT_PPC_OPT DynTag + pkg debug/elf, const DT_RELACOUNT = 1879048185 + pkg debug/elf, const DT_RELACOUNT DynTag + pkg debug/elf, const DT_RELCOUNT = 1879048186 + pkg debug/elf, const DT_RELCOUNT DynTag + pkg debug/elf, const DT_SPARC_REGISTER = 1879048193 + pkg debug/elf, const DT_SPARC_REGISTER DynTag + pkg debug/elf, const DT_SYMINENT = 1879047679 + pkg debug/elf, const DT_SYMINENT DynTag + pkg debug/elf, const DT_SYMINFO = 1879047935 + pkg debug/elf, const DT_SYMINFO DynTag + pkg debug/elf, const DT_SYMINSZ = 1879047678 + pkg debug/elf, const DT_SYMINSZ DynTag + pkg debug/elf, const DT_SYMTAB_SHNDX = 34 + pkg debug/elf, const DT_SYMTAB_SHNDX DynTag + pkg debug/elf, const DT_TLSDESC_GOT = 1879047927 + pkg debug/elf, const DT_TLSDESC_GOT DynTag + pkg debug/elf, const DT_TLSDESC_PLT = 1879047926 + pkg debug/elf, const DT_TLSDESC_PLT DynTag + pkg debug/elf, const DT_USED = 2147483646 + pkg debug/elf, const DT_USED DynTag + pkg debug/elf, const DT_VALRNGHI = 1879047679 + pkg debug/elf, const DT_VALRNGHI DynTag + pkg debug/elf, const DT_VALRNGLO = 1879047424 + pkg debug/elf, const DT_VALRNGLO DynTag + pkg debug/elf, const DT_VERDEF = 1879048188 + pkg debug/elf, const DT_VERDEF DynTag + pkg debug/elf, const DT_VERDEFNUM = 1879048189 + pkg debug/elf, const DT_VERDEFNUM DynTag + pkg debug/elf, const PT_AARCH64_ARCHEXT = 1879048192 + pkg debug/elf, const PT_AARCH64_ARCHEXT ProgType + pkg debug/elf, const PT_AARCH64_UNWIND = 1879048193 + pkg debug/elf, const PT_AARCH64_UNWIND ProgType + pkg debug/elf, const PT_ARM_ARCHEXT = 1879048192 + pkg debug/elf, const PT_ARM_ARCHEXT ProgType + pkg debug/elf, const PT_ARM_EXIDX = 1879048193 + pkg debug/elf, const PT_ARM_EXIDX ProgType + pkg debug/elf, const PT_GNU_EH_FRAME = 1685382480 + pkg debug/elf, const PT_GNU_EH_FRAME ProgType + pkg debug/elf, const PT_GNU_MBIND_HI = 1685386580 + pkg debug/elf, const PT_GNU_MBIND_HI ProgType + pkg debug/elf, const PT_GNU_MBIND_LO = 1685382485 + pkg debug/elf, const PT_GNU_MBIND_LO ProgType + pkg debug/elf, const PT_GNU_PROPERTY = 1685382483 + pkg debug/elf, const PT_GNU_PROPERTY ProgType + pkg debug/elf, const PT_GNU_RELRO = 1685382482 + pkg debug/elf, const PT_GNU_RELRO ProgType + pkg debug/elf, const PT_GNU_STACK = 1685382481 + pkg debug/elf, const PT_GNU_STACK ProgType + pkg debug/elf, const PT_MIPS_ABIFLAGS = 1879048195 + pkg debug/elf, const PT_MIPS_ABIFLAGS ProgType + pkg debug/elf, const PT_MIPS_OPTIONS = 1879048194 + pkg debug/elf, const PT_MIPS_OPTIONS ProgType + pkg debug/elf, const PT_MIPS_REGINFO = 1879048192 + pkg debug/elf, const PT_MIPS_REGINFO ProgType + pkg debug/elf, const PT_MIPS_RTPROC = 1879048193 + pkg debug/elf, const PT_MIPS_RTPROC ProgType + pkg debug/elf, const PT_OPENBSD_BOOTDATA = 1705253862 + pkg debug/elf, const PT_OPENBSD_BOOTDATA ProgType + pkg debug/elf, const PT_OPENBSD_RANDOMIZE = 1705237478 + pkg debug/elf, const PT_OPENBSD_RANDOMIZE ProgType + pkg debug/elf, const PT_OPENBSD_WXNEEDED = 1705237479 + pkg debug/elf, const PT_OPENBSD_WXNEEDED ProgType + pkg debug/elf, const PT_PAX_FLAGS = 1694766464 + pkg debug/elf, const PT_PAX_FLAGS ProgType + pkg debug/elf, const PT_S390_PGSTE = 1879048192 + pkg debug/elf, const PT_S390_PGSTE ProgType + pkg debug/elf, const PT_SUNWSTACK = 1879048187 + pkg debug/elf, const PT_SUNWSTACK ProgType + pkg debug/elf, const PT_SUNW_EH_FRAME = 1685382480 + pkg debug/elf, const PT_SUNW_EH_FRAME ProgType + pkg embed, method (FS) Open(string) (fs.File, error) + pkg embed, method (FS) ReadDir(string) ([]fs.DirEntry, error) + pkg embed, method (FS) ReadFile(string) ([]uint8, error) + pkg embed, type FS struct + pkg flag, func Func(string, string, func(string) error) + pkg flag, method (*FlagSet) Func(string, string, func(string) error) + pkg go/build, type Package struct, EmbedPatterns []string + pkg go/build, type Package struct, IgnoredOtherFiles []string + pkg go/build, type Package struct, TestEmbedPatterns []string + pkg go/build, type Package struct, XTestEmbedPatterns []string + pkg html/template, func ParseFS(fs.FS, ...string) (*Template, error) + pkg html/template, method (*Template) ParseFS(fs.FS, ...string) (*Template, error) + pkg io, func NopCloser(Reader) ReadCloser + pkg io, func ReadAll(Reader) ([]uint8, error) + pkg io, type ReadSeekCloser interface { Close, Read, Seek } + pkg io, type ReadSeekCloser interface, Close() error + pkg io, type ReadSeekCloser interface, Read([]uint8) (int, error) + pkg io, type ReadSeekCloser interface, Seek(int64, int) (int64, error) + pkg io, var Discard Writer + pkg io/fs, const ModeAppend = 1073741824 + pkg io/fs, const ModeAppend FileMode + pkg io/fs, const ModeCharDevice = 2097152 + pkg io/fs, const ModeCharDevice FileMode + pkg io/fs, const ModeDevice = 67108864 + pkg io/fs, const ModeDevice FileMode + pkg io/fs, const ModeDir = 2147483648 + pkg io/fs, const ModeDir FileMode + pkg io/fs, const ModeExclusive = 536870912 + pkg io/fs, const ModeExclusive FileMode + pkg io/fs, const ModeIrregular = 524288 + pkg io/fs, const ModeIrregular FileMode + pkg io/fs, const ModeNamedPipe = 33554432 + pkg io/fs, const ModeNamedPipe FileMode + pkg io/fs, const ModePerm = 511 + pkg io/fs, const ModePerm FileMode + pkg io/fs, const ModeSetgid = 4194304 + pkg io/fs, const ModeSetgid FileMode + pkg io/fs, const ModeSetuid = 8388608 + pkg io/fs, const ModeSetuid FileMode + pkg io/fs, const ModeSocket = 16777216 + pkg io/fs, const ModeSocket FileMode + pkg io/fs, const ModeSticky = 1048576 + pkg io/fs, const ModeSticky FileMode + pkg io/fs, const ModeSymlink = 134217728 + pkg io/fs, const ModeSymlink FileMode + pkg io/fs, const ModeTemporary = 268435456 + pkg io/fs, const ModeTemporary FileMode + pkg io/fs, const ModeType = 2401763328 + pkg io/fs, const ModeType FileMode + pkg io/fs, func Glob(FS, string) ([]string, error) + pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error) + pkg io/fs, func ReadFile(FS, string) ([]uint8, error) + pkg io/fs, func Stat(FS, string) (FileInfo, error) + pkg io/fs, func ValidPath(string) bool + pkg io/fs, method (*PathError) Error() string + pkg io/fs, method (*PathError) Timeout() bool + pkg io/fs, method (*PathError) Unwrap() error + pkg io/fs, method (FileMode) IsDir() bool + pkg io/fs, method (FileMode) IsRegular() bool + pkg io/fs, method (FileMode) Perm() FileMode + pkg io/fs, method (FileMode) String() string + pkg io/fs, method (FileMode) Type() FileMode + pkg io/fs, type DirEntry interface { Info, IsDir, Name, Type } + pkg io/fs, type DirEntry interface, Info() (FileInfo, error) + pkg io/fs, type DirEntry interface, IsDir() bool + pkg io/fs, type DirEntry interface, Name() string + pkg io/fs, type DirEntry interface, Type() FileMode + pkg io/fs, type FS interface { Open } + pkg io/fs, type FS interface, Open(string) (File, error) + pkg io/fs, type File interface { Close, Read, Stat } + pkg io/fs, type File interface, Close() error + pkg io/fs, type File interface, Read([]uint8) (int, error) + pkg io/fs, type File interface, Stat() (FileInfo, error) + pkg io/fs, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys } + pkg io/fs, type FileInfo interface, IsDir() bool + pkg io/fs, type FileInfo interface, ModTime() time.Time + pkg io/fs, type FileInfo interface, Mode() FileMode + pkg io/fs, type FileInfo interface, Name() string + pkg io/fs, type FileInfo interface, Size() int64 + pkg io/fs, type FileInfo interface, Sys() interface{} + pkg io/fs, type FileMode uint32 + pkg io/fs, type GlobFS interface { Glob, Open } + pkg io/fs, type GlobFS interface, Glob(string) ([]string, error) + pkg io/fs, type GlobFS interface, Open(string) (File, error) + pkg io/fs, type PathError struct + pkg io/fs, type PathError struct, Err error + pkg io/fs, type PathError struct, Op string + pkg io/fs, type PathError struct, Path string + pkg io/fs, type ReadDirFS interface { Open, ReadDir } + pkg io/fs, type ReadDirFS interface, Open(string) (File, error) + pkg io/fs, type ReadDirFS interface, ReadDir(string) ([]DirEntry, error) + pkg io/fs, type ReadDirFile interface { Close, Read, ReadDir, Stat } + pkg io/fs, type ReadDirFile interface, Close() error + pkg io/fs, type ReadDirFile interface, Read([]uint8) (int, error) + pkg io/fs, type ReadDirFile interface, ReadDir(int) ([]DirEntry, error) + pkg io/fs, type ReadDirFile interface, Stat() (FileInfo, error) + pkg io/fs, type ReadFileFS interface { Open, ReadFile } + pkg io/fs, type ReadFileFS interface, Open(string) (File, error) + pkg io/fs, type ReadFileFS interface, ReadFile(string) ([]uint8, error) + pkg io/fs, type StatFS interface { Open, Stat } + pkg io/fs, type StatFS interface, Open(string) (File, error) + pkg io/fs, type StatFS interface, Stat(string) (FileInfo, error) + pkg io/fs, var ErrClosed error + pkg io/fs, var ErrExist error + pkg io/fs, var ErrInvalid error + pkg io/fs, var ErrNotExist error + pkg io/fs, var ErrPermission error + pkg log, func Default() *Logger + pkg net, var ErrClosed error + pkg net/http, func FS(fs.FS) FileSystem + pkg net/http, type Transport struct, GetProxyConnectHeader func(context.Context, *url.URL, string) (Header, error) + pkg os, const ModeAppend fs.FileMode + pkg os, const ModeCharDevice fs.FileMode + pkg os, const ModeDevice fs.FileMode + pkg os, const ModeDir fs.FileMode + pkg os, const ModeExclusive fs.FileMode + pkg os, const ModeIrregular fs.FileMode + pkg os, const ModeNamedPipe fs.FileMode + pkg os, const ModePerm fs.FileMode + pkg os, const ModeSetgid fs.FileMode + pkg os, const ModeSetuid fs.FileMode + pkg os, const ModeSocket fs.FileMode + pkg os, const ModeSticky fs.FileMode + pkg os, const ModeSymlink fs.FileMode + pkg os, const ModeTemporary fs.FileMode + pkg os, const ModeType fs.FileMode + pkg os, func Chmod(string, fs.FileMode) error + pkg os, func DirFS(string) fs.FS + pkg os, func Lstat(string) (fs.FileInfo, error) + pkg os, func Mkdir(string, fs.FileMode) error + pkg os, func MkdirAll(string, fs.FileMode) error + pkg os, func OpenFile(string, int, fs.FileMode) (*File, error) + pkg os, func SameFile(fs.FileInfo, fs.FileInfo) bool + pkg os, func Stat(string) (fs.FileInfo, error) + pkg os, method (*File) Chmod(fs.FileMode) error + pkg os, method (*File) ReadDir(int) ([]fs.DirEntry, error) + pkg os, method (*File) Readdir(int) ([]fs.FileInfo, error) + pkg os, method (*File) Stat() (fs.FileInfo, error) + pkg os, type DirEntry = fs.DirEntry + pkg os, type FileInfo = fs.FileInfo + pkg os, type FileMode = fs.FileMode + pkg os, type PathError = fs.PathError + pkg os/signal, func NotifyContext(context.Context, ...os.Signal) (context.Context, context.CancelFunc) + pkg runtime/metrics, const KindBad = 0 + pkg runtime/metrics, const KindBad ValueKind + pkg runtime/metrics, const KindFloat64 = 2 + pkg runtime/metrics, const KindFloat64 ValueKind + pkg runtime/metrics, const KindFloat64Histogram = 3 + pkg runtime/metrics, const KindFloat64Histogram ValueKind + pkg runtime/metrics, const KindUint64 = 1 + pkg runtime/metrics, const KindUint64 ValueKind + pkg runtime/metrics, func All() []Description + pkg runtime/metrics, func Read([]Sample) + pkg runtime/metrics, method (Value) Float64() float64 + pkg runtime/metrics, method (Value) Float64Histogram() *Float64Histogram + pkg runtime/metrics, method (Value) Kind() ValueKind + pkg runtime/metrics, method (Value) Uint64() uint64 + pkg runtime/metrics, type Description struct + pkg runtime/metrics, type Description struct, Cumulative bool + pkg runtime/metrics, type Description struct, Description string + pkg runtime/metrics, type Description struct, Kind ValueKind + pkg runtime/metrics, type Description struct, Name string + pkg runtime/metrics, type Description struct, StopTheWorld bool + pkg runtime/metrics, type Float64Histogram struct + pkg runtime/metrics, type Float64Histogram struct, Buckets []float64 + pkg runtime/metrics, type Float64Histogram struct, Counts []uint64 + pkg runtime/metrics, type Sample struct + pkg runtime/metrics, type Sample struct, Name string + pkg runtime/metrics, type Sample struct, Value Value + pkg runtime/metrics, type Value struct + pkg runtime/metrics, type ValueKind int + pkg syscall (linux-386), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-386), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-386), func Setegid(int) error + pkg syscall (linux-386), func Seteuid(int) error + pkg syscall (linux-386-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-386-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-386-cgo), func Setegid(int) error + pkg syscall (linux-386-cgo), func Seteuid(int) error + pkg syscall (linux-amd64), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-amd64), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-amd64), func Setegid(int) error + pkg syscall (linux-amd64), func Seteuid(int) error + pkg syscall (linux-amd64-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-amd64-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-amd64-cgo), func Setegid(int) error + pkg syscall (linux-amd64-cgo), func Seteuid(int) error + pkg syscall (linux-arm), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-arm), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-arm), func Setegid(int) error + pkg syscall (linux-arm), func Seteuid(int) error + pkg syscall (linux-arm-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-arm-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno) + pkg syscall (linux-arm-cgo), func Setegid(int) error + pkg syscall (linux-arm-cgo), func Seteuid(int) error + pkg syscall (windows-386), func RtlGenRandom(*uint8, uint32) error + pkg syscall (windows-amd64), func RtlGenRandom(*uint8, uint32) error +pkg testing, func Fuzz(func(*F)) FuzzResult +pkg testing, func MainStart(testDeps, []InternalTest, []InternalBenchmark, []InternalFuzzTarget, []InternalExample) *M +pkg testing, func RunFuzzTargets(func(string, string) (bool, error), []InternalFuzzTarget) bool +pkg testing, func RunFuzzing(func(string, string) (bool, error), []InternalFuzzTarget) bool +pkg testing, method (*F) Add(...interface{}) +pkg testing, method (*F) Cleanup(func()) +pkg testing, method (*F) Error(...interface{}) +pkg testing, method (*F) Errorf(string, ...interface{}) +pkg testing, method (*F) Fail() +pkg testing, method (*F) FailNow() +pkg testing, method (*F) Failed() bool +pkg testing, method (*F) Fatal(...interface{}) +pkg testing, method (*F) Fatalf(string, ...interface{}) +pkg testing, method (*F) Fuzz(interface{}) +pkg testing, method (*F) Helper() +pkg testing, method (*F) Log(...interface{}) +pkg testing, method (*F) Logf(string, ...interface{}) +pkg testing, method (*F) Name() string +pkg testing, method (*F) Skip(...interface{}) +pkg testing, method (*F) SkipNow() +pkg testing, method (*F) Skipf(string, ...interface{}) +pkg testing, method (*F) Skipped() bool +pkg testing, method (*F) TempDir() string +pkg testing, method (FuzzResult) String() string +pkg testing, type F struct +pkg testing, type FuzzResult struct +pkg testing, type FuzzResult struct, Crasher entry +pkg testing, type FuzzResult struct, Error error +pkg testing, type FuzzResult struct, N int +pkg testing, type FuzzResult struct, T time.Duration +pkg testing, type InternalFuzzTarget struct +pkg testing, type InternalFuzzTarget struct, Fn func(*F) - pkg testing, type InternalFuzzTarget struct, Name string ++pkg testing, type InternalFuzzTarget struct, Name string + pkg testing/fstest, func TestFS(fs.FS, ...string) error + pkg testing/fstest, method (MapFS) Glob(string) ([]string, error) + pkg testing/fstest, method (MapFS) Open(string) (fs.File, error) + pkg testing/fstest, method (MapFS) ReadDir(string) ([]fs.DirEntry, error) + pkg testing/fstest, method (MapFS) ReadFile(string) ([]uint8, error) + pkg testing/fstest, method (MapFS) Stat(string) (fs.FileInfo, error) + pkg testing/fstest, type MapFS map[string]*MapFile + pkg testing/fstest, type MapFile struct + pkg testing/fstest, type MapFile struct, Data []uint8 + pkg testing/fstest, type MapFile struct, ModTime time.Time + pkg testing/fstest, type MapFile struct, Mode fs.FileMode + pkg testing/fstest, type MapFile struct, Sys interface{} + pkg testing/iotest, func ErrReader(error) io.Reader + pkg testing/iotest, func TestReader(io.Reader, []uint8) error + pkg text/template, func ParseFS(fs.FS, ...string) (*Template, error) + pkg text/template, method (*Template) ParseFS(fs.FS, ...string) (*Template, error) + pkg text/template/parse, const NodeComment = 20 + pkg text/template/parse, const NodeComment NodeType + pkg text/template/parse, const ParseComments = 1 + pkg text/template/parse, const ParseComments Mode + pkg text/template/parse, method (*CommentNode) Copy() Node + pkg text/template/parse, method (*CommentNode) String() string + pkg text/template/parse, method (CommentNode) Position() Pos + pkg text/template/parse, method (CommentNode) Type() NodeType + pkg text/template/parse, type CommentNode struct + pkg text/template/parse, type CommentNode struct, Text string + pkg text/template/parse, type CommentNode struct, embedded NodeType + pkg text/template/parse, type CommentNode struct, embedded Pos + pkg text/template/parse, type Mode uint + pkg text/template/parse, type Tree struct, Mode Mode + pkg unicode, const Version = "13.0.0" + pkg unicode, var Chorasmian *RangeTable + pkg unicode, var Dives_Akuru *RangeTable + pkg unicode, var Khitan_Small_Script *RangeTable + pkg unicode, var Yezidi *RangeTable diff --cc src/go/build/deps_test.go index 7fb4feee82,56942c0fd2..8542e52049 --- a/src/go/build/deps_test.go +++ b/src/go/build/deps_test.go @@@ -464,13 -481,10 +481,13 @@@ var depsRules = FMT, flag, math/rand < testing/quick; - FMT, flag, runtime/debug, runtime/trace + FMT, flag, runtime/debug, runtime/trace, internal/sysinfo < testing; - internal/testlog, runtime/pprof, regexp + FMT, crypto/sha256, encoding/json, math/rand + < internal/fuzz; + + internal/fuzz, internal/testlog, runtime/pprof, regexp < testing/internal/testdeps; OS, flag, testing, internal/cfg diff --cc src/testing/testing.go index 6267abfcdf,80354d5ce8..c87e0a5b9a --- a/src/testing/testing.go +++ b/src/testing/testing.go @@@ -880,15 -859,21 +888,24 @@@ func (c *common) Skipped() bool // When printing file and line information, that function will be skipped. // Helper may be called simultaneously from multiple goroutines. func (c *common) Helper() { + if c.inFuzzFn { + panic("testing: f.Helper was called inside the f.Fuzz function") + } c.mu.Lock() defer c.mu.Unlock() - if c.helpers == nil { - c.helpers = make(map[string]struct{}) + if c.helperPCs == nil { + c.helperPCs = make(map[uintptr]struct{}) + } + // repeating code from callerName here to save walking a stack frame + var pc [1]uintptr + n := runtime.Callers(2, pc[:]) // skip runtime.Callers + Helper + if n == 0 { + panic("testing: zero callers found") + } + if _, found := c.helperPCs[pc[0]]; !found { + c.helperPCs[pc[0]] = struct{}{} + c.helperNames = nil // map will be recreated next time it is needed } - c.helpers[callerName(1)] = struct{}{} } // Cleanup registers a function to be called when the test and all its