Add binary classifier for Julia lang (#2427)

Signed-off-by: Laurent Goderre <laurent.goderre@docker.com>
This commit is contained in:
Laurent Goderre 2023-12-18 15:00:21 -05:00 committed by GitHub
parent 4846639ee4
commit 51d3cd0066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,15 @@ var defaultClassifiers = []classifier{
PURL: mustPURL("pkg:generic/go@version"), PURL: mustPURL("pkg:generic/go@version"),
CPEs: singleCPE("cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"), CPEs: singleCPE("cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"),
}, },
{
Class: "julia-binary",
FileGlob: "**/libjulia-internal.so",
EvidenceMatcher: fileContentsVersionMatcher(
`(?m)__init__\x00(?P<version>[0-9]+\.[0-9]+\.[0-9]+)\x00verify`),
Package: "julia",
PURL: mustPURL("pkg:generic/julia@version"),
CPEs: singleCPE("cpe:2.3:a:julialang:julia:*:*:*:*:*:*:*:*"),
},
{ {
Class: "helm", Class: "helm",
FileGlob: "**/helm", FileGlob: "**/helm",