-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS 上的 permission denied 问题,也可能和 cgo 有关 #142
Comments
please review #143 |
Tried on both intel machine and M1 machine, no luck. |
Can you propose a PR to port mockey's mach_vm_protect feature to gomonkey? |
#144 has been merged, please test it on both intel machine and M1 machine. |
Yes, I have tested it on both intel and M1 machine, macOS sonoma. |
Can you push a release tag? |
Good job! |
v2.11.0 has been released! |
环境
问题
之前都是正常使用,通过 cgo 引入 sqlite 依赖后,运行出现 permission denied 的问题。引入 cgo 的模块,跟 monkey patch 的模块没有任何关联。只是发现引入 cgo 后,monkey patch 的函数地址变得很大,40 多亿的一个整数,没有引入 cgo 之前是 4 千万。
解法
The text was updated successfully, but these errors were encountered: