Skip to content

s3rvac/vim-syntax-retdecdsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetDec Disassembly Syntax For Vim

A Vim syntax-highlighting file for the output from the RetDec's disassembler.

Screenshot

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 ([email protected]) and contributors.

Distributed under the MIT license. See the LICENSE file for more details.

About

RetDec disassembly syntax highlighting for Vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published