Open myzhan opened 8 months ago
please review https://github.com/agiledragon/gomonkey/pull/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?
https://github.com/agiledragon/gomonkey/pull/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?
Yes, I have tested it on both intel and M1 machine, macOS sonoma.
Good job!
Can you push a release tag?
v2.11.0 has been released!
环境
问题 之前都是正常使用,通过 cgo 引入 sqlite 依赖后,运行出现 permission denied 的问题。引入 cgo 的模块,跟 monkey patch 的模块没有任何关联。只是发现引入 cgo 后,monkey patch 的函数地址变得很大,40 多亿的一个整数,没有引入 cgo 之前是 4 千万。
解法