트러블슈팅/Windows

call stack walker를 통해서 exception 된 dump의 연계에서 call stack 바로 찍기

TheShield 2022. 8. 1. 02:24
반응형

https://github.com/JochenKalmbach/StackWalker

 

GitHub - JochenKalmbach/StackWalker: Walking the callstack in windows applications

Walking the callstack in windows applications. Contribute to JochenKalmbach/StackWalker development by creating an account on GitHub.

github.com

가끔 긴급할 때에는 exception filter를 통해 덤프를 뜨게 만들었음에도 불구하고

그 덤프를 분석하고 하는 것보다 빠르게 콜스택부터 보고 싶을 때가 있을 것이다. 

 

이럴 때 쓸 수 있는 것이 call stack walkder 인데

내가 생각키에는 exception filter에 넣어놓으면 좋을 듯 하다.

 

추가적으로 detour와 연계하면 쓸만한 메모리, api 추적기가 나온다.

https://github.com/microsoft/Detours/blob/master/samples/tracemem/trcmem.cpp

 

GitHub - microsoft/Detours: Detours is a software package for monitoring and instrumenting API calls on Windows. It is distribu

Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form. - GitHub - microsoft/Detours: Detours is a software package for monitori...

github.com

아 이런 것좀 만들고 놀고 싶은데 너무 시간이 없다. 

 

반응형
댓글수0