ring3 exception handling process

                                       
 
 

1. Debugger exist
 
  Abnormal -------> debugger does not handle exceptions (ExceptionRecord.dwFirstChance == 1)
      -------> VEH, SEH not handle exceptions (ExceptionFlag == 0 repairable exception)
      -------> debugger does not handle exceptions (ExceptionRecord.dwFirstChance == 0)
      -------> UnhandledExceptionFilter not handle exceptions
      -------> VEH, SEH (ExceptionFlag == 3 stackUnwind)
 
2. When there is no debugger
 
  Abnormal -------> VEH, SEH not handle exceptions (ExceptionFlag == 0 repairable exception)
      -------> UnhandledExceptionFilter not handle exceptions
      -------> VEH, SEH (ExceptionFlag == 3 stackUnwind)
 
 
 
 
 
 
 
 

Guess you like

Origin www.cnblogs.com/DreamoneOnly/p/11245244.html