Awesome
RetDec Disassembly Syntax For Vim
A Vim syntax-highlighting file for the output from the RetDec's disassembler.
RetDec is an open-source machine-code decompiler. One of its outputs is a disassembled version of the input binary file. This Vim plugin adds syntax highlighting when viewing these disassemblies.
Installation
If you use pathogen, simply go into
the bundle
directory and clone the repository in there:
cd ~/.vim/bundle
git clone https://github.com/s3rvac/vim-syntax-retdecdsm.git
You can also install the plugin manually by copying the
syntax/retdecdsm.vim
file to your ~/.vim/syntax
directory. If that directory does not exist,
create it.
Usage
When you open a RetDec's disassembly in Vim, execute
:set ft=retdecdsm
to enable syntax highlighting. Alternatively, you can put
the following autocommand to your .vimrc
:
" Consider *.dsm files as files containing disassembly from RetDec.
autocmd BufNewFile,BufRead *.dsm set filetype=retdecdsm
License
Copyright (c) 2016 Petr Zemek (s3rvac@petrzemek.net) and contributors.
Distributed under the MIT license. See the
LICENSE
file for more details.