cli

package
v0.0.0-...-d7c0310 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Disasm = cmd.Sub{
	Name:  "disasm",
	Alias: "d",
	Short: "Disassemble a binary.",
	Flags: &DisasmFlags{},
	Args:  &DisasmArgs{},
	Run:   RunDisasm,
}
View Source
var Loader = cmd.Sub{
	Name:  "load",
	Alias: "l",
	Short: "Test laoding a Json output",
	Flags: &LoadFlags{},
	Args:  &LoadArgs{},
	Run:   RunLoader,
}

Parser looks at symbols and ABI in Go

View Source
var Parser = cmd.Sub{
	Name:  "parse",
	Alias: "p",
	Short: "Parse a binary.",
	Flags: &ParserFlags{},
	Args:  &ParserArgs{},
	Run:   RunParser,
}

Parser looks at symbols and ABI in Go

View Source
var Root *cmd.Root

Root is the main command.

View Source
var Runner = cmd.Sub{
	Name:  "run",
	Alias: "r",
	Short: "Generate a corpus with no Json output",
	Flags: &RunFlags{},
	Args:  &RunArgs{},
	Run:   RunRunner,
}

Parser looks at symbols and ABI in Go

View Source
var VersionCmd = cmd.Sub{
	Name:  "version",
	Alias: "v",
	Short: "Print the version to the terminal.",
	Flags: &VersionFlags{},
	Args:  &VersionArgs{},
	Run:   RunVersion,
}

Dockerfile updates one or more Dockerfile

Functions

func RunDisasm

func RunDisasm(r *cmd.Root, c *cmd.Sub)

func RunLoader

func RunLoader(r *cmd.Root, c *cmd.Sub)

func RunParser

func RunParser(r *cmd.Root, c *cmd.Sub)

RunParser reads a file and creates a corpus

func RunRunner

func RunRunner(r *cmd.Root, c *cmd.Sub)

RunParser reads a file and creates a corpus

func RunVersion

func RunVersion(r *cmd.Root, c *cmd.Sub)

RunDockerfile updates one or more Dockerfile

Types

type DisasmArgs

type DisasmArgs struct {
	Binary []string `desc:"A binary to dissassemble."`
}

Args and flags for generate

type DisasmFlags

type DisasmFlags struct{}

type GlobalFlags

type GlobalFlags struct{}

GlobalFlags contains the flags for commands.

type LoadArgs

type LoadArgs struct {
	JsonFile []string `desc:"A binary to parse."`
}

type LoadFlags

type LoadFlags struct{}

type ParserArgs

type ParserArgs struct {
	Binary []string `desc:"A binary to parse."`
}

Args and flags for generate

type ParserFlags

type ParserFlags struct {
	Pretty bool `long:"pretty" desc:"Pretty print the json"`
}

type RunArgs

type RunArgs struct {
	Binary []string `desc:"A binary to parse."`
}

Args and flags for generate

type RunFlags

type RunFlags struct{}

type VersionArgs

type VersionArgs struct {
}

Args and flags for generate

type VersionFlags

type VersionFlags struct {
}

Jump to

Keyboard shortcuts

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