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í 748c6a0538
obfuscate asm function names as well (#273)
Historically, it was impossible to rename those funcs as the
implementation was in assembly files, and we only transformed Go code.

Now that transformAsm exists, it's only about fifty lines to do some
very basic parsing and rewriting of assembly files.

This fixes the obfuscated builds of multiple std packages, including a
few dependencies of net/http, since they included assembly funcs which
called pure Go functions. Those pure Go functions had their names
obfuscated, breaking the call sites in assembly.

Fixes #258.
Fixes #261.
5 years ago
..
asm.txt obfuscate asm function names as well (#273) 5 years ago
basic.txt testdata: remove some unnecessary execs (#267) 5 years ago
cgo.txt all: drop support for Go 1.15.x (#265) 5 years ago
debugdir.txt refactor "current package" with TOOLEXEC_IMPORTPATH (#266) 5 years ago
embed.txt don't obfuscate the "embed" import path 5 years ago
goprivate.txt obfuscate asm function names as well (#273) 5 years ago
goversion.txt all: drop support for Go 1.15.x (#265) 5 years ago
help.txt include a "garble version" test (#221) 5 years ago
implement.txt all: drop support for Go 1.15.x (#265) 5 years ago
imports.txt all: drop support for Go 1.15.x (#265) 5 years ago
init.txt all: drop support for Go 1.15.x (#265) 5 years ago
ldflags.txt testdata: remove some unnecessary execs (#267) 5 years ago
linkname.txt all: drop support for Go 1.15.x (#265) 5 years ago
literals.txt refactor "current package" with TOOLEXEC_IMPORTPATH (#266) 5 years ago
modinfo.txt testdata: remove some unnecessary execs (#267) 5 years ago
plugin.txt all: drop support for Go 1.15.x (#265) 5 years ago
position.txt all: drop support for Go 1.15.x (#265) 5 years ago
reverse.txt testdata: remove some unnecessary execs (#267) 5 years ago
seed.txt all: drop support for Go 1.15.x (#265) 5 years ago
syntax.txt all: drop support for Go 1.15.x (#265) 5 years ago
test.txt fix and re-enable "garble test" (#268) 5 years ago
tiny.txt all: drop support for Go 1.15.x (#265) 5 years ago