Documentation ¶
Index ¶
- type Usercorn
- func (u *Usercorn) Arch() *models.Arch
- func (u *Usercorn) Assemble(asm string, addr uint64) ([]byte, error)
- func (u *Usercorn) Base() uint64
- func (u *Usercorn) BinEntry() uint64
- func (u *Usercorn) Bits() uint
- func (u *Usercorn) Brk(addr uint64) (uint64, error)
- func (u *Usercorn) ByteOrder() binary.ByteOrder
- func (u *Usercorn) Config() *models.Config
- func (u *Usercorn) Disas(addr, size uint64) (string, error)
- func (u *Usercorn) Entry() uint64
- func (u *Usercorn) Exe() string
- func (u *Usercorn) Exit(err error)
- func (u *Usercorn) Gate() *models.Gate
- func (u *Usercorn) InterpBase() uint64
- func (u *Usercorn) Loader() models.Loader
- func (u *Usercorn) Mappings() []*models.Mmap
- func (u *Usercorn) Mem() memio.MemIO
- func (u *Usercorn) MemReserve(addr, size uint64, force bool) (*models.Mmap, error)
- func (u *Usercorn) Mmap(addr, size uint64) (*models.Mmap, error)
- func (u *Usercorn) MmapWrite(addr uint64, p []byte) (uint64, error)
- func (u *Usercorn) OS() string
- func (u *Usercorn) PackAddr(buf []byte, n uint64) ([]byte, error)
- func (u *Usercorn) Pop() (uint64, error)
- func (u *Usercorn) PopBytes(p []byte) error
- func (u *Usercorn) PosixInit(args, env []string, auxv []byte) error
- func (u *Usercorn) PrefixPath(s string, force bool) string
- func (u *Usercorn) Printf(fmt string, args ...interface{})
- func (u *Usercorn) Println(s interface{})
- func (u *Usercorn) Push(n uint64) (uint64, error)
- func (u *Usercorn) PushBytes(p []byte) (uint64, error)
- func (u *Usercorn) ReadRegs(reg []int) ([]uint64, error)
- func (u *Usercorn) RegDump() ([]models.RegVal, error)
- func (u *Usercorn) RegisterAddr(f *os.File, start, end uint64, off int64)
- func (u *Usercorn) Run(args, env []string) error
- func (u *Usercorn) RunShellcode(addr uint64, code []byte, setRegs map[int]uint64, regsClobbered []int) error
- func (u *Usercorn) RunShellcodeMapped(mmap *models.Mmap, code []byte, setRegs map[int]uint64, regsClobbered []int) error
- func (u *Usercorn) SetEntry(entry uint64)
- func (u *Usercorn) SetExit(exit uint64)
- func (u *Usercorn) StrucAt(addr uint64) *models.StrucStream
- func (u *Usercorn) Symbolicate(addr uint64, includeFile bool) (string, error)
- func (u *Usercorn) Syscall(num int, name string, getArgs func(n int) ([]uint64, error)) (uint64, error)
- func (u *Usercorn) Trampoline(func() error) error
- func (u *Usercorn) UnpackAddr(buf []byte) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usercorn ¶
func (*Usercorn) InterpBase ¶
func (*Usercorn) MemReserve ¶
func (*Usercorn) RegisterAddr ¶
func (*Usercorn) RunShellcode ¶
func (*Usercorn) RunShellcodeMapped ¶
func (*Usercorn) Symbolicate ¶
func (*Usercorn) Trampoline ¶
func (*Usercorn) UnpackAddr ¶
Click to show internal directories.
Click to hide internal directories.