mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 02:56:42 +01:00
* normalize error handling and recover from panics while parsing binaries Signed-off-by: Keith Zantow <kzantow@gmail.com> Signed-off-by: Alex Goodman <alex.goodman@anchore.com> Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
8 lines
212 B
Bash
Executable File
8 lines
212 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -uxe
|
|
|
|
PKGSDIR=$1
|
|
|
|
curl https://raw.githubusercontent.com/blacktop/go-macho/master/internal/testdata/gcc-amd64-darwin-exec-debug.base64 |
|
|
base64 -d > $PKGSDIR/gcc-amd64-darwin-exec-debug
|