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

Function np

scripts/thread-stalker.js:234–238  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

232
233// --- coerce parsed Stalker values to NativePointer --------------------------
234function np(x) {
235 if (x == null) return null;
236 if (typeof x === "string") return ptr(x);
237 return x; // already a NativePointer
238}
239
240// --- per-thread stalk state -------------------------------------------------
241const stalked = new Map(); // tid -> { name, scope:Set<string>|null, count, dropped, startedAt }

Callers 1

formatEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected