crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
68f8df95
ROOT
/
syft
/
pkg
/
cataloger
/
golang
/
parse_go_binary.go
Search
History
296 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
GOARCH
errUnrecognizedFormat
knownBuildFlagPatterns
devel
goBinaryCataloger
licenses
:
goLicenses
extractVersionFromLDFlags
(ldflags string)
:
(majorVersion string, fullVersion string)
getArchs
(readers []io.ReaderAt, builds []*debug.BuildInfo)
:
[]string
getGOARCH
(settings []debug.BuildSetting)
:
string
getGOARCHFromBin
(r io.ReaderAt)
:
(string, error)
getBuildSettings
(settings []debug.BuildSetting)
:
map[string]string
createMainModuleFromPath
(path string)
:
(mod debug.Module)
*goBinaryCataloger
parseGoBinary
(resolver file.Resolver, _ *generic.Environment, reader file.LocationReadCloser)
:
([]pkg.Package, []artifact.Relationship, error)
makeGoMainPackage
(resolver file.Resolver, mod *debug.BuildInfo, arch string, location file.Location)
:
pkg.Package
buildGoPkgInfo
(resolver file.Resolver, location file.Location, mod *debug.BuildInfo, arch string)
:
[]pkg.Package
All occurrences
Please wait...
Page is in error, reload to recover