diff --git a/src/agent/lib/info/index.ts b/src/agent/lib/info/index.ts index d510b608..86c62b35 100644 --- a/src/agent/lib/info/index.ts +++ b/src/agent/lib/info/index.ts @@ -234,6 +234,9 @@ export function listEntrypointSymbols(args: string[]): string { const classes = ObjC.classes; Object.keys(classes).forEach(function (className: string) { var cls = ObjC.classes[className]; + if (cls.$moduleName !== null && cls.$moduleName !== "main") { + return; + } var methods = cls.$methods; // $ownMethods? methods.forEach(function (methodName) { try {