- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setsigsegv (0.14 sec)
-
src/runtime/cgo/signal_ios_arm64.s
// PC on the stack, then put it in the LR before calling sigpanic. // Build a 32-byte stack frame for us for this call. // Saved LR (none available) is at the bottom, // then the PC argument for setsigsegv, // then a copy of the LR for us to restore. MOVD.W $0, -32(RSP) MOVD R1, 8(RSP) MOVD R2, 16(RSP) BL runtime·setsigsegv(SB) MOVD 8(RSP), R1 MOVD 16(RSP), R2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 06 22:54:58 UTC 2020 - 1.8K bytes - Viewed (0) -
src/runtime/signal_unix.go
st := stackt{ss_size: s.hi - s.lo} setSignalstackSP(&st, s.lo) sigaltstack(&st, nil) } // setsigsegv is used on darwin/arm64 to fake a segmentation fault. // // This is exported via linkname to assembly in runtime/cgo. // //go:nosplit //go:linkname setsigsegv func setsigsegv(pc uintptr) { gp := getg() gp.sig = _SIGSEGV gp.sigpc = pc gp.sigcode0 = _SEGV_MAPERR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0)