Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize button not working on IDA 7.5 #74

Open
shrddr opened this issue May 4, 2021 · 0 comments
Open

Finalize button not working on IDA 7.5 #74

shrddr opened this issue May 4, 2021 · 0 comments

Comments

@shrddr
Copy link

shrddr commented May 4, 2021

The vftable structure does get created, but the class itself doesn't.
Output Window:

Traceback (most recent call last):
  File "...plugins\HexRaysPyTools\forms.py", line 93, in <lambda>
    btn_finalize.clicked.connect(lambda: self.structure_model.finalize())
  File "...plugins\HexRaysPyTools\core\temporary_structure.py", line 692, in finalize
    if self.pack():
  File "...plugins\HexRaysPyTools\core\temporary_structure.py", line 557, in pack
    cdecl = idaapi.ask_text(0x10000, '#pragma pack(push, 1)\n' + cdecl, "The following new type will be created")
TypeError: can only concatenate str (not "NoneType") to str

Here is the line. Any tips how to make idaapi.print_tinfo() return something other than None? This function is listed in IDAPython docs, but with no description, maybe obsolete?

@shrddr shrddr changed the title Finalize button not working Finalize button not working on IDA 7.5 May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant