The libdisasm library provides basic disassembly

of Intel x86 instructions from a binary stream. 
The intent is to provide an easy to use disassembler 
which can be called from any application; the disassembly 
can be produced in AT&T syntax and Intel syntax, as 
well as in an intermediate format which includes detailed 
instruction and operand type information.
This commit is contained in:
mjasm 2003-06-14 01:25:06 +00:00
parent 20e9d75ac8
commit e0b14c0d81
4 changed files with 49 additions and 0 deletions

7
libdisasm/DESCR Normal file
View file

@ -0,0 +1,7 @@
The libdisasm library provides basic disassembly
of Intel x86 instructions from a binary stream.
The intent is to provide an easy to use disassembler
which can be called from any application; the disassembly
can be produced in AT&T syntax and Intel syntax, as
well as in an intermediate format which includes detailed
instruction and operand type information.

30
libdisasm/Makefile Normal file
View file

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/06/14 01:25:06 mjasm Exp $
#
DISTNAME= libdisasm-0.17pre2
WRKSRC= ${WRKDIR}/libdisasm_src-0.17
CATEGORIES= wip
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bastard/}
EXTRACT_SUFX= .tgz
MAINTAINER= adam@monkeybyte.org
HOMEPAGE= http://bastard.sourceforge.net/
COMMENT= dissassembly library for ELF x86 binarys
do-build:
cd ${WRKSRC}/src/arch/i386/libdisasm && make
do-install: do-install-dirs do-install-binaries do-install-docs
do-install-dirs:
${INSTALL_DATA_DIR} ${PREFIX}/share/libdisasm
do-install-binaries:
${INSTALL_SCRIPT} ${WRKSRC}/src/arch/i386/libdisasm/quikdis ${PREFIX}/bin; \
${INSTALL_SCRIPT} ${WRKSRC}/src/arch/i386/libdisasm/libdisasm.so ${PREFIX}/lib; \
${INSTALL_SCRIPT} ${WRKSRC}/utils/op-conv.pl ${PREFIX}/bin;
do-install-docs:
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/libdisasm
.include "../../mk/bsd.pkg.mk"

8
libdisasm/PLIST Normal file
View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/14 01:25:06 mjasm Exp $
bin/op-conv.pl
bin/quikdis
lib/libdisasm.so
share/libdisasm/IntCode.txt
share/libdisasm/Perl-Disassembler-HOWTO.txt
share/libdisasm/libdisasm.txt
@dirrm share/libdisasm

4
libdisasm/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2003/06/14 01:25:06 mjasm Exp $
SHA1 (libdisasm-0.17pre2.tgz) = 66f11f7f59ace8f00a55897ded09830ff5a6eee1
Size (libdisasm-0.17pre2.tgz) = 92900 bytes