Skip to content

patois/genmc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

fix bug: preserve existing mba flags
f6f85d2

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jun 22, 2019
Nov 13, 2022

genmc - Display Hex-Rays Microcode

genmc is an IDAPython script/plugin hybrid that displays Hexrays decompiler microcode, which can help in developing microcode plugins.

genmc animated gif

Installation / Usage

By running the code as a script within IDA, a Python shell command becomes available which, after typing "install_plugin()", copies the script to $HOME/.idapro/plugins or %APPDATA%Hex-Rays/IDA Pro/plugins.

With the script installed into the plugins folder, it can be invoked from the plugins menu or by using the hotkey 'Ctrl-Shift-M'.

IDA and decompilers >= 7.3 are required.

This IDAPython project is compatible with Python3. For compatibility with older versions of IDA, you may want to check out the Python2 branch of this project.

Keyboard shortcuts/modifiers:

With the microcode viewer focussed:

  • 'g': display microcode graph
  • 'i': display graph for current micro-instruction
  • 'Shift': holding this modifier will create floating graph widgets (instead of using the default docking behavior)

Credits:

Please consider using Lucid - An Interactive Hex-Rays Microcode Explorer, instead!