Skip to content

0.28.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 07:34
e882e39

0.28.0

Breaking

  • Requires MachOKitExtensions 3.4.0, MachOObjCSection 0.10.102 and swift-type-indexing 0.2.0.
  • The TypeIndexing product moved to the swift-type-indexing package.
  • C and Objective-C types now print under their Swift names; --c-imported-type-name-spelling c-name restores the C names.

New

  • --multiline-types and --maximum-line-width break long types over several lines in dump and interface.
  • interface --resolve-moved-type-modules prints a type the SDK moved under the module that declares it now.
  • refs --type lists the references to a Swift type.
  • objc interface --mark-sdk-swift-names marks the NS_SWIFT_NAME and NS_REFINED_FOR_SWIFT the SDK gives a declaration.
  • Stored properties of @objc @implementation classes known only by their ivar get their Swift type back.

Improved

  • refs finds more references, including selectors loaded but never sent and functions whose address is taken.
  • --resolve-c-module-names also finds the module of private CF types.

Fixed

  • Objective-C categories in an image without Swift code no longer show up as Swift conformances.
  • Static layouts no longer mix up two private types with the same name.
  • symbolicate no longer says a slot holding a descriptor points at a function, and --in-image reads every image of that name.
  • refs --type no longer misses types instantiated from their mangled name in stripped standalone files.
  • Swift symbols are recognized when the library is linked statically.
  • Fixed hangs and crashes on malformed binaries.