Hi Jan, Thank you for your reply.
I just want to know the technical solution in Golang, did you mean there is no way for this??? I don't want a 100% working solution. Yes I know the reverse engineering can only be prevented by not release any code or program, I just want to make it more difficult to get the source and read from it. At least c-archive or c-shared are much better than just give them the source codes. On Sunday, May 17, 2020 at 3:33:44 AM UTC+8, Jan Mercl wrote: > > On Sat, May 16, 2020 at 9:11 PM Billy Cui <bill...@gmail.com <javascript:>> > wrote: > > > I searched all the websites for such a solution, until Go1.2 there was a > buildmode archive, but it did not supported after 1.2, in the mean time, it > really don't have enough source code protected. > > > > Then I try use buildmode c-archive/c-shared, of course c-archive is much > better, but both of them works not expected as my thought, it's long code > so I posted on stackoverflow: > > > > > https://stackoverflow.com/questions/61817655/go-build-with-static-library-generate-by-go-itself > > > > https://stackoverflow.com/questions/61813996/go-call-so-file-built-in-golang-buildmode-c-shared > > > The only technical measure that can be reasonably expected to possibly > prevent reverse engineering of a compiled program is not giving anyone > access to it in the first place. > > Protect your rights legally. Any kind of DRM does not really work. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3b4c0807-572a-4627-945a-116f7d0fd0ce%40googlegroups.com.