-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
Compiler: I compiled it using "-s -w" build flag. but information still present in the binary #51826
Comments
Without it you wouldn't have things like reflect or stacktraces closing as working as intended |
ok thank you. |
reflect doesn't need and stacktraces doesn't require such info. @kusattapan1 Have you tired |
v2 beta I didn't know there was such function!
I didn't know there was such function! thank you. Apart from pc name function names and variable names are still present in my binary. Is there any way to remove it? |
There is a project for this: https://github.com/burrowers/garble |
It worked for me. thank you! wish native golang had such a feature... |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Only machine code, like c.
I don't like to include my information in the binary.
What did you see instead?
I passed build flag "-s -w" to compile it. However all my sensitive informations (All function names Variable names Package names my pc username C:\Users\xxx) are present in the binary.
The text was updated successfully, but these errors were encountered: