mirror of
https://github.com/yincongcyincong/wechat_chatter.git
synced 2026-07-15 10:26:52 +08:00
18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
const idaAddr = ptr("0x6000025A96DA");
|
|
console.log("start monitor");
|
|
|
|
MemoryAccessMonitor.enable(
|
|
{
|
|
base: idaAddr,
|
|
size: 0x40 // buffer 大小
|
|
},
|
|
{
|
|
onAccess(details) {
|
|
console.log("memo Details:", JSON.stringify(details));
|
|
console.log("0x6000029C6DF0 Access by:", DebugSymbol.fromAddress(details.from));
|
|
console.log(hexdump(idaAddr, { length: 0x40 }));
|
|
}
|
|
}
|
|
);
|
|
|