Source file src/syscall/ptrace_darwin.go
Documentation: syscall
1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !ios 6 // +build !ios 7 8 package syscall 9 10 // Nosplit because it is called from forkAndExecInChild. 11 // 12 //go:nosplit 13 func ptrace(request int, pid int, addr uintptr, data uintptr) error { 14 return ptrace1(request, pid, addr, data) 15 } 16