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.
Click to show internal directories.
Click to hide internal directories.