taint

package
v0.3.5-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package taint implements the front-end to the Argot taint tool which runs taint analysis on your code, using its SSA representation.

Usage:

argot taint [flags] -config config.yaml main.go

The flags are:

-config path      a path to the configuration file containing definitions for sinks and sources

-verbose=false    setting verbose mode, overrides config file options if set

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogResult

func LogResult(
	program *ssa.Program, result taint.AnalysisResult)

LogResult logs the taint analysis result

func Run

func Run(flags Flags) error

Run runs the taint analysis with flags.

Types

type Flags

type Flags struct {
	tools.CommonFlags
	// contains filtered or unexported fields
}

Flags represents the parsed flags for the taint analysis.

func NewFlags

func NewFlags(args []string) (Flags, error)

NewFlags returns the parsed flags for the taint analysis with args.

Jump to

Keyboard shortcuts

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