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

Function scopeSetFor

scripts/thread-stalker.js:244–249  ·  view source on GitHub ↗
(defaultModule)

Source from the content-addressed store, hash-verified

242let stalkedCount = 0;
243
244function scopeSetFor(defaultModule) {
245 if (CONFIG.onlyLogScopeModules && CONFIG.onlyLogScopeModules.length) {
246 return new Set(CONFIG.onlyLogScopeModules);
247 }
248 return defaultModule ? new Set([defaultModule]) : null; // null => no scope filter
249}
250
251function inScope(state, lib) {
252 if (!state.scope) return true; // no scope => allow all

Callers 1

startStalkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected