From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31596 invoked by alias); 17 Jul 2006 20:56:45 -0000 Received: (qmail 31587 invoked by uid 22791); 17 Jul 2006 20:56:44 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.clear.net.nz (HELO smtp1.clear.net.nz) (203.97.33.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Jul 2006 20:56:42 +0000 Received: from anykey (218-101-109-34.dialup.clear.net.nz [218.101.109.34]) by smtp1.clear.net.nz (CLEAR Net Mail) with ESMTP id <0J2K00MMZFGQ32@smtp1.clear.net.nz> for binutils@sourceware.org; Tue, 18 Jul 2006 08:55:40 +1200 (NZST) Date: Mon, 17 Jul 2006 20:56:00 -0000 From: Danny Smith Subject: RE: Retrieving exported symbols from a dll In-reply-to: <44BB925E.1070206@hccnet.nl> To: 'Erik Leunissen' , binutils@sourceware.org Message-id: <000001c6a9e3$62b6df20$226d65da@anykey> MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00213.txt.bz2 > From Erik Leunissen > Sent: Tuesday, July 18, 2006 1:37 AM > > I want a list of symbols that are exported from a dll > (pei-i386 format). > My first inclination was to look for an option to dlltool or objdump > that is specifically aimed for that purpose, but did not find it. > > Therefore, I tend to revert to doing "objdump -x foo.dll" and > scan the > output using a home grown recipe. However, that is not nearly as > straightforward as what I was looking for. > There is a program called pedump, source published here: http://msdn.microsoft.com/msdnmag/issues/02/03/PE2/ that does the trick. There are mingw32-built win32 binaries of above availiable on net via a Google search. Even if you don't want the code, Matt Pietrekk's article is worth a read anyway if you are interested in PE format. Danny