Skip to content

[SharedCache] Confusing experience opening DSC database when the DSC files cant be located #6630

@WeiN76LQh

Description

@WeiN76LQh

Version and Platform (required):

  • Binary Ninja Version: 5.0.7218-dev (c480ce0c)
  • OS: macOS
  • OS Version: 15.2
  • CPU Architecture: M1

Bug Description:
When opening a DSC database in a project and the DSC files cannot be found, the user experience is confusing and its not clear what the user is being asked to open. Also the open file dialog is the OS one not the Binary Ninja project file browser one.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Create a new project.
  2. Copy all the DSC files into a folder in that project.
  3. Open the DSC.
  4. Save the database into a different top level folder in the project to the one with the DSC files in it.
  5. Close the binary view.
  6. Open the database in the project.
  7. Observe that the user is prompted to open a file using the OS file browser and no information is provided to explain what they should be opening. Additionally it should not be the OS file browser but the project file browser that Binary Ninja provides for opening files in a project.

Expected Behavior:
It should be clear to the user what is happening (the plugin can't find the related DSC files) and when being asked to find a file in a project the user should be provided with a project file browser not an OS one because the names of the files on disk for projects are hard to relate to actual files in the project due to their random names.

Additional Information:
This behaviour might be worse on macOS than other platforms due to the file dialogs not have text to indicate what the user should be opening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Effort: TrivialIssue should take < 1 dayFile Format: SharedCacheIssue with the dyld_shared_cache pluginImpact: LowIssue is a papercut or has a good, supported workaround

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions