Loading images from DSC can result in an infinite loop during Objective-C ivar processing #6054
Labels
File Format: SharedCache
Issue with the dyld_shared_cache plugin
State: Awaiting Triage
Issue is waiting for more in-depth triage from a developer
Version and Platform (required):
Bug Description:
Sometimes loading a certain image from DSC results in Binary Ninja getting caught in what appears to be an infinite loop (probably finite bound to a very large number). During this time BN prints the following to the log view:
The address value at the end is an example. This line will keep being printed over and over, and the address value will increment by
0x20
each time. I'm guessing there's something wrong with the metadata parsing causing it to think there's a huge number of ivars to process.Steps To Reproduce:
/System/Library/Frameworks/Contacts.framework/Contacts
Binary:
Extract the DSC from an iOS 18.0 beta 4 ipsw (22A5316j) for an iPhone 15 Pro Max (iPhone16,2). This has been a problem with other copies of DSC and other images within DSC, this is just one I know to be problematic with the contacts framework.
Additional Information:
I believe this is a back trace for the thread thats doing the Objective-C metadata parsing. Hopefully its helpful without symbols given the version and platform information above.
The text was updated successfully, but these errors were encountered: