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

Crash: Crash on Write None to Globals `bv.file.database.write_global('foo', None)`

Open utkonos opened this issue 7 months ago • 14 comments

Version and Platform (required):

  • Binary Ninja Version: 5.0.7248-dev
  • OS: macOS
  • OS Version: 15.4
  • CPU Architecture: x64

Bug Description: Crashes when this line of code is run in Python console: bv.file.database.write_global('foo', None)

Steps To Reproduce:

  1. Open binary
  2. Type this is Python console: bv.file.database.write_global('foo', 'bar')
  3. Type this is Python console: bv.file.database.write_global('foo', None)
  4. Observe crash Expected Behavior: No crash

Screenshots/Video Recording:

Image

utkonos avatar Apr 16 '25 19:04 utkonos