2007-06-05

objdasm.vim

(objdump syntax highlighting)

8049b5a:   f2 ae                   repnz scas %es:(%edi),%l
8049b5c: 89 c8 mov %ecx,%eax
8049b5e: f7 d0 not %eax
**8049b60: 48 dec %eax ; two *'s will highlight whatver
8049b61: 83 f8 20 cmp $0x20,%eax
8049b64: 74 0a je 8049b70 <__gmon_start__@plt+0xcd0>
8049b66: e8 50 fc ff ff call 80497bb <__gmon_start__@plt+0x91b>
8049b6b: e9 f3 01 00 00 jmp 8049d63 <__gmon_start__@plt+0xec3>
8049b70: 8b 45 cc mov 0xffffffcc(%ebp),%eax
8049b73: 40 inc %eax
8049b74: 0f b6 00 movzbl (%eax),%eax
8049b77: 0f be c0 movsbl %al,%eax
8049b7a: 89 44 24 08 mov %eax,0x8(%esp)
8049b7e: c7 44 24 04 1a a9 04 movl $0x804a91a,0x4(%esp)

$HOME/.vim/filetype.vim
$HOME/.vim/syntax/objdasm.vim
You will need to name the objdump -D output [something].objd

No comments: