Skip to content

plugin: restore IDA 9.0 compatibility - #30

Merged
0xeb merged 1 commit into
allthingsida:mainfrom
Oxygen1a1:plugin-ida90-compat
May 29, 2026
Merged

0xeb merged 1 commit into
allthingsida:mainfrom
Oxygen1a1:plugin-ida90-compat

Conversation

@Oxygen1a1

Copy link
Copy Markdown
Contributor

Summary

Fix plugin compatibility with IDA 9.0 and other pre-9.2 SDK/runtime combinations.

The previous Windows plugin build could import idaplace_t__equals, which is exported by newer IDA versions but not
by IDA 9.0. This caused the plugin DLL to fail loading before initialization on IDA 9.0.

Changes

  • Add a local compatibility shim for idaplace_t__equals
  • Add SDK-version guards for IDA 9.0 API differences:
    • open_database()
    • is_ida_library()
    • callcnv_t
    • HTI_SEMICOLON
    • GENDSM_UNHIDE
    • enum member lookup helpers
    • Hex-Rays ctree parent access
    • BWN_TITREE
  • Keep existing behavior for newer SDKs

Validation

  • Built idasql_plugin with IDA SDK 9.0, MCP enabled
  • Built idasql_plugin with IDA SDK 9.2
  • Built idasql_plugin with IDA SDK 9.3
  • Checked generated DLL imports against IDA 9.0.24.0925 ida.dll: 0 missing imports
  • Confirmed idaplace_t__equals is no longer imported
  • Verified LoadLibrary succeeds against the local IDA 9.0 setup directory

@0xeb 0xeb mentioned this pull request May 28, 2026
@0xeb

0xeb commented May 28, 2026

Copy link
Copy Markdown
Member

Working on it.

Note: this is related to #17 .

@0xeb
0xeb merged commit cd78ac5 into allthingsida:main May 29, 2026
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

Successfully merging this pull request may close these issues.

2 participants