Skip to content

plugin: restore IDA 9.0 compatibility#30

Open
Oxygen1a1 wants to merge 1 commit into
allthingsida:mainfrom
Oxygen1a1:plugin-ida90-compat
Open

plugin: restore IDA 9.0 compatibility#30
Oxygen1a1 wants to merge 1 commit into
allthingsida:mainfrom
Oxygen1a1:plugin-ida90-compat

Conversation

@Oxygen1a1
Copy link
Copy Markdown

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

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.

1 participant