c3r34lk1ll3r/Instruction_Slicer

Error on backward slice

ZetaTwo opened this issue · 0 comments

I just tried to use this plugin and while the forward slice seems to work fine, I get the following error when doing a backward slice:

Traceback (most recent call last):
  File "/home/zetatwo/tools/binaryninja/plugins/../python/binaryninja/plugin.py", line 129, in _address_action
    action(view_obj, addr)
  File "/home/zetatwo/.binaryninja/repositories/community/plugins/c3r34lk1ll3r_Instruction_Slicer/__init__.py", line 46, in s_b
    slicer(bv,address,'B')
  File "/home/zetatwo/.binaryninja/repositories/community/plugins/c3r34lk1ll3r_Instruction_Slicer/__init__.py", line 35, in slicer
    temp = ml.get_ssa_var_definition(var)
  File "/home/zetatwo/tools/binaryninja/plugins/../python/binaryninja/mediumlevelil.py", line 2975, in get_ssa_var_definition
    var_data = ssa_var.var.to_BNVariable()
AttributeError: 'Variable' object has no attribute 'var'