Commit 7fe500ff authored by Aleksey R.'s avatar Aleksey R.

fix: full memory dump for stack walking

parent 81d68c25
......@@ -32,24 +32,29 @@ public:
{}
}
static std::wstring getDumpsDirName()
{
return L"..\\..\\..\\kdlib\\tests\\dumps\\";
}
static std::wstring getKernelDumpName()
{
return L"..\\..\\..\\kdlib\\tests\\dumps\\win8_x64_mem.cab";
return getDumpsDirName() + L"win8_x64_mem.cab";
}
static std::wstring getARM64KernelDumpName()
{
return L"..\\..\\..\\kdlib\\tests\\dumps\\win10_arm64_mem.cab";
return getDumpsDirName() + L"win10_arm64_mem.cab";
}
static std::wstring getARMKernelDumpName()
{
return L"..\\..\\..\\kdlib\\tests\\dumps\\win10_arm_rpi3_mem.cab";
return getDumpsDirName() + L"win10_arm_rpi3_mem.cab";
}
static std::wstring getWow64UserDumpName()
{
return L"..\\..\\..\\kdlib\\tests\\dumps\\targetapp_stacktest_wow64.cab";
return getDumpsDirName() + L"targetapp_stacktest_wow64.cab";
}
private:
......
#include <stdafx.h>
#include <math.h>
#include "memdumpfixture.h"
#include "eventhandlermock.h"
......@@ -33,6 +31,9 @@ public:
case StackTestMode::Wow64Dump:
m_dumpId = kdlib::loadDump(MemDumpFixture::getWow64UserDumpName());
// path to targetapp.pdb
kdlib::appendSymbolPath(MemDumpFixture::getDumpsDirName());
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment