Commit b92e0fbc authored by ussrhero's avatar ussrhero

Merge branch 'dev-1.0' of https://githomelab.ru/kdlibcpp/kdlibcpp into dev-1.0

parents 1d387e77 568b600c
......@@ -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