das-labor / panopticon

A libre cross-platform disassembler.
https://panopticon.re
GNU General Public License v3.0
1.43k stars 80 forks source link

Opcode docs #102

Open lambdafu opened 8 years ago

lambdafu commented 8 years ago

Now that I have to understand all addressing mode and opcodes for my target architecture, I wish I could add some docs to the disassembled instruction that can be shown to the user (hovering or right clicking on instructions).

flanfly commented 8 years ago

Honestly, Panopticon is aimed at people who know the semantics of the ISA. I also doubt that a in-line help is more useful than cross checking the official documentation. The time is better invested in modelling the semantics of opcodes in PIL to aid automatic analysis rather than documenting everything in free text to help w/ "manual" symbolic execution.

eqv commented 8 years ago

We implemented something similar for our concept debugger Schem: https://github.com/hexgolems/schem We have a relatively complete list of opcode alt texts for x86 here: https://github.com/hexgolems/schem/blob/master/controller/lib/x86_instr_desc.txt We simply implemented a hover text for the instructions. I think such a improvement would be quite helpful especially for the lesser known/used instructions. (do you know what scasq, salc or pinsrw does in x86? I have to admit, I don't).