Documentation
¶
Index ¶
Constants ¶
View Source
const ( ARCH_SET_GS = 0x1001 ARCH_SET_FS = 0x1002 ARCH_GET_FS = 0x1003 ARCH_GET_GS = 0x1004 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StackManager ¶
type StackManager struct {
// contains filtered or unexported fields
}
StackManager for emulator
func NewStackManager ¶
func NewStackManager(emulator interfaces.Emulator) *StackManager
NewStackManager - create a new instance of the stack manager
func (StackManager) Map ¶
func (s StackManager) Map()
Map - Map initial stack memory to emulator instance + Auxv
func (StackManager) Push ¶
func (s StackManager) Push(bytes []byte) uint64
Push - push data onto the stack
type SystemCalls ¶
type SystemCalls struct {
// contains filtered or unexported fields
}
SystemCalls - Handler for syscall
func NewSystemCalls ¶
func NewSystemCalls(emulator interfaces.Emulator) *SystemCalls
NewSystemCalls - Create an instance of the system call handler
type TypeConversion ¶
type TypeConversion struct {
// contains filtered or unexported fields
}
TypeConversion - Convert between linux types and go types
func NewTypeConversion ¶
func NewTypeConversion(emulator interfaces.Emulator) *TypeConversion
NewTypeConversion - Create a new instance of the type conversion class
func (TypeConversion) ReadCString ¶
func (t TypeConversion) ReadCString(addr uint64) string
ReadCString - Read a C string from memory
Click to show internal directories.
Click to hide internal directories.