ptrace_darwin.go 337 B

123456789101112
  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. //go:build darwin && !ios
  5. // +build darwin,!ios
  6. package unix
  7. func ptrace(request int, pid int, addr uintptr, data uintptr) error {
  8. return ptrace1(request, pid, addr, data)
  9. }