fwlib

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinishProgressbar added in v1.2.0

func FinishProgressbar(bar *progressbar.ProgressBar)

func NewProgressbar added in v1.2.0

func NewProgressbar(length int, desc string) *progressbar.ProgressBar

Types

type Decompiling

type Decompiling interface {
	// SetDecompiler sets the decompiler that is being used.
	SetDecompiler()
}

Decompiling interface describes Framework instances that have to decompile binaries in order to extract mutants.

type FWConfig

type FWConfig interface {
	// Init returns the default configuration for use with the init command.
	Init() interface{}
	// Load unmarshals the yml data into the struct if it exists, and returns true if any configuration was loaded.
	Load(yml []byte) (bool, error)
}

FWConfig interface describes objects that are used to read custom Framework configurations from the .marv.yml file.

type Framework

type Framework interface {
	// Meta returns the Framework's Meta information.
	Meta() *Meta
	// Yaml returns the YAML configuration struct.
	Yaml() FWConfig
	// LoadResults loads the Framework's output data.
	LoadResults() error
	// TransformResults transforms the Framework's output data into the marv format.
	TransformResults() error
	// Mutations returns the mutations in the marv format. Returns nil if TransformResults has not been called.
	Mutations() mutations.Mutations
	// ReadLines returns the lines of the specified file
	ReadLines(file string) ([]string, error)
}

Framework defines what methods an extension must have in order to interact with the marv system.

type Meta

type Meta struct {
	Name     string
	Language *languages.Language
	URL      string
}

type Runnable

type Runnable interface {
	Run()
}

Runnable interface describes Framework instances that have the ability to re-run the framework to generate a new report.

Jump to

Keyboard shortcuts

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