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

Function scopeSetFor

scripts/function-stalker.js:176–181  ·  view source on GitHub ↗
(defaultModule)

Source from the content-addressed store, hash-verified

174
175// --- scope filter -----------------------------------------------------------
176function scopeSetFor(defaultModule) {
177 if (CONFIG.onlyLogScopeModules && CONFIG.onlyLogScopeModules.length) {
178 return new Set(CONFIG.onlyLogScopeModules);
179 }
180 return defaultModule ? new Set([defaultModule]) : null;
181}
182function inScope(scope, lib) {
183 if (!scope) return true;
184 if (!lib) return false;

Callers 1

installFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected