Stack Overflow Detection



Hello all,

I'm thinking about implementing the above in a system I'm working on, does
anyone have a good strategy for doing this?
One possibility is having an area of RAM (beyond the stack "area") filled
with known data, if any of that data gets trashed then assume the stack has
overflowed. What are the pros and cons of this?
Another idea is to actually watch the SP, but one drawback is if I check
this at a predefined point in the code, then it's possible the worst case
scenario will occur between checks?
Any better ideas?

Regards,
Richard.


.



Relevant Pages

  • Re: Stack Overflow Detection
    ... One possibility is having an area of RAM (beyond the stack "area") filled ... Another idea is to actually watch the SP, but one drawback is if I check ... scenario will occur between checks? ...
    (comp.arch.embedded)
  • Re: Tournament chip equity Theory
    ... Your equity in a tournament is a function of the ratios of your chips to ... Scenario 1 ... You have position on the monster stack, ...
    (rec.gambling.poker)
  • Re: Tournament chip equity Theory
    ... that chips you win are worth more than chips you lose, ... Scenario 1 ... You have position on the monster stack, ... it a big all in) is to figure out how it effects your prize pool equity. ...
    (rec.gambling.poker)
  • Re: KEEPING THE BUBBLER IN THE GAME ?
    ... On Aug 6 2009 9:30 AM, Raider Fan wrote: ... Please use a scenario of say 5-6-7 player left ..go from there ... If you are the big stack and have the shorty to your ... people are folding because they want to make the bubble ..when this ...
    (rec.gambling.poker)
  • Re: prefix to infix conversion
    ... Thank you Richard you suggested recursive solution can it possible to ... can any help me in converting prefix to infix using Stack in c I know ... write an opening parenthesis to stream ...
    (comp.lang.c)