IndexError("index out of range") when is_valid handler set by plugin command #6254
Labels
Component: Core
Issue needs changes to the core
Component: Plugin
Effort: Low
Issue should take < 1 week
Impact: Medium
Issue is impactful with a bad, or no, workaround
Type: Bug
Issue is a non-crashing bug with repro steps
Milestone
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: