radare/radare2 — pull request #1725 by pwntester (2014-11-23 18:57:14+00:00)
Title: New disasm views for web ui

Finally here!

Some comments about it:

Disclaimer:
Only tested in chrome and firefox and with a x86-64 binary

keyboard shortcuts:
- h,l for moving back and forth in history
- j,k for moving one instruction up or down (note, when mving backwards it will stop at the begining of current function)
- g for going to address
- n for renaming in place
- c for analyzing current offset as function
- d for defining current offset as data (deleting metadata about function)
- enter. when an address is highligted, go to that address

mouse:
click on address, address flag or xref to highlight address (then enter to go to that address or n to rename)

New colors introduced that I think should be added to r2 colors so they are automatically grabed with theme colors:
- ec_jmp_line ; jump line
- ec_cjmp_line ; conditional jump line
- ec_dataoffset ; same as offset but when address describe non executable address
- ec_background ; background color for flat view and basic blocks
- ec_alt_background ; background color for basic block graph
- ec_border ; basic block border color

Problems:
- ecj still not working correctly, so some themes will return colors incorrectly
- agj sends unstructured data, this make syntax higlighting and address identification more difficult and some times incorrect when compared to the flat view. agj should return the instructions within a basic block as pdj does

Todos:
color picker in settings
add console panel as IDA python console
enable the show bytes, show xrefs, show flags ... settings
handle esc key for going back in history or terminate renaming

Screenshot:
http://i.imgur.com/g7CwIad.png