burrowers/garble ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go command line tool that wraps the normal Go build flow and makes compiled binaries much harder to inspect.
I want it to support building, testing, and running Go programs, but with package names, identifiers, file positions, and other debug details replaced with obfuscated values. It should also have a way to reverse obfuscation for stack traces when I still have the original source, plus a command for filing a bug report with useful build info.
Please make the default behavior feel like regular go build as much as possible, including working with modules and build cache, and keep builds deterministic so the same source produces the same result. Add options for obfuscating string and other literals, and a more aggressive tiny mode that strips even more runtime and symbol information to make binaries smaller. If you need to check any current Go toolchain details, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit