self.process = self.target.LoadCore("fizzbuzz_no_heap.dmp")
self.assertTrue(self.process, PROCESS_IS_VALID)
expected_modules = [
- r"C:\Windows\System32\MSVCP120D.dll",
- r"C:\Windows\SysWOW64\kernel32.dll",
- r"C:\Users\amccarth\Documents\Visual Studio 2013\Projects\fizzbuzz\Debug\fizzbuzz.exe",
- r"C:\Windows\System32\MSVCR120D.dll",
- r"C:\Windows\SysWOW64\KERNELBASE.dll",
- r"C:\Windows\SysWOW64\ntdll.dll",
+ r"C:\Windows\System32/MSVCP120D.dll",
+ r"C:\Windows\SysWOW64/kernel32.dll",
+ r"C:\Users\amccarth\Documents\Visual Studio 2013\Projects\fizzbuzz\Debug/fizzbuzz.exe",
+ r"C:\Windows\System32/MSVCR120D.dll",
+ r"C:\Windows\SysWOW64/KERNELBASE.dll",
+ r"C:\Windows\SysWOW64/ntdll.dll",
]
self.assertEqual(self.target.GetNumModules(), len(expected_modules))
for module, expected in zip(self.target.modules, expected_modules):
m_is_wow64 = true;
}
- const auto file_spec = FileSpec(name.getValue(), true);
+ const auto file_spec =
+ FileSpec(name.getValue(), true, GetArchitecture().GetTriple());
ModuleSpec module_spec = file_spec;
Status error;
lldb::ModuleSP module_sp = GetTarget().GetSharedModule(module_spec, &error);