Skip to content

v0.5.0

Compare
Choose a tag to compare
@mvdan mvdan released this 06 Jan 17:11
· 296 commits to master since this release

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 of GOGARBLE (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