A helpful tool for debugging and developing your own Hexrays plugins and scripts
Project description
HRDevHelper
HRDevHelper is an extension for the Hexrays decompiler written in IDAPython and is meant to be a helpful tool for debugging and developing your own Hexrays plugins and scripts. The plugin draws its usefulness from displaying a graph of a decompiled function's respective ctree and creating visual links between its underlying decompiled code and the graphs' individual items.
When invoked, HRDevHelper creates and attaches a ctree graph to the currently active decompiler widget and centers the graph's view on the current ctree item. Subsequently navigating the decompiled code visually highlights corresponding ctree items in the graph.
The plugin's default colors and other settings (zoom, dock position etc.) can be configured by editing the plugin's configuration file that is created after running the plugin for the first time. The HRDevhelper.cfg configuration file can be found in the IDA user directory.
Installation
Copy hrdevhelper.py and the hrdh folder to ./IDA/plugins/ and restart IDA.
Plugin Usage & Shortcuts
The plugin's functionality is accessible via right-click in a decompiler view or otherwise via keyboard shortcuts:
- "show ctree" creates a graph of all ctree items of the current decompiled function.
- "show sub-tree" creates a graph of ctree items that belong to the current expression. The subgraph's root is determined via the current decompiler view's text cursor.
- "show context" opens a context viewer that, among other information, displays the current sub-tree's citems as a lambda expression. This expression can be used with and directly copy-pasted into hxtb-shell that comes with the HexraysToolbox script.
By default, HRDevHelper visually highlights all ctree items in a graph that correspond to a current single decompiled line of code. Making a selection of multiple lines highlights nodes accordingly.
The two screenshots below show the context viewer.
In addition to the keyboard shortcuts that are made available in decompiler views, the graphs created by HRDevHelper have additional keyboard shortcuts in place as shown below.
Graph Hotkeys (focus on any HRDevHelper graph/subgraph):
- C: Toggle "center on current item/node" functionality (switches synchronization on/off).
- D: Increase debug/verbosity of particular nodes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file 3p_hrdevhelper_ida_plugin-2025.6.6-py3-none-any.whl.
File metadata
- Download URL: 3p_hrdevhelper_ida_plugin-2025.6.6-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b8b459eb911865b56f1ffc0b4002fd4d47ab2e3599f43a6c01e70207a55601
|
|
| MD5 |
d406ee1d123be937e5a72cb98923a5d1
|
|
| BLAKE2b-256 |
3fe2c50cb1286686f0691474029aee98081220bf4193f793cd51d5909ba5a117
|
Provenance
The following attestation bundles were made for 3p_hrdevhelper_ida_plugin-2025.6.6-py3-none-any.whl:
Publisher:
publish-3p-hrdevhelper-ida-plugin.yml on williballenthin/idawilli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
3p_hrdevhelper_ida_plugin-2025.6.6-py3-none-any.whl -
Subject digest:
41b8b459eb911865b56f1ffc0b4002fd4d47ab2e3599f43a6c01e70207a55601 - Sigstore transparency entry: 230603735
- Sigstore integration time:
-
Permalink:
williballenthin/idawilli@9d005cc5bc7e47bc9935b8b3be306a7e7a3ad07d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/williballenthin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-3p-hrdevhelper-ida-plugin.yml@9d005cc5bc7e47bc9935b8b3be306a7e7a3ad07d -
Trigger Event:
workflow_dispatch
-
Statement type: