下载 ptrsx-aarch64-apple-darwin.zip 然后根据对应微信版本执行以下命令
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+87194768@8@24@16@32@8@8@64@8@0@0" -n 32
WeChat Version. 3.7.1 (25682) ( 网友贡献 #2 应该是官网版本)
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+87473296@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+87749776@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+82448200@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+78706432@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+80055232@8@8@16@32@8@8@64@8@0@0" -n 32
WeChat Version. 3.8.2 (27317) (#4 通过brew安装,应该是官网版本)
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+79795584@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+80055232@8@8@16@32@8@8@64@8@0@0" -n 32
sudo ./dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+81059936@8@8@16@32@8@8@64@8@0@0" -n 32
如果版本都对,但是运行报错,可以尝试去除微信签名。运行以下命令
sudo codesign --sign - --force --deep /Applications/WeChat.app
如果还不行,可以尝试关闭 SIP