Documentation
¶
Index ¶
- Constants
- func ReadChainFromFileContents(contents []byte, arch uint, endianness string, paddingLength int) []uint
- func WriteChainToFile(chain []uint, arch uint, endianness string, outFile *os.File)
- type Args
- type CatPayload
- type CatTarget
- type Command
- type Find
- type Help
- type Load
- type Pad
- type Quit
- type Rop
- type SetPayload
- type SetTarget
- type Stat
Constants ¶
View Source
const SPACE_BETWEEN = 24
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CatPayload ¶
type CatPayload struct {
// contains filtered or unexported fields
}
func (CatPayload) Execute ¶
func (c CatPayload) Execute(globalState *global.GlobalState) error
func (CatPayload) Help ¶
func (CatPayload) Help()
func (CatPayload) ValidArgs ¶
func (c CatPayload) ValidArgs() bool
type Command ¶
type Command interface {
Execute(*global.GlobalState) error
ValidArgs() bool
Help()
}
func ParseLine ¶
For this project any flags beginning with - take an argument directly following it. Any flags beginning with -- do not take an argument Any non-flag argument is considered the commands singular default argument (i.e <path> in load <path>) and will be represented by "default": "<value>" in the args dictionary.
type SetPayload ¶
type SetPayload struct {
// contains filtered or unexported fields
}
func (SetPayload) Execute ¶
func (s SetPayload) Execute(globalState *global.GlobalState) error
func (SetPayload) Help ¶
func (SetPayload) Help()
func (SetPayload) ValidArgs ¶
func (s SetPayload) ValidArgs() bool
Click to show internal directories.
Click to hide internal directories.