Vector35 / Vector35/binaryninja-api
Save As drops all previous snapshots
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
Version and Platform (required):
- Binary Ninja Version: 3.5.4526
- OS: macOS
- OS Version: 12.6
- CPU Architecture: M1
Bug Description:
When I open a BNDB and later choose to "save as" to a new name, the created bndb has only the latest snapshot in its database. While this might be intentional, it was certainly not expected behavior. The currently open tab that you just saved still contains all the snapshots, and you only notice they are missing if you open the new bndb.
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
- Enable database plugin
- Open bndb
- Open database pane and see snapshots
- Save As to new name
- Open new saved bndb
- Open database pane and see only 2 snapshots
Expected Behavior:
I expected "save as" to create a full copy of the analysis database with all the snapshots.
Additional Information:
If this is not intended behavior we should make it more clear that this is what is going to happen.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the database plugin: open a BNDB, inspect its snapshots in the database pane, use Save As, and reopen the new file. Trace the Save As and database-plugin entry points involved; done means the new BNDB retains all snapshots, or the behavior is clearly documented if it is intentional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100