ThoughtGang / opdis

libopcodes-based disassembler
GNU General Public License v2.0
35 stars 10 forks source link
                              O P D I S
                 libopcodes-based disassembler library

NOTES:

BUILD

This repository contains source for the following binaries:

libopdis : shared/static library for performing disassembly
opdis : command-line disassembler

To build binaries from the source package:

./configure
make

To build the source package for distribution (from the Git repo):

./bootstrap
./configure
make doxygen
make dist

To build the configure script from the Git repo (without using bootstrap):

libtoolize --force --copy; aclocal; automake --add-missing --copy; autoconf

SPECIAL BUILD TARGETS

# Install opdis, libopdis, and man pages
make install

# Build and run test programs
make check

# Make source tarball for distribution
make dist

# Make doxygen documentation in doc/api
make doxygen

OS X BUILD NOTES

See README.OSX .

LIBRARY-ONLY BUILD

To build only the libopdis library, and not the opdis command-line utility, pass the --disable-cli option to configure;

./bootstrap
./configure --disable-cli
make
make install

MISC

To run from the local directory:

libtool execute opdis

To debug from the local directory:

libtool execute gdb opdis

To run test utilities from the local directory: libtool execute test/tree_test