From Collaborative RCE Tool Library

Jump to: navigation, search


Tool name: opdis
Rating: 0.0 (0 votes)
Author: mkfs                        
Current version: 1.0.1
Last updated: April 19, 2010
Direct D/L link:
License type: GPL
Description: Opdis is a wrapper for the libopcodes disassembler library distributed as part of GNU binutils. It extends the libopcodes library by offering linear and control-flow disassembly algorithms, instruction and operand objects that are suitable for analysis, and a command-line utility to perform disassembly on arbitrary locations in a file.

The Opdis project consists of the libopdis library and the opdis command-line utility.
Related URLs:
Opdis man page:
Libopdis API documentation:

RSS feed Feed containing all updates for this tool.

Here below you will find useful notes about this tool, left by other users.

You are welcome to add your own useful notes here, or edit any existing notes to improve or extend them.

opdis cli utility

The most interesting component of the Opdis project is libopdis, a library that wraps libopcodes and generally makes it usable.

The opdis command line utility is not a full-featured disassembler; it is only used to disassemble bytes at a specific location in the file, or passed in as a hex string.

Examples (from the manpage):

linear disassembly of 1024 bytes starting at offset 0x100:

opdis -l :0x100+1024 a.out

control-flow disassembly starting at offset 0x200:

opdis -s intel -c :0x200 a.out

disassemble some shellcode bytes:

opdis -b '31 c0 bb 08 84 04 08 53 89 e1 31 d2 b0 0b cd 80 00 00'

Ruby gem

There is a gem for Opdis now on Rubyforge:

If you find that any information for the tool above is missing, outdated or incorrect, please edit it!
(please also edit it if you think it fits well in some additional category, since this can also be controlled)

Category Navigation Tree
   Code Coverage Tools  (13)
   Code Ripping Tools  (2)
   Helper Tools  (3)
   Hex Editors  (13)
   Memory Patchers  (7)
   Packers  (20)
   Profiler Tools  (11)
   String Finders  (10)
   Tool Hiding Tools  (7)
   Tracers  (23)
   Needs New Category  (3)