Mixed source/assembly syntax (objdump)


Ⅰ. 插件描述

Syntax for Mixed C source and assembly dump.

Ⅱ. 基本信息

创建日期:  2003-01-15
使用用户:  1
Github星:  1
插件作者:  Vihar Rai

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/mixed-source-assembly-syntax-objdump'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/mixed-source-assembly-syntax-objdump'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/mixed-source-assembly-syntax-objdump'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Mixed-sourceassembly-syntax-objdump

Ⅳ. 文档说明

This is a syntax file for mixed C source and assembly dump, disassembled by gnu "objdump" utility. It does not recognize processor instructions so, it can be used on any platform. Here are the commands to generate the mixed disassembly. Make sure the source file is in the same directory as the object file.
gcc -g -c xxx.c                       /output is xxx.o/
objdump -S xxx.o > xxx.dis  / creates disassembly mixed with source /

添加新评论