Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

手动是正常的,但用 ptrsx-dumper 都是报 Error #2

Closed
bbingz opened this issue Jul 9, 2023 · 11 comments
Closed

手动是正常的,但用 ptrsx-dumper 都是报 Error #2

bbingz opened this issue Jul 9, 2023 · 11 comments

Comments

@bbingz
Copy link

bbingz commented Jul 9, 2023

~/Downloads/ptrsx-aarch64-apple-darwin
❯ ./ptrsx-dumper test --pid $(pgrep WeChat |head -1) --path "WeChat+0x53af490->0->8->8->16->32->8->8->64->8->0->0" -n 32
Error: ReadMemory(1)

@kekeimiku
Copy link
Owner

你确定是对应的版本吗

@bbingz
Copy link
Author

bbingz commented Jul 11, 2023

是对应的版本
CleanShot 2023-07-11 at 17 09 52@2x

@bbingz
Copy link
Author

bbingz commented Jul 11, 2023

噢,我这个是25862,文档里是25863。

@bbingz
Copy link
Author

bbingz commented Jul 11, 2023

有macOS上的查找基址教程吗?求教。

@bbingz
Copy link
Author

bbingz commented Jul 11, 2023

按你的 B 站视频猜的,只能找到这样的,求指点
CleanShot 2023-07-11 at 19 50 07@2x

@kekeimiku
Copy link
Owner

按你的 B 站视频猜的,只能找到这样的,求指点 CleanShot 2023-07-11 at 19 50 07@2x

depth 设置 11 , offset 设置 0:200 应该就可以。 然后对比两次或者三次的扫描结果,找出每次都存在的那个指针链就可以了。

@bbingz
Copy link
Author

bbingz commented Jul 12, 2023

谢谢,可是 depth 设置 11,出来的数据很大,有3-4GB,然后 diff 出来的数据也很大,这个正常吗?

@kekeimiku
Copy link
Owner

谢谢,可是 depth 设置 11,出来的数据很大,有3-4GB,然后 diff 出来的数据也很大,这个正常吗?

正常,数据有多少取决于设置了多大的depth和offset,设置的越大扫描速度越慢结果越多。

@bbingz
Copy link
Author

bbingz commented Jul 12, 2023

  1. vmmap 出 load address;
    2.dump 下相关pid 的内存;
    3.用 load address 在2当中的查找,11 depth,偏移 0:200
    4.转成 txt
    5.多次 txt 比对 diff 出相同数据
    6.猜?

对不? 试了几次找不到。 🤦🏻‍♂️

@kekeimiku
Copy link
Owner

  1. vmmap 出 load address;
    2.dump 下相关pid 的内存;
    3.用 load address 在2当中的查找,11 depth,偏移 0:200
    4.转成 txt
    5.多次 txt 比对 diff 出相同数据
    6.猜?

对不? 试了几次找不到。 🤦🏻‍♂️

我怀疑你使用方式有误,建议邮件你发个微信我加你看看,你只需要发我dump文件。

kekelanact@gmail.com

@bbingz
Copy link
Author

bbingz commented Jul 12, 2023

谢谢,已发邮件。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants