v0.5.0
This release of Garble adds initial support for the upcoming Go 1.18, continues support for Go 1.17.x, and drops support for Go 1.16.x. Note that building generic code isn't supported just yet.
Two breaking changes are introduced:
- Deprecate the use of
GOPRIVATE
in favor ofGOGARBLE
(see #276) garble reverse
now requires a main package argument
Noteworthy changes include:
- Improve detection of
reflect
usage even further - Support obfuscating some more standard library packages
- Improve literal obfuscation by using constant folding
- Add the
-debug
flag to log details of the obfuscated build - Ensure the
runtime
package is built in a reproducible way - Obfuscate local variable names to prevent shadowing bugs
- Fix and test support for using garble on 32-bit hosts