From: "Scott Moore" <smoore@powerfile.com>
To: "Holger Eitzenberger" <holger@eitzenberger.org>, <gcc-help@gcc.gnu.org>
Subject: RE: (bad) disassemblie
Date: Mon, 17 Dec 2007 19:02:00 -0000 [thread overview]
Message-ID: <BC0348D2176B4C4EA0CBB50AEFDBD9670D30A0F5@MI8NYCMAIL14.Mi8.com> (raw)
In-Reply-To: <87fxy1lhj4.fsf@kruemel.eitzenberger.org>
Hi list,
while hunting down a strange Linux kernel bug I saw this in the
disassemblie:
<radix_tree_insert>:
...
c01ccf21: 0f 84 bd fe ff ff je c01ccde4 <radix_tree_insert+0x64>
c01ccf27: 0f 0b ud2a
c01ccf29: 1b 01 sbb (%ecx),%eax
c01ccf2b: ab stos %eax,%es:(%edi)
c01ccf2c: 78 31 js c01ccf5f <radix_tree_insert+0x1df>
It's jumping over the data here^^^
c01ccf2e: c0 e9 b0 shr $0xb0,%cl
c01ccf31: fe (bad) # <<< here
c01ccf32: ff (bad)
c01ccf33: ff c6 inc %esi
c01ccf35: 04 0a add $0xa,%al
c01ccf37: 01 e9 add %ebp,%ecx
WRT to the two (bad) opcodes, should I start to worry?
/holger
Looks to me like everything from c01ccf2e to c01ccf5f could be data.
The lesson here is look at the .S assembly files, not your disassembies.
Scott
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004
prev parent reply other threads:[~2007-12-17 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 10:53 Holger Eitzenberger
2007-12-17 12:00 ` Andrew Haley
2007-12-17 14:51 ` Holger Eitzenberger
2007-12-17 15:49 ` Andrew Haley
2007-12-17 19:02 ` Scott Moore [this message]
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=BC0348D2176B4C4EA0CBB50AEFDBD9670D30A0F5@MI8NYCMAIL14.Mi8.com \
--to=smoore@powerfile.com \
--cc=gcc-help@gcc.gnu.org \
--cc=holger@eitzenberger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).