goretk / redress

Redress - A tool for analyzing stripped Go binaries
GNU Affero General Public License v3.0
907 stars 58 forks source link

Display build info #25

Closed TcM1911 closed 1 year ago

TcM1911 commented 1 year ago

This adds extracted information from the build environment as part of the info command. Example output:

OS            EM_X86_64
Arch          amd64
Compiler      1.20.2 (2023-03-07)
Main root     github.com/goretk/redress
-buildmode    exe
-compiler     gc
-trimpath     true
CGO_ENABLED   1
GOARCH        amd64
GOOS          linux
GOAMD64       v1
vcs           git
vcs.revision  222d2f3f80472c81154b040c94be2b6fad6b7e19
vcs.time      2022-05-20T09:21:35Z
vcs.modified  true