Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMD64PlatformABI ¶
type AMD64PlatformABI struct{}
func (*AMD64PlatformABI) ConvertToGoABI ¶
func (p *AMD64PlatformABI) ConvertToGoABI(code *MachineCode) error
type MachineCode ¶
type MachineCode struct { Code []byte // contains filtered or unexported fields }
func NewMachineCode ¶
func NewMachineCode(code []byte) *MachineCode
func (*MachineCode) RawFuncPtr ¶
func (m *MachineCode) RawFuncPtr() (uintptr, error)
func (*MachineCode) Release ¶
func (m *MachineCode) Release() error
type PlatformABI ¶
type PlatformABI interface { // ConvertToGoABI converts the native calling convention to // Go calling convention. The MachineCode object is modified. ConvertToGoABI(code *MachineCode) error }
func NewAMD64PlatformABI ¶
func NewAMD64PlatformABI() PlatformABI
Click to show internal directories.
Click to hide internal directories.