From: jnf <xjnfx@doityourself.com>
To: linux-c-programming@vger.kernel.org
Subject: this is abnormal, right?
Date: Tue, 16 Jul 2002 01:14:20 -0700 (PDT) [thread overview]
Message-ID: <20020716081420.82CE836F9@sitemail.everyone.net> (raw)
hi, me again- ive got a question, i have this program ive been working on, ive hooked a function it calls (_exit()), so that it sets the stack frame to my liking, and continues execution at what would be the epilogue in main for exit() (addl $0x10, %esp, leave, ret), now sitting past ebp is the address of my liking, which happens to the top (?bottom?) of the stack, or the begining of my code (or what would be my code), currently where control should be handed to (and is) is filled with 0x41's, now shouldnt the program crash here? it keeps chugging along sending my cpu usage to 100% and crashing the box, if i go into gdb and set a breeak point where it starts executing (or beyond [0xbffff5e0 || >]) it gets there, no matter where it is, this is abnormal, right?
_____________________________________________________________
Sign up for FREE email from DoItYourself.com at http://doityourself.com
_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag
reply other threads:[~2002-07-16 8:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020716081420.82CE836F9@sitemail.everyone.net \
--to=xjnfx@doityourself.com \
--cc=linux-c-programming@vger.kernel.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 NNTP newsgroup(s).