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

Look at BoundsChecker Driver Edition from NuMega (CompuWare).
http://www.numega.com

Regards,

Paul Bunn, UltraBac.com, 425-644-6000 – WE’RE HIRING! Send in your
resume!
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Ajitabh Prakash [mailto:xxxxx@future.futsoft.com]
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.