关于STATUS_STACK_OVERFLOW异常

简介

STATUS_STACK_OVERFLOW---无法为堆栈创建新的保护页。通常情况下就是线程栈爆掉了。一般是发生了无穷递归或栈里用过大的内存导致。其值0xC00000FD。定义如下:

//
// MessageId: STATUS_STACK_OVERFLOW
//
// MessageText:
//
// A new guard page for the stack cannot be created.
//
#define STATUS_STACK_OVERFLOW            ((NTSTATUS)0xC00000FDL)    // winnt

异常结构信息

ExceptionAddress: 00e83b29 (ConsoleApplication1!sss+0x00000009)
   ExceptionCode: c00000fd (Stack overflow)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000001
   Parameter[1]: 000d2f54---导致异常的指令修改后的ESP寄存器的值

 

posted on 2023-02-03 14:53  活着的虫子  阅读(2193)  评论(0编辑  收藏  举报

导航