All Projects → ax330d → Hrdev

ax330d / Hrdev

Licence: mit
Hex-Rays Decompiler Enhanced View

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hrdev

Ida gel
A collection of IDA loaders for various game console ELF's. (PS3, PSVita, WiiU)
Stars: ✭ 76 (-53.37%)
Mutual labels:  ida-pro, ida-plugin
Idarling
Collaborative Reverse Engineering plugin for IDA Pro & Hex-Rays
Stars: ✭ 588 (+260.74%)
Mutual labels:  ida-pro, ida-plugin
Sark
IDAPython Made Easy
Stars: ✭ 477 (+192.64%)
Mutual labels:  ida-pro, ida-plugin
Functions Plus
IDA Pro plugin to show functions in a tree view
Stars: ✭ 79 (-51.53%)
Mutual labels:  ida-pro, ida-plugin
Ida Rpc
Discord rich presence plugin for IDA Pro 7.0
Stars: ✭ 31 (-80.98%)
Mutual labels:  ida-pro, ida-plugin
Dereferencing
IDA Pro plugin that implements more user-friendly register and stack views
Stars: ✭ 336 (+106.13%)
Mutual labels:  ida-pro, ida-plugin
Binexport
Export disassemblies into Protocol Buffers
Stars: ✭ 586 (+259.51%)
Mutual labels:  ida-pro, ida-plugin
obfDetect
IDA plugin to pinpoint obfuscated code
Stars: ✭ 99 (-39.26%)
Mutual labels:  ida-pro, ida-plugin
Flare Ida
IDA Pro utilities from FLARE team
Stars: ✭ 1,374 (+742.94%)
Mutual labels:  ida-pro, ida-plugin
Necromancer
IDA Pro V850 Processor Module Extension
Stars: ✭ 21 (-87.12%)
Mutual labels:  ida-pro, ida-plugin
Ida ifl
IFL - Interactive Functions List (plugin for IDA Pro)
Stars: ✭ 293 (+79.75%)
Mutual labels:  ida-pro, ida-plugin
Stingray
IDAPython plugin for finding function strings recursively
Stars: ✭ 110 (-32.52%)
Mutual labels:  ida-pro, ida-plugin
Efixplorer
IDA plugin for UEFI firmware analysis and reverse engineering automation
Stars: ✭ 268 (+64.42%)
Mutual labels:  ida-pro, ida-plugin
Ipyida
IPython console integration for IDA Pro
Stars: ✭ 358 (+119.63%)
Mutual labels:  ida-pro, ida-plugin
IDA7-FunctionStringAssociate
FunctionStringAssociate plugin by sirmabus, ported to IDA 7
Stars: ✭ 17 (-89.57%)
Mutual labels:  ida-pro, ida-plugin
Heap Viewer
An IDA Pro plugin to examine the glibc heap, focused on exploit development
Stars: ✭ 574 (+252.15%)
Mutual labels:  ida-pro, ida-plugin
idaplugins
Random IDA scripts, plugins, example code (some of it may be old and not working anymore)
Stars: ✭ 24 (-85.28%)
Mutual labels:  ida-pro, ida-plugin
ida pdb loader
IDA PDB Loader
Stars: ✭ 45 (-72.39%)
Mutual labels:  ida-pro, ida-plugin
Ret Sync
ret-sync is a set of plugins that helps to synchronize a debugging session (WinDbg/GDB/LLDB/OllyDbg2/x64dbg) with IDA/Ghidra/Binary Ninja disassemblers.
Stars: ✭ 896 (+449.69%)
Mutual labels:  ida-pro, ida-plugin
Pytest Idapro
A pytest module for The Interactive Disassembler and IDAPython; Record and Replay IDAPython API, execute inside IDA or use mockups of IDAPython API.
Stars: ✭ 44 (-73.01%)
Mutual labels:  ida-pro, ida-plugin

Hex-Rays Decompiler Enhanced View (HRDEV)

What is this

This is an IDA Pro Python plugin to make Hex-Rays Decompiler output bit more attractive. HRDEV plugin retrieves standard decompiler output, parses it with Python Clang bindings and puts back.

Requirements & installation

The only requirement is Clang Python binding. See https://pypi.python.org/pypi/clang. Clang binding is required to parse decompiler output and produce plugin output.

First install Clang Python binding if you don't have it, then just paste plugin into "plugins/" IDA folder and plugin will be available on startup.

Note: please make sure that you have matching LLVM Python bindings and LLVM version installed (http://releases.llvm.org/download.html). Otherwise you may get errors due to incompatibility. This is not an HRDEV issue.

Note: only IDA version higher than 6.6 is supported. If I get requests to support earlier versions I will port HRDEV. See http://www.hexblog.com/?p=886.

How it works

Load plugin, then press "Alt + F5" and listing will appear. Currently this is an alternative only to a standard "F5" (function decompilation), listing for complete files is currently not supported.

You can put plugin into "plugins/" directory or load it via Alt+F7. If you put it into "plugins/" folder, then place hrdev.py and hrdev_plugin at the same level and exactly under "plugins/".

Options

HRDEV plugin has other key shortcuts:

  • Ctr+S - will save current document
  • Ctr+F - will pop up find-replace modal dialog

HRDEV plugin comes with several themes for syntax highlighting, however, you can edit them or add own. To add your own, simply paste file with certain theme name to folder "data/themes" and edit your file. The name of the file is the name of the theme.

For various editor options please take a look at "data/config.ini" and configuration files in "data/themes/*.ini". Files contain comments, so it should not be difficult to understand how to configure editor.

You can toggle line highlight on-off by clicking twice on line number bar.

Other things to know

Plugin may print that there were some Clang parsing errors, but normally that is not of a big concern, usually you can ignore them.

Plugin saves all decompiled files to the "hrdev_cache/MODULE_NAME/*" temporary folder. It is done so you can save changes made to file. Next time when Alt+F5, is pressed, plugin will lookup for file in cache. If you want to discard changes made, simply delete file in "hrdev_cache/MODULE_NAME/*" folder or disable file caching at all by configuring settings: "disable_cache=True".

This is still beta-release, so I am pretty sure you will find some bugs. Don't hesitate to report them.

Plugin was tested on Windows only, however, I believe that there should be no problems on other platforms.

Parsing huge file may take a while.

Examples

This is how usually output looks like:

Decompiler outut

This is how output looks by plugin:

Enhanced View

TODOs and bugs

See TODO.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].