Search code examples
debuggingassemblyx86ollydbg

How to put ASM source code comments in comment window of OllyDbg?


I have the source code of an assembly language program, which has comments on every line, and I want to see those comments in the comment column of OllyDbg's disassembly as it debugs. Without writing a full blown plugin, is there any way to do this?


Solution

  • After some more experience I found that there are basically 3 approaches:

    1. Modify the .udd files that OllyDbg uses to store comments directly.
    2. Use a label plug (unfortunately the one I found does not work on 2.01)
    3. Create a debug file in a format OllyDbg understands (DWARF I think)

    Since 3 is pretty complex, my best option is probably 1.