MCPcopy Create free account
hub / github.com/axhlzy/FridaDebugger / stalking

Function stalking

scripts/thread-stalker.js:402–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

400
401// --- REPL helpers -----------------------------------------------------------
402function stalking() {
403 console.log(`${C.green}=== currently stalking (${stalked.size}) ===${C.reset}`);
404 for (const [tid, s] of stalked) {
405 const scope = s.scope ? [...s.scope].join(",") : "ALL";
406 console.log(` ${PID}:${s.name}#${tid} ${C.dim}events=${s.count} scope=${scope} since +${s.startedAt}ms${C.reset}`);
407 }
408 console.log("");
409}
410
411function stopAll() {
412 const ids = [...stalked.keys()];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected