binary

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Detects dependencies from Rust binaries built with https://github.com/rust-secure-code/cargo-auditable

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnrecognizedExe = xerrors.New("unrecognized executable format")
	ErrNonRustBinary   = xerrors.New("non Rust auditable binary")
)

Functions

func NewParser

func NewParser() types.Parser

Types

type Parser

type Parser struct{}

func (*Parser) Parse

func (p *Parser) Parse(r dio.ReadSeekerAt) ([]types.Library, []types.Dependency, error)

Parse scans files to try to report Rust crates and version injected into Rust binaries via https://github.com/rust-secure-code/cargo-auditable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL