RE: [NTDEV] : How to detect a Stack overflow in Drivers

Check out IoGetRemainingStackSize. Used by filesystem drivers.

-----Original Message-----
From: Ajitabh Prakash []
Sent: Tuesday, May 30, 2000 3:39 AM
To: NT Developers Interest List
Subject: [ntdev] [NTDEV] : How to detect a Stack overflow in Drivers

Hi all,
I am using SoftIce to debug my driver NDIS Miniport Driver.I already

encountered a condition in which the stack overflow was occuring and the
softice was showing a “Break due to Page Fault”. Can’t we have some
mechanism in which we can detect a Stack Overflow.

1> Can softice Detect and let the programmer know of stack Over flow?? if
yes How???
2> Is there any kind of preprocessor directive to determine the Stack over
flow conditions.


You are currently subscribed to ntdev as:
To unsubscribe send a blank email to $subst(‘Email.Unsub’)