Skip to content

Commit

Permalink
Remove _dec suffix for decompiler-only based names
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed May 15, 2024
1 parent 9f71bf3 commit 62c543c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion varbert/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.1.0"
__version__ = "2.2.0"

import importlib.resources
import tarfile
Expand Down
4 changes: 2 additions & 2 deletions varbert/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def predict_variable_names(
k: v for k, v in name_pairs if "/*decompiler*/" not in v
}
else:
# rewrite decompiled based names
# rewrite decompiled based names, remove the comment
orig_name_2_popular_name = {
k: v.replace(" /*decompiler*/", "_dec") for k, v in orig_name_2_popular_name.items()
k: v.replace(" /*decompiler*/", "") for k, v in orig_name_2_popular_name.items()
}

# check after filtering
Expand Down

0 comments on commit 62c543c

Please sign in to comment.