github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/mmap/darwin_arm64/mmap_cgo_darwin_arm64.go (about) 1 //go:build darwin && arm64 && cgo 2 // +build darwin,arm64,cgo 3 4 package darwin_arm64 5 6 import "github.com/eh-steve/goloader/mmap/darwin_arm64/darwin_arm64_cgo" 7 8 func MakeThreadJITCodeExecutable(ptr uintptr, len int) { 9 darwin_arm64_cgo.MakeThreadJITCodeExecutable(ptr, len) 10 } 11 12 func WriteProtectDisable() { 13 darwin_arm64_cgo.WriteProtectDisable() 14 }