Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Thu, 1 Nov 2001 12:18:17 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: Is the application a cygwin application? Message-ID: <20011101121817.D30684@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i On Thu, Nov 01, 2001 at 03:00:59PM +1100, Robert Collins wrote: > > >> -----Original Message----- >> From: Christopher Faylor [mailto:cgf AT redhat DOT com] >> Sent: Thursday, November 01, 2001 2:44 PM >> To: cygwin-developers AT cygwin DOT com >> Subject: Is the application a cygwin application? >> >> >> Does anyone know of a really easy, cheap way to scan a .exe header >> and determine if the exe loads cygwin1.dll? > >Know of yes, know how to, no. > >libbfd can tell us if cygwin1.dll is listed in the import table. Thats >all we need to know, and that should be fairly quick. I can't use libbfd code, though. cgf