You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary Ninja Version: 4.2.6455 Personal (02c8da1e)
OS: macOS
OS Version: 14.x
CPU Architecture: arm64
Bug Description:
Binary Ninja spews exceptions when python plugins are loaded that register a plugin command with an is_valid handler. The exceptions seem unrelated to plugin code.
I'm getting bug reports for my plugin for this, but I think the issue is in Binary Ninja API or core.
Steps To Reproduce:
Open a target in Binary Ninja
Double-click on a function call in linear HLIL view to jump to that function
Return to the previous location by pressing Escape
See exceptions in the console log
Precondition seems to be the presence of a plugin with an is_valid handler. Notably, it is not required to actually execute any plugin commands. Just the presence of an is_valid handler seems enough to cause this.
Expected Behavior:
No exceptions raised.
Screenshots/Video Recording:
A lot of these in console:
[Default] Traceback (most recent call last):
[Default] File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/plugin.py", line 361, in _high_level_il_instruction_is_valid
[Default] return is_valid(view_obj, func_obj[instr])
[Default] File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/highlevelil.py", line 2477, in __getitem__
[Default] raise IndexError("index out of range")
[Default] IndexError: index out of range
Binary:
Seems to repro with any binary.
Additional Information:
n/a
The text was updated successfully, but these errors were encountered:
It repros easily for me with /usr/libexec/biometrickitd on macOS 14, arm64e slice. Also repros with any other MachOs I tried, including for iOS. I don't work other architectures much so not sure if it's specific to any of arm64, MachO, or ObjC workflow. fwiw, I have reports from two users that they also frequently encounter this.
I was able to get this to reproduce with /usr/libexec/biometrickitd on 4.2.6455 Personal and Ultimate, in addition to 4.3.6564-dev Ultimate, but only on a macOS client.
Version and Platform (required):
Bug Description:
Binary Ninja spews exceptions when python plugins are loaded that register a plugin command with an is_valid handler. The exceptions seem unrelated to plugin code.
I'm getting bug reports for my plugin for this, but I think the issue is in Binary Ninja API or core.
Steps To Reproduce:
Precondition seems to be the presence of a plugin with an is_valid handler. Notably, it is not required to actually execute any plugin commands. Just the presence of an is_valid handler seems enough to cause this.
Expected Behavior:
No exceptions raised.
Screenshots/Video Recording:
A lot of these in console:
Binary:
Seems to repro with any binary.
Additional Information:
n/a
The text was updated successfully, but these errors were encountered: