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í 654841e1fb skip reflection detection for sibling packages
Our allPkgs boolean logic was wrong, because it could still lead to
garble obfuscating a type when used in the main package, but not in its
defining package. The added test case shows such a case.

To fix that, use a package path to only record the named objects from
the target package, which is a narrower operation without this problem,
but still makes all our tests pass.

This makes the google.golang.org/protobuf/internal/filetype package
start building.
4 years ago
..
asm.txt obfuscate asm function names as well (#273) 4 years ago
basic.txt testdata: reduce the cost of short tests 4 years ago
cgo.txt all: drop support for Go 1.15.x (#265) 4 years ago
crossbuild.txt fix windows/arm cross-build linking 4 years ago
debugdir.txt refactor "current package" with TOOLEXEC_IMPORTPATH (#266) 4 years ago
embed.txt don't obfuscate the "embed" import path 4 years ago
goprivate.txt avoid reproducibility issues with full rebuilds 4 years ago
goversion.txt use "go env -json" to collect env info all at once 4 years ago
help.txt make "help" refuse arguments for now 4 years ago
implement.txt remove tinyfmt implementation from a test script 4 years ago
imports.txt testdata: split reflection test cases into reflect.txt 4 years ago
init.txt all: drop support for Go 1.15.x (#265) 4 years ago
ldflags.txt testdata: remove some unnecessary execs (#267) 4 years ago
linkname.txt fix obfuscating linkname directives that where the package name contained a dot 4 years ago
literals.txt make -literals succeed on all of std 4 years ago
modinfo.txt testdata: remove some unnecessary execs (#267) 4 years ago
plugin.txt all: drop support for Go 1.15.x (#265) 4 years ago
position.txt hopefully fix position test on Windows by not matching on 'main.go' 4 years ago
reflect.txt skip reflection detection for sibling packages 4 years ago
reverse.txt reverse lone filenames as well 4 years ago
seed.txt make flags like -literals and GOPRIVATE affect hashing (#288) 4 years ago
syntax.txt testdata: split reflection test cases into reflect.txt 4 years ago
test.txt testdata: reduce the cost of short tests 4 years ago
tiny.txt testdata: scope GODEBUG to a single test case 4 years ago