I usually use objdump to analyze binary files and view the dumped Assembly through Sublime Text. However, the format objdump generated by default is ugly under this syntax highlighting. Considering that quite a few others also use objdump + Sublime, I think it will be valuable to support the highlighting of the Assembly generated by objdump.
By ugly, I mean the address where each instruction resides and the hex value of each instruction have not been highlighted properly. (see below)
The proper way would be to create an objdump grammar that would parse the offset and binary dump parts, and then import this (or some other) assembly highlighter to the end of the line
Motivation
I usually use
objdump
to analyze binary files and view the dumped Assembly through Sublime Text. However, the formatobjdump
generated by default is ugly under this syntax highlighting. Considering that quite a few others also useobjdump
+ Sublime, I think it will be valuable to support the highlighting of the Assembly generated byobjdump
.By ugly, I mean the address where each instruction resides and the hex value of each instruction have not been highlighted properly. (see below)
Possible Modifications
https://github.com/13xforever/x86-assembly-textmate-bundle/blob/f1bb62f77b776d87d0fd85b0276d4237ff72c43c/x86_64%20Assembly.tmbundle/Syntaxes/x86_64%20Assembly.YAML-tmLanguage#L47-L57
Add two lines after line 57:
This would produce the following effect:
Before:
After: