binaryscanner

package
v0.0.0-...-d728004 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package binaryscanner implements a Tier 4 binary artifact scanner for the OQS PQC scanner. It inspects compiled artifacts — JARs, WAR/EAR archives, and native binaries — for cryptographic API usage without requiring source code access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine is the binary-scanner engine. It is pure Go and always Available.

func New

func New() *Engine

New returns an Engine with production defaults.

func (*Engine) Available

func (e *Engine) Available() bool

Available always returns true because the binary scanner is pure Go.

func (*Engine) Name

func (e *Engine) Name() string

Name returns the engine identifier.

func (*Engine) Scan

Scan runs the binary scanner. When opts.BinaryPaths is non-empty those paths are scanned directly; otherwise the engine walks opts.TargetPath to discover binary artifacts automatically.

func (*Engine) SupportedLanguages

func (e *Engine) SupportedLanguages() []string

SupportedLanguages returns the compiled artifact types this engine handles.

func (*Engine) Tier

func (e *Engine) Tier() engines.Tier

Tier returns Tier4Binary.

func (*Engine) Version

func (e *Engine) Version() string

Version returns "embedded" because this engine is pure Go and has no external binary.

Directories

Path Synopsis
Package dotnet scans .NET assemblies (PE files with a CLI header) for cryptographic API references.
Package dotnet scans .NET assemblies (PE files with a CLI header) for cryptographic API references.
Package gobinary inspects compiled Go binaries for cryptographic module usage by reading the embedded build information and cross-referencing against a curated knowledge base of cryptographic Go modules.
Package gobinary inspects compiled Go binaries for cryptographic module usage by reading the embedded build information and cross-referencing against a curated knowledge base of cryptographic Go modules.
Package java implements Java binary artifact scanning for the OQS PQC scanner.
Package java implements Java binary artifact scanning for the OQS PQC scanner.
Package python scans Python wheel (.whl) and egg (.egg) archives for cryptographic library usage.
Package python scans Python wheel (.whl) and egg (.egg) archives for cryptographic library usage.

Jump to

Keyboard shortcuts

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