binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

The contents of the structures are no longer displayed

Open 701982376509132690 opened this issue 1 year ago • 9 comments

Version and Platform (required):

  • Binary Ninja Version: 4.0.4883-dev Personal, 811e395d
  • OS: windows
  • OS Version: 10
  • CPU Architecture: x86_64

Bug Description: Sometimes the ability to see the contents of the structure disappears, when you click on/select the structure, its contents are not displayed in the desired window

Steps To Reproduce: It stops working on its own

Screenshots: изображение

701982376509132690 avatar Feb 15 '24 00:02 701982376509132690

Does this happen in all cases or only for specific binaries / structures / after a specific time / after performing specific actions? I can't reproduce this when simply opening a file and browsing around.

CouleeApps avatar Feb 15 '24 01:02 CouleeApps

Does this happen in all cases or only for specific binaries / structures / after a specific time / after performing specific actions? I can't reproduce this when simply opening a file and browsing around.

Im using BN with large binary (around 60MB), so my DB is around 2GB after saving, i can send binary here if you want

701982376509132690 avatar Feb 15 '24 03:02 701982376509132690

Also, structure window is hidden by default to the right side here

изображение

701982376509132690 avatar Feb 15 '24 03:02 701982376509132690

If you could upload the binary that triggers the bug that would be appreciated. I spent some time poking around ntoskrnl which is admittedly only 8MB, and didn't see anything like what you described.

In the second picture it looks like the splitter widget has shrunk. You should be able to expand it by dragging on the ... dots (there are two, you want the left one).

CouleeApps avatar Feb 15 '24 04:02 CouleeApps

If you could upload the binary that triggers the bug that would be appreciated. I spent some time poking around ntoskrnl which is admittedly only 8MB, and didn't see anything like what you described.

In the second picture it looks like the splitter widget has shrunk. You should be able to expand it by dragging on the ... dots (there are two, you want the left one).

I also have added PDB file: https://file.io/aIz367GMNklA

701982376509132690 avatar Feb 15 '24 04:02 701982376509132690

Also, sometimes it's stops displaying xrefs on structure fields

701982376509132690 avatar Feb 15 '24 16:02 701982376509132690

Also, Binary Ninja does not close after closing the window, although it has been at least 2 minutes

701982376509132690 avatar Feb 15 '24 16:02 701982376509132690

Thanks for the test case. Vector 35 employees can search for silenced tapioca serpent puppet to find it and the provided PDB.

fuzyll avatar Feb 15 '24 18:02 fuzyll

I tried loading the binary you provided and still couldn't reproduce this. Does it still happen if you start with plugins disabled / cleared settings?

Image

CouleeApps avatar Feb 21 '24 21:02 CouleeApps

We have been unable to reproduce this, so I'm going to close it. If we've missed a step or if there's more information/test cases you can give, please let us know and we can reopen it.

I suspect that at least one of the issues described here is a performance problem, but it's difficult for us to troubleshoot it in this specific instance without more information about hardware and settings.

fuzyll avatar Mar 25 '24 22:03 fuzyll

Reopening this because I found a way to reproduce it which I think is accurate to the issue:

  1. Add binary to project
  2. Open binary
  3. Open types view
  4. Save binary
  5. Now types view is broken

It looks to be the action of saving the binary that is causing this.

CouleeApps avatar Jun 06 '24 18:06 CouleeApps

Fix for this is going out in >= 4.1.5432-dev

CouleeApps avatar Jun 06 '24 19:06 CouleeApps