Skip to content

Commit

Permalink
Fix an ida func rename regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Dec 28, 2024
1 parent 067dac5 commit 1dc573a
Show file tree
Hide file tree
Showing 2 changed files with 3 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__ = "2.8.0"
__version__ = "2.8.1"


import logging
Expand Down
2 changes: 2 additions & 0 deletions libbs/decompilers/ida/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ def set_function(func: Function, decompiler_available=True, **kwargs):
elif func.header:
if func.name:
set_ida_func_name(func.addr, func.name)
if ida_code_view is None and decompiler_available:
ida_code_view = acquire_pseudocode_vdui(func.addr) if not headless else DummyIDACodeView(func.addr)
changes |= True
if func.type:
changes |= set_func_ret_type(func.addr, func.type)
Expand Down

0 comments on commit 1dc573a

Please sign in to comment.