Vector35/snippets

Crash from Loading Specific Snippet

Opened this issue · 1 comments

Version and Platform (required):

  • Binary Ninja Version: 4.1.5071-dev (41729337)
  • OS: MacOS
  • OS Version: 13.6.6
  • CPU Architecture: x64

Bug Description:
Python snippet causing crash

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Install Snippet plugin
  2. Add obfuscation_demo.py (from obf_demo.zip) to ~/Library/Application Support/Binary Ninja/snippets
  3. Open Snippets plugin and Binary Ninja will crash with a SIGABRT

Expected Behavior:
No crashing

Screenshots:
If applicable, please add screenshots here to help explain your problem.

Additional Information:

I tried to minify this test case to see exactly which part of the script is causing the crash but it appears there's some sort of UI caching that causes the crash to occur from the original script regardless of me clicking Reload All Snippets. Here's the crash log:
crash.log

Probably duplicate of #50