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í 09e244986e formally add support for Go 1.16
This was pretty much just fixing the README and closing the issue. The
only other noteworthy user-facing change is that, if the Go version is
detected to be too old, we now suggest 1.16.x instead of 1.15.x.

While at it, refactor goversion.txt a bit. I wanted it to print a
clearer "mocking the go build" error if another command was used like
"go build", but I didn't want to learn BAT. So, instead use a simple Go
program and build it, which will work on all platforms. The added
"go build" step barely takes 100ms on my machine, given how simple the
program is.

The [short] line also doesn't seem necessary to me. The entire script
runs in under 200ms for me, so it's well within the realm of "short", at
least compared to many of the other test scripts.

Fixes #124.
3 years ago
..
asm.txt replace the -p path when assembling (#247) 3 years ago
basic.txt obfuscate unexported names like exported ones (#227) 3 years ago
cgo.txt testdata: don't let tests rely on rewriting mod files 4 years ago
debugdir.txt reimplement import path obfuscation without goobj2 (#242) 3 years ago
goprivate.txt update the list of runtime-related packages for 1.16 (#246) 3 years ago
goversion.txt formally add support for Go 1.16 3 years ago
help.txt include a "garble version" test (#221) 3 years ago
implement.txt testdata: don't let tests rely on rewriting mod files 4 years ago
imports.txt properly fix obfuscated imports with their package names (#245) 3 years ago
init.txt testdata: add test case for init funcs in many files (#208) 4 years ago
ldflags.txt testdata: don't let tests rely on rewriting mod files 4 years ago
linkname.txt fixed some bugs related to additional linkname corner cases (#210) 3 years ago
literals.txt do not try to obfuscate huge literals (#204) 4 years ago
modinfo.txt testdata: don't let tests rely on rewriting mod files 4 years ago
plugin.txt testdata: don't let tests rely on rewriting mod files 4 years ago
position.txt simplify, improve, and test line obfuscation (#239) 3 years ago
reverse.txt reverse: support unexported names and package paths (#233) 3 years ago
seed.txt testdata: don't let tests rely on rewriting mod files 4 years ago
syntax.txt avoid panic on funcs that almost look like tests (#235) 3 years ago
test.txt reimplement import path obfuscation without goobj2 (#242) 3 years ago
tiny.txt strip a few more unneeded runtime functions 3 years ago