Generate transformation mapping? #826
Unanswered
leaanthony
asked this question in
Q&A
Replies: 1 comment
-
We don't obfuscate types used in reflection, so you could add a hint for garble. var _ = reflect.ValueOf(sometype{}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team 👋
Is there currently a way to output a file that reports what transformation took place? I have a fairly niche problem: my project (Wails) allows the developer to call Go methods from JavaScript. When the program is not obfuscated, it's possible to do this via a string with the fully qualified method name. This obviously breaks when using garble as the strings will never line up. As the project generates the JS call code, it's easy to make both worlds align if there's a way of knowing what the transform was. If Go had the ability of attaching metadata to a method, this wouldn't be a problem 😅
Any thoughts on this issue appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions