You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ garble version
mvdan.cc/garble v0.10.0
Build settings:
-buildmode exe
-compiler gc
CGO_ENABLED 1
GOARCH arm64
GOOS darwin
$ go version
go version go1.20.3 darwin/arm64
What version of Garble and Go are you using?
What environment are you running Garble on?
go env
OutputWhat did you do?
I have a simple program that mainly deals with logging.
main.go
When I ran without obfuscation, the output was:
Next, I ran with obfuscation, the output was as below.
There was a weird log location:
fNaaZg_6.go:2
, which ends with.go:2
. AFAIK, every obfuscated log locations should end with.go:1
.Next, I tried to reverse the output by copying/pasting the whole output above to a
log.txt
file and rangarble reverse
:As you can see,
Aev09U6PaKmX.go:1
is reversible butfNaaZg_6.go:2
is irreversible!What did you expect to see?
The output of
$ garble -literals -seed=HIWdLC75Auohff+IPbtLUA== reverse main.go log.txt
should be:What did you see instead?
The output of
$ garble -literals -seed=HIWdLC75Auohff+IPbtLUA== reverse main.go log.txt
was:The text was updated successfully, but these errors were encountered: