Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for regs (0.04 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go

    }
    
    // PtraceSetRegsMips sets the registers used by mips binaries.
    func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsMips64 is the registers used by mips64 binaries.
    type PtraceRegsMips64 struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go

    }
    
    // PtraceSetRegsMipsle sets the registers used by mipsle binaries.
    func PtraceSetRegsMipsle(pid int, regs *PtraceRegsMipsle) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsMips64le is the registers used by mips64le binaries.
    type PtraceRegsMips64le struct {
    	Regs     [32]uint64
    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go

    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegs386 sets the registers used by 386 binaries.
    func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsAmd64 is the registers used by amd64 binaries.
    type PtraceRegsAmd64 struct {
    	R15      uint64
    	R14      uint64
    	R13      uint64
    	R12      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go

    }
    
    // PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
    func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
    	iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
    	return ptracePtr(PTRACE_SETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 721 bytes
    - Viewed (0)
  5. src/runtime/debug_test.go

    		return x + 1, y + 1.0
    	}
    	var args *stackArgs
    	var regs abi.RegArgs
    	intRegs := regs.Ints[:]
    	floatRegs := regs.Floats[:]
    	fval := float64(42.0)
    	if len(intRegs) > 0 {
    		intRegs[0] = 42
    		floatRegs[0] = math.Float64bits(fval)
    	} else {
    		args = &stackArgs{
    			x0: 42,
    			x1: 42.0,
    		}
    	}
    
    	if _, err := runtime.InjectDebugCall(g, fn, &regs, args, debugCallTKill, false); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. src/runtime/cgo/asm_ppc64x.s

    // the caller's frame due to issue #43228.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage, allocate
    	// 32 bytes of argument space, save callee-save regs, and set R0 to $0.
    	STACK_AND_SAVE_HOST_TO_GO_ABI(32)
    	// The above will not preserve R2 (TOC). Save it in case Go is
    	// compiled without a TOC pointer (e.g -buildmode=default).
    	MOVD	R2, 24(R1)
    
    	// Load the current g.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_mips64x.go

    	s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)}
    	s.Blksize = st.Blksize
    	s.Blocks = st.Blocks
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Regs[64] }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/runtime/export_debug_ppc64le_test.go

    	*(*uintptr)(unsafe.Pointer(uintptr(sp - 32))) = h.argSize
    	// Save current registers.
    	h.sigCtxt.savedRegs = *ctxt.cregs()
    }
    
    // case 0
    func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(unsafe.Pointer(uintptr(sp)+32), h.argp, h.argSize)
    	if h.regArgs != nil {
    		storeRegArgs(ctxt.cregs(), h.regArgs)
    	}
    	// Push return PC, which should be the signal PC+4, because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_mipsx.go

    	}
    
    	_, _, errno = RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func (r *PtraceRegs) PC() uint64 { return uint64(r.Regs[64]) }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = uint32(pc) }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_arm64.go

    }
    
    type stackt struct {
    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	fault_address uint64
    	/* AArch64 registers */
    	regs       [31]uint64
    	sp         uint64
    	pc         uint64
    	pstate     uint64
    	_pad       [8]byte // __attribute__((__aligned__(16)))
    	__reserved [4096]byte
    }
    
    type sockaddr_un struct {
    	family uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top