| 118 | } |
| 119 | |
| 120 | TiXmlElement * TreeImportExport::getModuleXmlElement(const ImportModuleThunk * importModuleThunk) |
| 121 | { |
| 122 | TiXmlElement * moduleElement = new TiXmlElement("module"); |
| 123 | |
| 124 | StringConversion::ToASCII(importModuleThunk->moduleName, xmlStringBuffer, _countof(xmlStringBuffer)); |
| 125 | moduleElement->SetAttribute("filename", xmlStringBuffer); |
| 126 | |
| 127 | ConvertDwordPtrToString(importModuleThunk->getFirstThunk()); |
| 128 | moduleElement->SetAttribute("first_thunk_rva", xmlStringBuffer); |
| 129 | |
| 130 | return moduleElement; |
| 131 | } |
| 132 | |
| 133 | TiXmlElement * TreeImportExport::getImportXmlElement(const ImportThunk * importThunk) |
| 134 | { |
nothing calls this directly
no test coverage detected