Skip to content

BNDBs Cannot Be Saved Headless if Created By Project #7838

@utkonos

Description

@utkonos

Version and Platform (required):

  • Binary Ninja Version: 5.3.8837-dev Ultimate, d2d9934a
  • OS: macos
  • OS Version: 26.2.0
  • CPU Architecture: arm64

Bug Description:
If a BNDB is created via one of the open functions inside a Project, and then opened headless, that database cannot be saved.

Steps To Reproduce:

  1. Open a project
  2. Create a bndb in the project
  3. Close binary ninja
  4. Open the bndb with headless python
  5. Do something in the database
  6. Try to save with bv.save_auto_snapshot()
  7. Notice failure

Expected Behavior:
You can observe the expected behavior just by doing all the same, but rather than creating the database inside the project, just import any database that already exists into the project and do everything else the same. Under these conditions the database can be saved as expected.

Screenshots:

Database created in Project:

Image

Database imported from outside Project:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    State: Blocked (Customer)Issue is blocked on waiting for a response from a customer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions