Shared cache loading fails to recognize CFString / NSString literals #6122
Labels
Component: DSC
Issue needs changes to the DyldSharedCacheView
State: Awaiting Triage
Issue is waiting for more in-depth triage from a developer
Version and Platform (required):
Bug Description:
When opening a macOS dyld shared cache and loading a library that uses CFString or NSString literals, Binary Ninja often leaves references to them as opaque
data_1e6b5cdb8
references. The data within the__cfstring
section does not have its type set tostruct __NSConstantString
and is not renamed to a descriptive name.These steps are done when loading an executable from the file system.
Steps To Reproduce:
_systemInformationRequested
in the symbol list.Expected Behavior:
com.apple.SystemProfiler
) rather than an opaquedata_
reference.struct __NSConstantString
.For executables loaded from the file system rather than the shared cache, this reference typically would have been renamed to something like
cfstr_com_apple_SystemProfiler
.Screenshots/Video Recording:
Reference from code:
Lack of type of data within
__cfstring
section:Expected behavior (from an executable on disk, rather than a framework in the shared cache):
Binary:
See steps to reproduce.
The text was updated successfully, but these errors were encountered: