From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FI6HR-00088V-65 for qemu-devel@nongnu.org; Sat, 11 Mar 2006 10:45:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FI6HP-00085O-5y for qemu-devel@nongnu.org; Sat, 11 Mar 2006 10:45:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI6HO-00085B-O9 for qemu-devel@nongnu.org; Sat, 11 Mar 2006 10:45:18 -0500 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FI6Kw-0005pt-1U for qemu-devel@nongnu.org; Sat, 11 Mar 2006 10:48:58 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] reduce magic numbers length to 16 bytes (qemu-binfmt-conf.sh) Date: Sat, 11 Mar 2006 15:45:12 +0000 References: <5b5833aa0603101858t5ebe6f7i667175ef8e966085@mail.gmail.com> <5b5833aa0603110737k32511e6dy87402e1de5f5c4d5@mail.gmail.com> In-Reply-To: <5b5833aa0603110737k32511e6dy87402e1de5f5c4d5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603111545.13827.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > To not make this thread completely useless: I find > /usr/share/misc/file/magic very useful to get machine patterns (as > detected by "file"). Search there for "magic for ELF executables" and > you will find a fairly complete list of machine magic numbers. Or you could just use the official list in the gABI spec: http://www.thescogroup.com/developers/gabi/latest/ch4.eheader.html Paul