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

error when operator"" #89

Open
KomiMoe opened this issue May 16, 2023 · 1 comment
Open

error when operator"" #89

KomiMoe opened this issue May 16, 2023 · 1 comment

Comments

@KomiMoe
Copy link

KomiMoe commented May 16, 2023

Traceback (most recent call last):
  File "D:\IDA Pro 7.6.210427 (x86,x64,ARM,ARM64,PPC,PPC64,MIPS)\python\3\ida_idp.py", line 6010, in ev_oldfile
    return self.dispatcher().dispatch(ida_idaapi.NW_OPENIDB, 1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\IDA Pro 7.6.210427 (x86,x64,ARM,ARM64,PPC,PPC64,MIPS)\python\3\ida_idp.py", line 6037, in dispatch
    cb.fun(slot, *args)
  File "D:\IDA Pro 7.6.210427 (x86,x64,ARM,ARM64,PPC,PPC64,MIPS)/plugins\HexRaysPyTools\core\cache.py", line 70, in initialize_cache
    _init_demangled_names()
  File "D:\IDA Pro 7.6.210427 (x86,x64,ARM,ARM64,PPC,PPC64,MIPS)/plugins\HexRaysPyTools\core\cache.py", line 56, in _init_demangled_names
    short_name = common.demangled_name_to_c_str(short_name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\IDA Pro 7.6.210427 (x86,x64,ARM,ARM64,PPC,PPC64,MIPS)/plugins\HexRaysPyTools\core\common.py", line 106, in demangled_name_to_c_str
    raise AssertionError("Replacement of demangled string by c-string for keyword `operatorXXX` is not yet"
AssertionError: Replacement of demangled string by c-string for keyword `operatorXXX` is not yetimplemented (class CryTransform::CAngle CryTransform::operator"" _radians(unsigned __int64)). You can do it by yourself or create an issue```
@KomiMoe
Copy link
Author

KomiMoe commented May 16, 2023

plugin works well just replace elif name[idx:idx + 2] == "\"\" ": with elif name[idx:idx + 3] == "\"\" ": in common.py line 99.

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