GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • IDA 9.5
  • Developer
  • FAQs
  • Support
  • Forum
  • Plugins
  • Blog
  • Download center

This view

  • Original page
  • New address

GeezerVison is showing docs.hex-rays.com — Domain API | Hex-Rays Docs

A beginner-friendly, open-source Domain API that simplifies scripting and plugin development, making it approachable like never before — in a Pythonic way.

v0.6.0 Released

Changes since v0.5.0, including those shipped in v0.5.1.

Added

  • Analysis API – db.analysis: enable or disable the auto-analyzer, wait for it, and schedule or cancel work on addresses and ranges.

  • License API – db.license / License: query the active license, add-ons and features, check out, borrow and return seats..

  • Synthetic strings – db.strings now lists strings that do not exist in the bytes, such as those reconstructed by the decompiler.

  • Functions – set_start / set_end, update, reanalyze, is_outlined / set_outlined, apply_declaration.

  • Instructions – operand representation setters (e.g. set_operand_hex, toggle_operand_negate), control-flow helpers (e.g. is_conditional_jump) and instruction creation.

  • Xrefs – add_code_ref, remove_code_ref, add_data_ref, remove_data_ref; to_item() for xrefs to any byte of an item, like the GUI "xrefs to" dialog.

  • Types – get_xrefs_to / get_xrefs_from, get_member_xrefs_to / get_member_xrefs_from and resolve_tid for xrefs to types and their members.

  • Comments – append_at, set_extra_lines_at, delete_extra_lines_at, get_combined_at.

  • Pseudocode – LocalVariableReference exposes its ctree context: expr, parent, assignment, containing_call, walk_ancestors() and more.

  • decompiler_timeout(seconds) – context manager that limits each decompilation..

  • Imports.get_imports_for_module() accepts a module name.

  • IdaCommandOptions.plugin_options accepts a list, one -O per entry.

  • examples_path() – examples now ship inside the package.

  • IDA 9.4 and IDA 9.5 support.

  • Python 3.14 and 3.15 support.

Changed

  • Dropped Python 3.9 and 3.10. Python 3.11+ is required.

  • get_instructions, get_disassembly, get_callees and get_data_items now include function tail chunks.

  • Database.execute_script(): an exit call ends only the script. A non-zero exit code raises DatabaseError.

  • get_imports_for_module() raises on a bad index at the call, not on first iteration.

Fixed

  • XrefsFlags.NOFLOW was ignored when used alone, and DATA | CODE returned only data xrefs.

  • import ida_domain failed inside idat.

  • Path options containing spaces are now quoted in IdaCommandOptions.

  • MicroCallArg.operand raised AttributeError for arguments holding a nested instruction.

  • ProcessorHooks.ev_get_simd_types raised TypeError on IDA 9.3+, several wrong type hints corrected.

  • Local variable references such as *--v = … are now classified as writes.

  • Broken examples and doc snippets.

Docs

  • Getting started now recommends the idalib activation script over IDADIR.

New Contributors

@bbudny-hexrays, @imladenov51, @mrexodia, @thebabush and @n0pcc


Detailed Changes: v0.5.0...v0.6.0

General Documentation Resources

Getting Started

Examples

Reference

Additional Resources

PyPI Package

Source Code on GitHub

Is the Domain API Right for You?

Just getting started with IDA?

Great! The Domain API was specifically designed to flatten the learning curve. We made this high-level Domain API more Pythonic, easy to install and simpler to learn so you can start scripting and building IDA plugins without getting overwhelmed by complexity.

As an open-source project designed to complement IDAPython SDK, it benefits from a faster release cycle driven by community feedback.

Experienced with C++ or/and IDAPython SDK?

If you’re a seasoned reverser familiar with C++ and/or IDAPython SDK usage, there's no need to change your workflow or adopt "another" API. The Domain API is not intended to replace the existing C++ and IDAPython SDK. It offers a high-level alternative for those who prefer it.

Need low-level control?

If you need full control, stick with IDAPython or the C++ SDK. The high-level Domain API prioritizes ease of use and community-driven evolution over complete coverage from day one. It will continue to evolve rapidly and expand over time.

Benefits of using Domain API

  • Clean and Pythonic design. The Domain API is built on top of the existing IDAPython SDK, providing a higher-level Domain Model for interacting with IDA.

  • Domain-focused design. Developed by reverse engineers for reverse engineers, matching how they think about binary analysis.

  • Community-driven updates, versioned independently. Open-source from the start and developed outside of official IDA release cycles, enabling flexible evolution.

Scripting and Development with the Domain API

Is it possible to develop plugins with the Domain API?

Yes. You can dive right away into plugin development with the Domain API, that has been built on top of the IDAPython SDK. For everything that needs more low-level control, you can use it alongside the IDAPython SDK. They are fully compatible with each other.

Is the Domain API Equivalent to the IDAPython SDK?

The Domain API currently provides coverage for common tasks such as function manipulation, type management, cross-references handling, and more. For a full overview of available capabilities, see the Domain API Reference. As an open-source project, built with an independent release cycle, the Domain API is designed to evolve quickly. You can expect frequent updates that expand its functionality and have a chance to shape the future of its evolution.

If you need access to features not yet available through the Domain API, you can combine the IDAPython alongside your Domain API snippets.

Feedback and contributions

The Domain API has been open source from the start. We welcome not only contributions, but also your honest feedback — from early impressions to insights that help shape its growth toward maturity.

How to contribute? | Visit the Domain API GitHub Repository

Spotted a bug or want to propose a change to the Domain API? Here’s how to get involved:

  • Read the Contribution Guidelines to understand the process

  • To report bugs or unexpected behavior, open an Issue on GitHub

  • To propose changes, submit a Pull Request (PR) with your improvements

How to share your feedback?

We welcome your early insights, feature requests, and ideas for possible use cases of the Domain API. Join the conversation in our community forum.

FAQ

Do I need to update my existing plugins or scripts?

No. You do not need to port your plugins nor update them. The Domain API doesn't affect existing plugins or scripts in any way. If you are familiar and feel completely confident in developing with IDAPython or C++, you can continue to do so without changing your habits or workflow.

Is the Domain API a replacement for IDAPython SDK?

No. The Domain API is not going to replace the IDAPython SDK, but complement it. The high-level Domain API serves as an entry point for developing scripts and plugins in IDA, particularly for newcomers looking for an accessible Pythonic interface.

Last updated 16 days ago

Was this helpful?

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.