Documentation
¶
Index ¶
Constants ¶
View Source
const ( AssembleInput string = `^\s*##!=<\s*(.*)$` AssembleOutput string = `^\s*##!=>\s*(.*)$` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assemble ¶
type Assemble struct {
// contains filtered or unexported fields
}
func NewAssemble ¶
NewAssemble creates a new assemble processor
func (*Assemble) ProcessLine ¶
ProcessLine applies the processors logic to a single line
type CmdLine ¶
type CmdLine struct {
// contains filtered or unexported fields
}
func NewCmdLine ¶
func NewCmdLine(ctx *Context, cmdType CmdLineType) *CmdLine
NewCmdLine creates a new cmdline processor
func (*CmdLine) ProcessLine ¶
ProcessLine applies the processors logic to a single line
type CmdLineType ¶
type CmdLineType int
const ( CmdLineUndefined CmdLineType = iota CmdLineUnix CmdLineWindows )
func CmdLineTypeFromString ¶
func CmdLineTypeFromString(t string) (CmdLineType, error)
CmdLineTypeFromString will return a CmdLineType based on the string you enter, or an CmdLineUndefined and a new error.
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
NewContext creates a new processor context using the `rootDir` as the root directory.
func (*Context) RootContext ¶
RootContext returns the root context of the toolchain
type EvasionPatterns ¶
type EvasionPatterns int
type IProcessor ¶
Click to show internal directories.
Click to hide internal directories.