Skip to content

Commit

Permalink
Add a flag for specifying the default function names in decis (#104)
Browse files Browse the repository at this point in the history
* Add a button to exclude defaults in Force Push

* bump
  • Loading branch information
mahaloz authored Aug 29, 2024
1 parent 171fca0 commit ea1c660
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libbs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.19.2"
__version__ = "1.20.0"


import logging
Expand Down
2 changes: 2 additions & 0 deletions libbs/api/decompiler_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(
# these flags should mostly be unchanged when passed through subclasses
name: str = "generic",
qt_version: str = "PySide6",
default_func_prefix: str = "sub_",
artifact_lifter: Optional[ArtifactLifter] = None,
error_on_artifact_duplicates: bool = False,
decompiler_available: bool = True,
Expand All @@ -68,6 +69,7 @@ def __init__(
self.type_parser = CTypeParser()
self.supports_undo = supports_undo
self.qt_version = qt_version
self.default_func_prefix = default_func_prefix
self._error_on_artifact_duplicates = error_on_artifact_duplicates

self.headless = headless
Expand Down
1 change: 1 addition & 0 deletions libbs/decompilers/ghidra/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def __init__(
name="ghidra",
artifact_lifter=GhidraArtifactLifter(self),
supports_undo=True,
default_func_prefix="FUN_",
**kwargs
)

Expand Down

0 comments on commit ea1c660

Please sign in to comment.