Jump to content
  • Advertisement
Sign in to follow this  
Drew_Benton

Quick Post - Viewing the Stack

This topic is 5100 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I was at a book store the other day, and I say a book that made me grin - it was "Writing Secure Code" by Microsoft. I decided to take a look through it and it was pretty good. They made lots of refrences to not claming your code is not-exploitable, hackable, etc... because people will do it jsut to embarass you (as they learned). Anyways they had this awesome Chapter 3 on Buffer Overflows. I would just had bought that book for the chapter because it was so well written. From it I learned this little trcik to view the current Stack.
printf("%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n%o\n");

I couldn't remember if they use %o or not - but this works for me. Basically the chapter goes over how to buffer exploit and such, very informative for those of you curious. I noticed a post a few days ago on buffer exploits so I decided to make this post to let people know. I think its pretty cool. I never knew how to view the stack other than with debugging tools so this could be quite handy for someone. Thanks for reading this [smile]. - Drew

Share this post


Link to post
Share on other sites
Advertisement
http://www.amazon.com/exec/obidos/tg/detail/-/0735617228/qid=1104430208/sr=8-1/ref=pd_csp_1/102-8887436-7488934?v=glance&s=books&n=507846

is it this one?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!