3 ms·
At the same time, I was thinking how much of internal structure can be exposed. :)
by pvtmert 5y ago
At the same time, I was thinking how much of internal structure can be exposed. :)
- LysPJ 5y agoIf there are projects where you don't want to reveal this info in the binary, you can turn the feature off with: -buildinfo=false
- pvtmert 5y agoYes, but it is turned on by default. And 99% of people will go and copy-paste existing tutorial code to their projects. I especially found out this is really useful for extracting information form non-stripped firmware binaries. They lay around on some S3 buckets, where cheap IoT manufacturers think it's safe to expose them online for updating purposes...
- deleted 5y ago[deleted]
- gwbas1c 5y agoNot much: > the currently checked-out revision and a flag indicating whether edited or untracked files are present Basically, it's including a git commit ID, which is a hash, and flags that indicate if there are local changes. It's pretty common to include build hashes in shipping code, logs, ect.