From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] reduce magic numbers length to 16 bytes (qemu-binfmt-conf.sh)
Date: Sat, 11 Mar 2006 14:23:11 +0000 [thread overview]
Message-ID: <200603111423.20268.paul@codesourcery.com> (raw)
In-Reply-To: <5b5833aa0603101858t5ebe6f7i667175ef8e966085@mail.gmail.com>
On Saturday 11 March 2006 02:58, Anderson Lizardo wrote:
> Hi,
>
> Any reason why the magic numbers from qemu-binfmt-conf.sh are not just
> 16 bytes long as those reported by "readelf --file-header"?
The first 16 bytes only tell you it's an ELF executable. ie. you've just
removed the bits that tell you whether it's e.g an arm or a ppc executable.
You'll notice that after your patch all the be/le pattern matches are
identical, which is obviously not going to work.
Paul
next prev parent reply other threads:[~2006-03-11 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-11 2:58 [Qemu-devel] [PATCH] reduce magic numbers length to 16 bytes (qemu-binfmt-conf.sh) Anderson Lizardo
2006-03-11 14:23 ` Paul Brook [this message]
2006-03-11 14:51 ` Andreas Schwab
2006-03-11 15:37 ` Anderson Lizardo
2006-03-11 15:45 ` Paul Brook
2006-03-12 19:43 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200603111423.20268.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.