Documentation ¶
Index ¶
- Constants
- Variables
- func CallC(addr uintptr, fr Frame, maxStack uintptr) []byte
- type Frame
- func (self *Frame) ArgPtrs() *rt.StackMap
- func (self *Frame) GrowStackTextSize() uint32
- func (self *Frame) LocalPtrs() *rt.StackMap
- func (self *Frame) Offs() uint32
- func (self *Frame) Prev() uint32
- func (self *Frame) Size() uint32
- func (self *Frame) StackCheckTextSize() uint32
- func (self *Frame) String() string
- type FunctionLayout
- type Label
- type MemoryOperand
- type Parameter
- type Program
- type Register
- type Register64
- type XMMRegister
Constants ¶
View Source
const ( RAX = x64.RAX RSP = x64.RSP RBP = x64.RBP R12 = x64.R12 R14 = x64.R14 R15 = x64.R15 )
View Source
const ( PtrSize = 8 // pointer size PtrAlign = 8 // pointer alignment )
Variables ¶
View Source
var ( Ptr = x64.Ptr DefaultArch = x64.DefaultArch CreateLabel = x64.CreateLabel )
View Source
var (
F_morestack_noctxt = uintptr(rt.FuncAddr(morestack_noctxt))
)
Functions ¶
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) GrowStackTextSize ¶
func (*Frame) StackCheckTextSize ¶
type FunctionLayout ¶
func NewFunctionLayout ¶
func NewFunctionLayout(ft reflect.Type) FunctionLayout
func (FunctionLayout) ArgSize ¶
func (self FunctionLayout) ArgSize() uint32
func (FunctionLayout) StackMap ¶
func (self FunctionLayout) StackMap() *rt.StackMap
func (FunctionLayout) String ¶
func (self FunctionLayout) String() string
type MemoryOperand ¶ added in v0.2.2
type MemoryOperand = x64.MemoryOperand
type Parameter ¶
type Register ¶ added in v0.2.2
func ReservedRegs ¶
type Register64 ¶ added in v0.2.2
type Register64 = x64.Register64
type XMMRegister ¶ added in v0.2.2
type XMMRegister = x64.XMMRegister
Click to show internal directories.
Click to hide internal directories.