-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gomobile and tinygo #296
Comments
In theory it should be possible for them to work, as we mainly manipulate Go code. In practice they very likely don't work with garble right now, and it would depend on each particular implementation's
|
Some more thoughts: I don't think it's worth it to make garble work with gomobile directly. As long as we support cgo (we do) and -buildmode=c-archive/c-shared (I think we do, but it's not tested), then it should be possible to do obfuscated builds of mobile apps in Go. tinygo is more interesting because it has no alternative via plain tinygo calls Another alternative would be to use an LLVM IR obfuscator, which could in theory work directly with tinygo. That's out of scope for garble, but I seem to understand there are such obfuscators out there already. |
That's #297 now. |
Note that this should be possible to made to work with caching, and perhaps even better than with the Go tooling. You can basically construct an alternative package tree and cache that for later builds, needing a single |
Thanks all ! I will try about the above |
I've opened #298 to track a |
So, anybody understand how to use garble with go mobile ? How to run "gomobile bind" command )? |
@mvdan @sintanial Any hints as to how to obfuscate gomobile output? Is it currently possible using garble (perhaps with extra work / workaround)? |
I'd suggest following #298 or leaving a comment there. That solution should work with tinygo in principle, as per #296 (comment). I honestly don't know how gomobile builds work, but I imagine it might be similar. |
anyone know if this in theory should work with gomobile and tinygo ?
The text was updated successfully, but these errors were encountered: