From 88ca4752075a7c29f51a2ef681d1952c4f82138d Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 10 Dec 2024 17:12:02 +0100 Subject: [PATCH] Run :ies only on app classes --- src/agent/lib/info/index.ts | 3 +++ 1 file changed, 3 insertions(+) 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 {