MCPcopy Create free account
hub / github.com/NtQuery/Scylla / exportTreeList

Method exportTreeList

Scylla/TreeImportExport.cpp:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11bool TreeImportExport::exportTreeList(const std::map<DWORD_PTR, ImportModuleThunk> & moduleList, const Process * process, DWORD_PTR addressOEP, DWORD_PTR addressIAT, DWORD sizeIAT)
12{
13 TiXmlDocument doc;
14
15 TiXmlDeclaration * decl = new TiXmlDeclaration("1.0", "", "");
16 doc.LinkEndChild(decl);
17
18 TiXmlElement * rootElement = new TiXmlElement("target");
19
20 setTargetInformation(rootElement, process, addressOEP, addressIAT, sizeIAT);
21
22 addModuleListToRootElement(rootElement, moduleList);
23
24 doc.LinkEndChild(rootElement);
25
26 return saveXmlToFile(doc, xmlPath);
27}
28
29bool TreeImportExport::importTreeList(std::map<DWORD_PTR, ImportModuleThunk> & moduleList, DWORD_PTR * addressOEP, DWORD_PTR * addressIAT, DWORD * sizeIAT)
30{

Callers 1

saveTreeActionHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected