Versions in this module Expand all Collapse all v1 v1.5.0 Jun 28, 2021 Changes in this version + var ErrTooManyLibraries = errors.New("number of loaded libraries exceeds maximum") + func AMD64XstateRead(xstateargs []byte, readLegacy bool, regset *AMD64Xstate) error + func ElfUpdateSharedObjects(p proc.Process) error + func EntryPointFromAuxv(auxv []byte, ptrSize int) uint64 + func I386XstateRead(xstateargs []byte, readLegacy bool, regset *I386Xstate) error + type AMD64PtraceFpRegs struct + Cwd uint16 + Fop uint16 + Ftw uint16 + MxcrMask uint32 + Mxcsr uint32 + Padding [24]uint32 + Rdp uint64 + Rip uint64 + StSpace [32]uint32 + Swd uint16 + XmmSpace [256]byte + type AMD64PtraceRegs struct + Cs uint64 + Ds uint64 + Eflags uint64 + Es uint64 + Fs uint64 + Fs_base uint64 + Gs uint64 + Gs_base uint64 + Orig_rax uint64 + R10 uint64 + R11 uint64 + R12 uint64 + R13 uint64 + R14 uint64 + R15 uint64 + R8 uint64 + R9 uint64 + Rax uint64 + Rbp uint64 + Rbx uint64 + Rcx uint64 + Rdi uint64 + Rdx uint64 + Rip uint64 + Rsi uint64 + Rsp uint64 + Ss uint64 + type AMD64Registers struct + Fpregs []proc.Register + Fpregset *AMD64Xstate + Regs *AMD64PtraceRegs + func NewAMD64Registers(regs *AMD64PtraceRegs, loadFpRegs func(*AMD64Registers) error) *AMD64Registers + func (r *AMD64Registers) BP() uint64 + func (r *AMD64Registers) Copy() (proc.Registers, error) + func (r *AMD64Registers) GAddr() (uint64, bool) + func (r *AMD64Registers) Get(n int) (uint64, error) + func (r *AMD64Registers) PC() uint64 + func (r *AMD64Registers) SP() uint64 + func (r *AMD64Registers) Slice(floatingPoint bool) ([]proc.Register, error) + func (r *AMD64Registers) TLS() uint64 + type AMD64Xstate struct + AvxState bool + Xsave []byte + YmmSpace [256]byte + func (xsave *AMD64Xstate) Decode() (regs []proc.Register) + type ARM64PtraceFpRegs struct + Fpcr uint32 + Fpsr uint32 + Vregs []byte + func (fpregs *ARM64PtraceFpRegs) Byte() []byte + func (fpregs *ARM64PtraceFpRegs) Decode() (regs []proc.Register) + type ARM64PtraceRegs struct + Pc uint64 + Pstate uint64 + Regs [31]uint64 + Sp uint64 + type ARM64Registers struct + Fpregs []proc.Register + Fpregset []byte + Regs *ARM64PtraceRegs + func NewARM64Registers(regs *ARM64PtraceRegs, loadFpRegs func(*ARM64Registers) error) *ARM64Registers + func (r *ARM64Registers) BP() uint64 + func (r *ARM64Registers) Copy() (proc.Registers, error) + func (r *ARM64Registers) GAddr() (uint64, bool) + func (r *ARM64Registers) Get(n int) (uint64, error) + func (r *ARM64Registers) PC() uint64 + func (r *ARM64Registers) SP() uint64 + func (r *ARM64Registers) Slice(floatingPoint bool) ([]proc.Register, error) + func (r *ARM64Registers) TLS() uint64 + type I386PtraceFpRegs struct + Cwd uint16 + Fop uint16 + Ftw uint16 + MxcrMask uint32 + Mxcsr uint32 + Padding [24]uint32 + Rdp uint64 + Rip uint64 + StSpace [32]uint32 + Swd uint16 + XmmSpace [256]byte + type I386PtraceRegs struct + Eax int32 + Ebp int32 + Ebx int32 + Ecx int32 + Edi int32 + Edx int32 + Eflags int32 + Eip int32 + Esi int32 + Esp int32 + Orig_eax int32 + Xcs int32 + Xds int32 + Xes int32 + Xfs int32 + Xgs int32 + Xss int32 + type I386Registers struct + Fpregs []proc.Register + Fpregset *I386Xstate + Regs *I386PtraceRegs + Tls uint64 + func NewI386Registers(regs *I386PtraceRegs, loadFpRegs func(*I386Registers) error) *I386Registers + func (r *I386Registers) BP() uint64 + func (r *I386Registers) CX() uint64 + func (r *I386Registers) Copy() (proc.Registers, error) + func (r *I386Registers) GAddr() (uint64, bool) + func (r *I386Registers) Get(n int) (uint64, error) + func (r *I386Registers) PC() uint64 + func (r *I386Registers) SP() uint64 + func (r *I386Registers) Slice(floatingPoint bool) ([]proc.Register, error) + func (r I386Registers) TLS() uint64 + type I386Xstate struct + AvxState bool + Xsave []byte + YmmSpace [256]byte + func (xsave *I386Xstate) Decode() (regs []proc.Register)