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/script
Daniel Martí ed4f91665d
obfuscate syscall again to fix x/sys/unix
When updating Garble to support Go 1.22.0, CI on MacOS spotted
that the syscall package was failing to build given that it uses
assembly code which is only allowed in some std packages.

That allowlist is based on import paths, and we were obfuscating
the syscall package's import path, so that was breaking GOOS=darwin.
As a fix, I added syscall to runtimeAndDeps to not obfuscate it.

That wasn't a great fix; it's not part of runtime and its dependencies,
and there's no reason we should avoid obfuscating the package contents.
Not obfuscating the contents in fact broke x/sys/unix,
as it contains a copy of syscall.Rlimit which it type converted with.

Undo that fix and reinstate the gogarble.txtar syscall test.
Implement the fix where we only leave syscall's import path alone.
Add a regression test, and add a note about adding x/net and x/sys
to check-third-party.sh so that we can catch these bugs earlier.

Fixes #830.
5 months ago
..
asm.txtar support inline comments in asm #include lines 6 months ago
atomic.txtar drop support for Go 1.20 8 months ago
basic.txtar drop support for Go 1.20 8 months ago
cache.txtar drop support for Go 1.20 8 months ago
cgo.txtar support inline comments in asm #include lines 6 months ago
crossbuild.txtar fix building for GOOS=darwin on Go 1.22.0 5 months ago
ctrlflow.txtar add trash block generator (#825) 6 months ago
debugdir.txtar drop support for Go 1.20 8 months ago
embed.txtar drop support for Go 1.20 8 months ago
goenv.txtar drop support for Go 1.20 8 months ago
gogarble.txtar obfuscate syscall again to fix x/sys/unix 5 months ago
goversion.txtar drop support for Go 1.20 8 months ago
help.txtar drop support for Go 1.20 8 months ago
implement.txtar obfuscate syscall again to fix x/sys/unix 5 months ago
imports.txtar drop support for Go 1.20 8 months ago
init.txtar drop support for Go 1.20 8 months ago
ldflags.txtar drop support for Go 1.20 8 months ago
linker.txtar drop support for Go 1.20 8 months ago
linkname.txtar drop support for Go 1.20 8 months ago
list_error.txtar drop support for Go 1.20 8 months ago
literals.txtar fix shuffle obfuscation compiler optimization 7 months ago
modinfo.txtar drop support for Go 1.20 8 months ago
plugin.txtar drop support for Go 1.20 8 months ago
position.txtar drop support for Go 1.20 8 months ago
reflect.txtar track types used in make assigned to a reflected type 7 months ago
reverse.txtar track converted types when recording reflection usage 8 months ago
run.txtar drop support for Go 1.20 8 months ago
seed-cache.txtar drop support for Go 1.20 8 months ago
seed.txtar drop support for Go 1.20 8 months ago
syntax.txtar avoid panic when embedding a builtin alias 8 months ago
test.txtar drop support for Go 1.20 8 months ago
tiny.txtar drop support for Go 1.20 8 months ago
typeparams.txtar drop support for Go 1.20 8 months ago