Commentator is a IDA Pro plugin for annotating decompiler output with the function prototype of the winapi function just so its easier to focus.
-
From your disassembler's python console, run the following command to find its plugin directory:
- IDA Pro:
os.path.join(idaapi.get_user_idadir(), "plugins")
- IDA Pro:
-
Copy
commentator.py
andcommentator.db
to the listed directory -
Restart IDA.
This plugin assumes you have python3
Put the cursor to the function call which you want to annotation for and press Ctrl-Alt-S
, every call for that
function in that idb is annotated
note: these screenshots are from the other branch
- Add scripts and steps to generate
commentator.db
by parsing local documentation from msdn - Fix stuff in the
blkcmnt
branch and merge it to main