-
Notifications
You must be signed in to change notification settings - Fork 274
Description
Version and Platform (required):
- Binary Ninja Version: 5.3.8652-dev Ultimate (f6637a1a)
- Edition: Ultimate
- OS: macOS
- OS Version: 15.6
- CPU Architecture: M1
Bug Description:
Saving, closing and re-opening a database, without making any changes between opening and closing, cause the database file to increase in size. The amount it increases by might be dependent on the initial size of the database as I have noticed when a database is quite large (I have plugins that save large amounts of data in the binary view metadata) the amount it increases by increases alot as well. I'm finding a database for the DYLD Shared Cache after initial analysis is around 18MB and can increase by around 0.5MB each save.
Steps To Reproduce:
In my case I tested this on a copy of the DYLD Shared Cache.
- Open the DYLD Shared Cache in Binary Ninja.
- Wait for analysis to complete.
- Save a database.
- Close the binary view.
- Re-open the binary view.
- Repeat steps 3-5 multiple times and observe the database increasing in size. It does not seem to occur everytime.
Expected Behavior:
I wouldn't expect the database to change size when no changes are made.
Additional Information:
In some cases I've seen a jump from 14MB to 20MB, where 14MB is the result of the first database save and 20MB is the second save.