0

エラーにつながるプログラムコンテキストのコールスタックを取得するにはどうすればよいですか (未処理の例外コールスタックではありません)

例えば:

LONG WINAPI myUnhandledException(PEXCEPTION_POINTERS pExceptionPtrs)
{
    //Get the eip when the crash occur 
    DWORD eip = pExceptionPtrs->ContextRecord->Eip;
    //how  to get crash call stack??
    //0x123
    //0x896
    //Eip           
}

int main()
{   //Set the unhandledexceptionfilter
     SetUnhandledExceptionFilter(myUnhandledException);
}
4

1 に答える 1