| 9 | } |
| 10 | |
| 11 | bool 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 | |
| 29 | bool TreeImportExport::importTreeList(std::map<DWORD_PTR, ImportModuleThunk> & moduleList, DWORD_PTR * addressOEP, DWORD_PTR * addressIAT, DWORD * sizeIAT) |
| 30 | { |
no outgoing calls
no test coverage detected