You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí 716f007c2a testdata: make pointer regexp less prone to flakes
Pointers are of the form "0x" and a number of hex characters.
Those are all part of the obfuscated filename alphabet,
so if we're unlucky enough, we can get hits:

	> cmp stdout reverse.stdout
	--- stdout
	+++ reverse.stdout
	@@ -4,7 +4,7 @@
	 runtime/debug.Stack(...)
		runtime/debug/stack.go:24 +0x??
	 test/main/lib.printStackTrace(...)
	-	pv0x??mRa.go:1 +0x??
	+	test/main/lib/long_lib.go:32 +0x??
	 test/main/lib.(*ExportedLibType).ExportedLibMethod(...)
		test/main/lib/long_lib.go:19 +0x??
	 main.unexportedMainFunc.func1(...)

Include the plus sign in the regular expression,
which is used for showing pointers but isn't part of our alphabet.
3 years ago
..
asm.txt CI: test on GOARCH=386 3 years ago
basic.txt fix binsubstr calls to not prepare for a regexp 3 years ago
cgo.txt CI: test on GOARCH=386 3 years ago
crossbuild.txt only list missing packages when obfuscating the runtime 3 years ago
debugdir.txt avoid build ID mismatches when using -debugdir 3 years ago
embed.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
gogarble.txt only list missing packages when obfuscating the runtime 3 years ago
goversion.txt drop support for Go 1.16.x 4 years ago
help.txt give a useful error for "garble build -tiny" 3 years ago
implement.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
imports.txt handle --long build flags properly 3 years ago
init.txt drop support for Go 1.16.x 4 years ago
ldflags.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
linkname.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
literals.txt ensure the runtime is built in a reproducible way 3 years ago
modinfo.txt testdata: adjust for newer Go 1.18 tip version 3 years ago
plugin.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
position.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
reflect.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
reverse.txt testdata: make pointer regexp less prone to flakes 3 years ago
seed.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago
syntax.txt testdata: ensure go:noinline works via runtime.Callers 3 years ago
test.txt drop support for Go 1.16.x 4 years ago
tiny.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 3 years ago