cli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package cli provides a command-line interface for gosystract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(stdOut io.Writer, stdErr io.Writer, args []string, extract func(source systract.SourceReader) ([]systract.SystemCall, error),
	exit func(int))

Run processes the source and writes the found syscalls into output. The parameter args contains the executable name, the optional flags followed by the filepath.

Example: []string{ "gosystract", "--dumpfile", "filename"}

Flag options:

--dumpfile, -d Handles a dump file instead of go executable.

--template Defines a go template for the results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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