# Prebuilt executables are fixtures for trivy's Go and Rust binary parsers; see README.source
trivy source: source-contains-prebuilt-binary [pkg/dependency/parser/golang/binary/testdata/test.elf]
trivy source: source-contains-prebuilt-binary [pkg/dependency/parser/golang/binary/testdata/replace.elf]
trivy source: source-contains-prebuilt-binary [pkg/dependency/parser/golang/binary/testdata/main-version-via-ldflags.elf]
trivy source: source-contains-prebuilt-binary [pkg/dependency/parser/golang/binary/testdata/goexperiment]
trivy source: source-contains-prebuilt-binary [pkg/dependency/parser/rust/binary/testdata/test.elf]
trivy source: source-contains-prebuilt-binary [pkg/fanal/analyzer/language/golang/binary/testdata/executable_gobinary]
trivy source: source-contains-prebuilt-binary [pkg/fanal/analyzer/language/rust/binary/testdata/executable_rust]
trivy source: source-is-missing [pkg/dependency/parser/golang/binary/testdata/test.elf]
trivy source: source-is-missing [pkg/dependency/parser/golang/binary/testdata/replace.elf]
trivy source: source-is-missing [pkg/dependency/parser/golang/binary/testdata/main-version-via-ldflags.elf]
trivy source: source-is-missing [pkg/dependency/parser/golang/binary/testdata/goexperiment]
trivy source: source-is-missing [pkg/dependency/parser/rust/binary/testdata/test.elf]
trivy source: source-is-missing [pkg/fanal/analyzer/language/golang/binary/testdata/executable_gobinary]
trivy source: source-is-missing [pkg/fanal/analyzer/language/rust/binary/testdata/executable_rust]
# Windows executables are fixtures for the Go and Rust binary parsers' PE support; see README.source
trivy source: source-contains-prebuilt-windows-binary [pkg/dependency/parser/golang/binary/testdata/test.exe]
trivy source: source-contains-prebuilt-windows-binary [pkg/dependency/parser/rust/binary/testdata/test.exe]
# Five bytes of ELF magic, a truncated file the analyzers must reject
trivy source: source-contains-prebuilt-binary [pkg/fanal/analyzer/language/golang/binary/testdata/broken_elf]
trivy source: source-contains-prebuilt-binary [pkg/fanal/analyzer/language/rust/binary/testdata/broken_elf]
trivy source: source-is-missing [pkg/fanal/analyzer/language/golang/binary/testdata/broken_elf]
trivy source: source-is-missing [pkg/fanal/analyzer/language/rust/binary/testdata/broken_elf]
# Published jars are fixtures for the jar analyzer, read as archives and never loaded
trivy source: source-contains-prebuilt-java-object [pkg/fanal/analyzer/language/java/jar/testdata/test.jar]
trivy source: source-contains-prebuilt-java-object [pkg/fanal/analyzer/testdata/post-apps/jar/jackson-annotations-2.15.0-rc2.jar]
# Minified Mattermost chunk, input for the secret scanner's long line handling
trivy source: source-contains-prebuilt-javascript-object [pkg/fanal/secret/testdata/obfuscated.js]
trivy source: source-is-missing [pkg/fanal/secret/testdata/obfuscated.js]
trivy source: very-long-line-length-in-source-file 6586 > 512 [pkg/fanal/secret/testdata/obfuscated.js:1]
