snippets icon indicating copy to clipboard operation
snippets copied to clipboard

Crash from Loading Specific Snippet

Open jershmagersh opened this issue 1 year ago • 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

jershmagersh avatar Apr 06 '24 13:04 jershmagersh

Probably duplicate of https://github.com/Vector35/snippets/issues/50

xusheng6 avatar Apr 09 '24 13:04 xusheng6