Open
Description
Version and Platform (required):
- Binary Ninja Version: As far back as 3.0 up to latest dev as of today
Bug Description:
Platform information is lost.
Steps To Reproduce:
- Open a new tab
- Compile some SCC shellcode for any platform
- Create a function using
p
of the same arch and platform - Using the python console confirm that a bv.platform is set (it is)
- Save the current analysis database to a BNDB
- Re-open the BNDB
- Observe that bv.platform is not set using the console
Expected Behavior:
The platform should still be set
This has potentially obnoxious implications for users doing firmware analysis depending on the workflow. The saving grace/work-around is that the mapped view does not have this problem so if you first save the shellcode, then open the file and use the default open-with-options mapped view, you'll be able to create a platform, save the BNDB and re-open without losing the platform.