From 8be4f37a4064df7eb5ce19389d6d8a35d67c54f8 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Wed, 24 Sep 2025 09:58:29 -0700 Subject: [PATCH] [ObjC] Don't log when encountering an objc_msgSendSuper2 call from Swift code --- plugins/workflow_objc/src/activities/super_init.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/plugins/workflow_objc/src/activities/super_init.rs b/plugins/workflow_objc/src/activities/super_init.rs index ab4586173d..fc6676e924 100644 --- a/plugins/workflow_objc/src/activities/super_init.rs +++ b/plugins/workflow_objc/src/activities/super_init.rs @@ -191,8 +191,7 @@ fn return_type_for_super_init(call: &Call, view: &BinaryView) -> Option src_var, - MediumLevelILLiftedInstructionKind::VarSsa(_) - | MediumLevelILLiftedInstructionKind::Sub(_) => { + _ => { // The Swift compiler generates code that initializes the `objc_super` variable in more varied ways. log::debug!( " found non-address-of variable definition of `objc_super` variable at {:#0x} {:?}", @@ -201,14 +200,6 @@ fn return_type_for_super_init(call: &Call, view: &BinaryView) -> Option { - log::error!( - "Unexpected source of variable definition at {:#0x} {:x?}", - super_param_def.address, - super_param_def - ); - return None; - } }; // `src_var` is a `struct objc_super`. Find constant values assigned to the `super_class` field (second field).