Support for Objective-C and Swift

Author: j4m3s272Created Nov 27, 2025Updated Feb 22, 2026

Hi, thanks for the great project!

I’d like to request Objective-C and Swift support in llm4decompile. Many macOS/iOS binaries rely on these languages, and having the model interpret their runtime patterns would be extremely useful.

Objective-C needs:

  • Handle objc_msgSend patterns
  • Detect classes, selectors, methods, properties
  • Reconstruct common Cocoa/Foundation structures

Swift needs:

  • Demangling Swift symbols
  • Recognizing structs/classes/enums/protocols
  • Using Swift metadata (type descriptors, witness tables, etc.)
  • Handling generics and Swift calling conventions

This would greatly improve decompilation for macOS/iOS targets.

Thanks for considering!

Source: albertan017/LLM4Decompile