Skip to content

IDA Pro 9.0: Selected item is invalid... #124

Closed

Description

@noobone123

Hello, I compiled HexRaysCodeXplorer using cmake on linux, following the PR #122.
I can indeed compile successfully and finally get HexRaysCodeXplorer64.so and HexRaysCodeXplorer.so.
However, I found that I can not reconstruct Type in decompiler, here is an example where I'm quite sure that a1 is the this pointer of a class instance, but when I click Reconstruct Type, it produces the following error: selected item is invalid....

image

I'm not very sure what the reason is. Can you help me with my question?

Activity

  1. rrbranco commented on Nov 25, 2025

    @rrbranco
    Contributor

    Do you mind trying again with the commit from today and IDA 9.2?

  2. noobone123 commented on Nov 25, 2025

    @noobone123
    Author

    Thanks, I tried the latest version in IDA 9.2, and it seems to work fine (except for a minor flaw)
    Specifically, we need to add Compat.cpp in makefile.lnx (Please see #123 ), otherwise, IDA will fail to load the .so properly, with the following error:

    dlopen(../idapro-9.2/plugins/HexRaysCodeXplorer64.so): ../idapro-9.2/plugins/HexRaysCodeXplorer64.so: undefined symbol: _ZN6Compat12get_struc_idEPKc
    ../idapro-9.2/plugins/HexRaysCodeXplorer64.so: can't load file
    

    However, after fixing the above issue, everything is running smoothly. So currently, it seems that only modifying makefile.lnx is needed to get everything working properly.

  3. rrbranco commented on Nov 25, 2025

    @rrbranco
    Contributor

    I've added the Compat.cpp to the makefile.lnx - thank you (and please, feel free to send a pull request next time!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions