Skip to content

Commit

Permalink
Allow API use to specify targets in PluginInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Jan 4, 2024
1 parent 16ebaf6 commit e5356de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,3 @@ G/S: Getters/Setters
- [ ] Change Callbacks
- [ ] Get/Set Comments

### angr
- [ ] Change Callbacks

2 changes: 1 addition & 1 deletion libbs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0"
__version__ = "0.10.0"
4 changes: 2 additions & 2 deletions libbs/plugin_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def install_gdb(self, path=None, interactive=True):


class LibBSPluginInstaller(PluginInstaller):
def __init__(self):
super().__init__(targets=PluginInstaller.DECOMPILERS)
def __init__(self, targets=None, target_install_paths=None):
super().__init__(targets=targets or PluginInstaller.DECOMPILERS, target_install_paths=target_install_paths)
self.plugins_path = self.find_pkg_files("libbs").joinpath("decompiler_stubs")

def display_prologue(self):
Expand Down

0 comments on commit e5356de

Please sign in to comment.