ports/52151: New port: elfsh 0.43b - an attractive ELF object file analysis tool

Samy Al Bahra samy at kerneled.com
Tue May 13 08:00:30 UTC 2003


>Number:         52151
>Category:       ports
>Synopsis:       New port: elfsh 0.43b - an attractive ELF object file analysis tool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 01:00:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Kerneled 
>Environment:


System: FreeBSD chucky.freebsd.local 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Sun May  4 19:02:40 AST 2003     samy at chucky.freebsd.local:/usr/obj/usr/src/sys/KERNELED i386  


>Description:


For impatient people, this is a short list for libelfsh's already 
provided features: Mass file view with nice output and cross 
references, unlink/relink the file, modify sections and program 
header parameter fields, hijack GOT, CTORS, DTORS, modify the symbol 
table, inject and remove symbols, inject sections, remove SHT, 
support binaries without symtab, reconstruct the SHT. Look at 
libelfsh-ref.txt for current libelfsh reference. elfsh offers an 
attractive interface to libelfsh.



>How-To-Repeat:





>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       elfsh
#       elfsh/pkg-plist
#       elfsh/pkg-descr
#       elfsh/distinfo
#       elfsh/Makefile
#
echo c - elfsh
mkdir -p elfsh > /dev/null 2>&1
echo x - elfsh/pkg-plist
sed 's/^X//' >elfsh/pkg-plist << 'END-of-elfsh/pkg-plist'
Xbin/elfsh
Xlib/libelfsh.a
Xlib/libelfsh.so
Xinclude/libelfsh-sunos.h
Xinclude/libelfsh.h
END-of-elfsh/pkg-plist
echo x - elfsh/pkg-descr
sed 's/^X//' >elfsh/pkg-descr << 'END-of-elfsh/pkg-descr'
XFor impatient people, this is a short list for libelfsh's already 
Xprovided features: Mass file view with nice output and cross 
Xreferences, unlink/relink the file, modify sections and program 
Xheader parameter fields, hijack GOT, CTORS, DTORS, modify the symbol 
Xtable, inject and remove symbols, inject sections, remove SHT, 
Xsupport binaries without symtab, reconstruct the SHT. Look at 
Xlibelfsh-ref.txt for current libelfsh reference. elfsh offers an 
Xattractive interface to libelfsh.
X
XWWW: http://www.devhell.org/~mayhem/projects/elfsh/
X
X- Samy Al Bahra
Xsamy at kerneled.com
END-of-elfsh/pkg-descr
echo x - elfsh/distinfo
sed 's/^X//' >elfsh/distinfo << 'END-of-elfsh/distinfo'
XMD5 (elfsh_0.43.tgz) = 66b86581b3c9b76c932623caf53bcedc
END-of-elfsh/distinfo
echo x - elfsh/Makefile
sed 's/^X//' >elfsh/Makefile << 'END-of-elfsh/Makefile'
X# New ports collection makefile for: elfsh
X# Date created:        May 02 2003
X# Whom:                Samy Al Bahra <samy at kerneled.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      elfsh
XPORTVERSION=   0.43
XCATEGORIES=    devel
XMASTER_SITES=  http://www.kerneled.com/projects/elfsh/
XDISTNAME=      elfsh_0.43
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    samy at kerneled.com
XCOMMENT=       An attractive toolkit for the analyzation of ELF object files
X
XUSE_GMAKE=     yes
X
X.include <bsd.port.mk>
END-of-elfsh/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list