- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for set_sp (0.78 sec)
-
src/runtime/export_windows_test.go
} type ContextStub struct { context } func (c ContextStub) GetPC() uintptr { return c.ip() } func NewContextStub() *ContextStub { var ctx context ctx.set_ip(getcallerpc()) ctx.set_sp(getcallersp()) ctx.set_fp(getcallerfp()) return &ContextStub{ctx}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:25:00 UTC 2024 - 759 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_riscv64.go
// anyway. sp := c.sp() - goarch.PtrSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.ra())) { // Make it look the like faulting PC called sigpanic. c.set_ra(uint64(pc)) } // In case we are panicking from external C code c.set_gp(uint64(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K 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/defs_windows_386.go
// 386 does not have link register, so this returns 0. func (c *context) lr() uintptr { return 0 } func (c *context) set_lr(x uintptr) {} func (c *context) set_ip(x uintptr) { c.eip = uint32(x) } func (c *context) set_sp(x uintptr) { c.esp = uint32(x) } // 386 does not have frame pointer register. func (c *context) set_fp(x uintptr) {} func prepareContextForSigResume(c *context) { c.edx = c.esp c.ecx = c.eip }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/export_debug_ppc64le_test.go
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.cregs() = h.sigCtxt.savedRegs ctxt.set_pc(pc + 4) ctxt.set_sp(sp) } // storeRegArgs sets up argument registers in the signal // context state from an abi.RegArgs. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/defs_windows_arm.go
func (c *context) lr() uintptr { return uintptr(c.lrr) } func (c *context) set_ip(x uintptr) { c.pc = uint32(x) } func (c *context) set_sp(x uintptr) { c.spr = uint32(x) } func (c *context) set_lr(x uintptr) { c.lrr = uint32(x) } // arm does not have frame pointer register. func (c *context) set_fp(x uintptr) {} func prepareContextForSigResume(c *context) { c.r0 = c.spr c.r1 = c.pc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 2.6K bytes - Viewed (0) -
src/runtime/signal_ppc64x.go
// anyway. sp := c.sp() - sys.MinFrameSize 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_r0(0) c.set_r30(uint64(uintptr(unsafe.Pointer(gp))))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 3.7K bytes - Viewed (0) -
src/runtime/defs_windows_amd64.go
// AMD64 does not have link register, so this returns 0. func (c *context) lr() uintptr { return 0 } func (c *context) set_lr(x uintptr) {} func (c *context) set_ip(x uintptr) { c.rip = uint64(x) } func (c *context) set_sp(x uintptr) { c.rsp = uint64(x) } func (c *context) set_fp(x uintptr) { c.rbp = uint64(x) } func prepareContextForSigResume(c *context) { c.r8 = c.rsp c.r9 = c.rip }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/defs_windows_arm64.go
func (c *context) sp() uintptr { return uintptr(c.xsp) } func (c *context) lr() uintptr { return uintptr(c.x[30]) } func (c *context) set_ip(x uintptr) { c.pc = uint64(x) } func (c *context) set_sp(x uintptr) { c.xsp = uint64(x) } func (c *context) set_lr(x uintptr) { c.x[30] = uint64(x) } func (c *context) set_fp(x uintptr) { c.x[29] = uint64(x) } func prepareContextForSigResume(c *context) { c.x[0] = c.xsp c.x[1] = c.pc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.1K bytes - Viewed (0)