- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 89 for set_gp (0.13 sec)
-
src/runtime/signal_freebsd_arm.go
func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) } func (c *sigctxt) sigaddr() uint32 { return uint32(c.info.si_addr) } func (c *sigctxt) set_pc(x uint32) { c.regs().__gregs[15] = x } func (c *sigctxt) set_sp(x uint32) { c.regs().__gregs[13] = x } func (c *sigctxt) set_lr(x uint32) { c.regs().__gregs[14] = x } func (c *sigctxt) set_r10(x uint32) { c.regs().__gregs[10] = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 02:31:25 UTC 2017 - 2.2K bytes - Viewed (0) -
src/runtime/signal_linux_arm.go
func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) } func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr } func (c *sigctxt) set_pc(x uint32) { c.regs().pc = x } func (c *sigctxt) set_sp(x uint32) { c.regs().sp = x } func (c *sigctxt) set_lr(x uint32) { c.regs().lr = x } func (c *sigctxt) set_r10(x uint32) { c.regs().r10 = x } func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 17 18:54:48 UTC 2021 - 2.1K bytes - Viewed (0) -
src/runtime/signal_arm.go
// anyway. sp := c.sp() - 4 c.set_sp(sp) *(*uint32)(unsafe.Pointer(uintptr(sp))) = c.lr() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.lr())) { // Make it look the like faulting PC called sigpanic. c.set_lr(uint32(pc)) } // In case we are panicking from external C code c.set_r10(uint32(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint32(abi.FuncPCABIInternal(sigpanic))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.5K bytes - Viewed (0) -
src/runtime/export_debug_arm64_test.go
reason := *(*string)(unsafe.Pointer(uintptr(sp) + 8)) h.err = plainError(reason) ctxt.set_pc(ctxt.pc() + 4) } // case 16 func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) { // Restore all registers except for pc and sp pc, sp := ctxt.pc(), ctxt.sp() *ctxt.regs() = h.sigCtxt.savedRegs ctxt.set_pc(pc + 4) ctxt.set_sp(sp) } // storeRegArgs sets up argument registers in the signal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/signal_loong64.go
// anyway. sp := c.sp() - goarch.PtrSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.link())) { // Make it look the like faulting PC called sigpanic. c.set_link(uint64(pc)) } // In case we are panicking from external C code c.set_r22(uint64(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 21 06:51:28 UTC 2023 - 3K bytes - Viewed (0) -
src/runtime/signal_arm64.go
pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.lr())) { // Make it look the like faulting PC called sigpanic. c.set_lr(uint64(pc)) } // In case we are panicking from external C code c.set_r28(uint64(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 18:16:00 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/signal_386.go
} else { // Not safe to push the call. Just clobber the frame. c.set_eip(uint32(abi.FuncPCABIInternal(sigpanic))) } } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Make it look like we called target at resumePC. sp := uintptr(c.esp()) sp -= goarch.PtrSize *(*uintptr)(unsafe.Pointer(sp)) = resumePC c.set_esp(uint32(sp)) c.set_eip(uint32(targetPC))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
src/runtime/signal_windows.go
sp := unsafe.Pointer(r.sp()) delta := uintptr(sys.StackAlign) sp = add(sp, -delta) r.set_sp(uintptr(sp)) if usesLR { *((*uintptr)(sp)) = r.lr() r.set_lr(r.ip()) } else { *((*uintptr)(sp)) = r.ip() } } r.set_ip(abi.FuncPCABI0(sigpanic0)) return _EXCEPTION_CONTINUE_EXECUTION } // sehhandler is reached as part of the SEH chain. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 20:32:29 UTC 2023 - 14.5K bytes - Viewed (0) -
src/runtime/signal_netbsd_arm.go
func (c *sigctxt) sigcode() uint32 { return uint32(c.info._code) } func (c *sigctxt) sigaddr() uint32 { return uint32(c.info._reason) } func (c *sigctxt) set_pc(x uint32) { c.regs().__gregs[_REG_R15] = x } func (c *sigctxt) set_sp(x uint32) { c.regs().__gregs[_REG_R13] = x } func (c *sigctxt) set_lr(x uint32) { c.regs().__gregs[_REG_R14] = x } func (c *sigctxt) set_r10(x uint32) { c.regs().__gregs[_REG_R10] = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 02:31:25 UTC 2017 - 2.3K bytes - Viewed (0) -
src/runtime/signal_linux_amd64.go
func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) } func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr } func (c *sigctxt) set_rip(x uint64) { c.regs().rip = x } func (c *sigctxt) set_rsp(x uint64) { c.regs().rsp = x } func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) } func (c *sigctxt) set_sigaddr(x uint64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 17 18:54:48 UTC 2021 - 2.1K bytes - Viewed (0)