ptrace_darwin.go 315 B

1234567891011
  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. package unix
  6. func ptrace(request int, pid int, addr uintptr, data uintptr) error {
  7. return ptrace1(request, pid, addr, data)
  8. }