Create frida-wechat

This commit is contained in:
jackyin
2025-11-26 10:23:39 +08:00
committed by GitHub
parent 393472d6b2
commit 69b4ee5f0f
+32
View File
@@ -0,0 +1,32 @@
注意点
1. 需要让frida启动微信才能通过内存地址找到代码位置
```
MemoryAccessMonitor.enable(
{
base: ptr("0x60000173BCDA"),
size: 0x200 // buffer 大小
},
{
onAccess(details) {
console.log("Access by:", DebugSymbol.fromAddress(details.from));
console.log("Operation:", details.operation);
}
}
);
```
2. 通过ce确定内存位置
3. 可以看到打印日志
```
Access by: 0x10dc28ccc libGLESv2.dylib!0x250ccc (0x250ccc)
Operation: read
Access by: 0x10a08083c WeChat!0x580883c (0x10580883c)
Operation: read
7 Access by: 0x18b233444 libsystem_malloc.dylib!nanov2_malloc
Operation: read
Access by: 0x10a08083c WeChat!0x580883c (0x10580883c)
Operation: read
```