gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ptrace_darwin.go (482B)


      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 darwin && !ios
      6 // +build darwin,!ios
      7 
      8 package unix
      9 
     10 import "unsafe"
     11 
     12 func ptrace(request int, pid int, addr uintptr, data uintptr) error {
     13 	return ptrace1(request, pid, addr, data)
     14 }
     15 
     16 func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) error {
     17 	return ptrace1Ptr(request, pid, addr, data)
     18 }