Skip to content

Commit

Permalink
Move ripr options into their own folder under the "Plugins" context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiernat committed Jul 8, 2022
1 parent 939f913 commit 502bc8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ def generate_basicBlocks(view, fobj):
pkg = Packager(isFunc=False, address=fobj.start, engine=engine, ui=ui)
pkg.generate_bb_code()

PluginCommand.register_for_function("[ripr] Package Function", "Package Function within Unicorn", packageFunction)
PluginCommand.register_for_function("ripr\Package Function", "Package Function within Unicorn", packageFunction)

PluginCommand.register_for_address("[ripr] Package BasicBlock", "Package Function within Unicorn", packageBasicBlock)
PluginCommand.register_for_address("ripr\Package BasicBlock", "Package Function within Unicorn", packageBasicBlock)

PluginCommand.register_for_function("[ripr] Generate Selected BBs", "Package Function within Unicorn", generate_basicBlocks)
PluginCommand.register_for_function("ripr\Generate Selected BBs", "Package Function within Unicorn", generate_basicBlocks)

except ImportError as e:
raise e
Expand Down

0 comments on commit 502bc8b

Please # to comment.