* this is abnormal, right?
@ 2002-07-16 8:14 jnf
0 siblings, 0 replies; only message in thread
From: jnf @ 2002-07-16 8:14 UTC (permalink / raw)
To: linux-c-programming
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-16 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-16 8:14 this is abnormal, right? jnf
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).