4 ms·
3) A compiled Go binary contains the import paths of all used libraries plus all variable names that they are using. Also the header of the binary contains a st
by spacey 11y ago
3) A compiled Go binary contains the import paths of all used libraries plus all variable names that they are using. Also the header of the binary contains a string like "Go" followed by a hash. If you open a binary in a Hex Editor you will see it yourself.
- protomyth 11y agoSo I should be able to write a program or one already exists to check if its a Go program and what its dependencies are.