Exception or error:
I am using RtlCaptureStackBackTrace in my kernel mode driver and trying to get the call trace, but it is capturing zero frames. Code is :
PVOID *stackTrace = NULL; PULONG traceHash = NULL; USHORT capturedFrames = 0; capturedFrames = RtlCaptureStackBackTrace(0, 10, stackTrace, traceHash);
when i check stacktrace, it is NULL.
How to solve: