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
26c201f7
ROOT
/
syft
/
pkg
/
cataloger
/
golang
/
parse_go_binary.go
Search
History
299 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 source.FileResolver, _ *generic.Environment, reader source.LocationReadCloser)
:
([]pkg.Package, []artifact.Relationship, error)
makeGoMainPackage
(resolver source.FileResolver, mod *debug.BuildInfo, arch string, location source.Location)
:
pkg.Package
buildGoPkgInfo
(resolver source.FileResolver, location source.Location, mod *debug.BuildInfo, arch string)
:
[]pkg.Package
All occurrences
Please wait...
Page is in error, reload to recover