Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const FP_SW_FRAME_OFFSET — darwin/amd64, linux/amd64, windows/amd64 + const FP_XSTATE_MAGIC1 — darwin/amd64, linux/amd64, windows/amd64 + const FP_XSTATE_MAGIC2 — darwin/amd64, linux/amd64, windows/amd64 + const FP_XSTATE_MAGIC2_SIZE — darwin/amd64, linux/amd64, windows/amd64 + const FXSAVE_AREA_SIZE — darwin/amd64, linux/amd64, windows/amd64 + const XFEATURE_MASK_FPSSE — darwin/amd64, linux/amd64, windows/amd64 + func InitHostState() — darwin/amd64, linux/amd64, windows/amd64 + type ErrLoadingState struct + func (e ErrLoadingState) Error() string + type FPSoftwareFrame struct — darwin/amd64, linux/amd64, windows/amd64 + ExtendedSize uint32 + Magic1 uint32 + Padding [7]uint32 + Xfeatures uint64 + XstateSize uint32 + type State []byte + func NewState() State + func (s *State) AfterLoad() + func (s *State) BytePointer() *byte + func (s *State) Fork() State + func (s *State) GetMXCSR() uint32 + func (s *State) PtraceGetFPRegs(dst io.Writer, maxlen int) (int, error) + func (s *State) PtraceGetXstateRegs(dst io.Writer, maxlen int, featureSet cpuid.FeatureSet) (int, error) + func (s *State) PtraceSetFPRegs(src io.Reader, maxlen int) (int, error) + func (s *State) PtraceSetXstateRegs(src io.Reader, maxlen int, featureSet cpuid.FeatureSet) (int, error) + func (s *State) Reset() + func (s *State) SanitizeUser(featureSet cpuid.FeatureSet) + func (s *State) SetMXCSR(mxcsr uint32) + func (s State) PrepForHostSigframe() + func (s State) Slice() []byte