Commit Graph

3 Commits (master)

Author SHA1 Message Date
Paul Scheduikat 87ebebb520
format testscript files with gofmt 4 months ago
Daniel Martí aa67c654dc refuse to obfuscate bytedance/sonic/loader
Or any other package which uses a //go:linkname to the runtime names
"lastmoduledatap" or "moduledataverify1". These are used by sonic
to inject function headers to the runtime, which does not work
as garble patches the runtime as part of obfuscation.
The way it alters the magic number in function headers breaks this.

Add a summary of this as a comment too.

Fixes #898.
6 months ago
Daniel Martí db4c8e52d5 add a testscript with the linknames that bytedance/sonic/loader has
For #898.
6 months ago