WUMSLoader/source/module/ModuleData.cpp

11 lines
380 B
C++
Raw Normal View History

2020-04-28 14:43:07 +02:00
#include "ModuleData.h"
#include "utils/StringTools.h"
std::string ModuleData::toString() const {
2020-04-28 14:43:07 +02:00
std::string res = StringTools::strfmt("Entrypoint %08X, bss: %08X (%d), bss: %08X (%d)\n", getEntrypoint(), getBSSAddr(), getBSSSize(), getSBSSAddr(), getSBSSSize());
2021-09-23 18:38:29 +02:00
for (auto const &reloc: relocation_data_list) {
2021-12-07 18:23:18 +01:00
res += reloc->toString();
2020-04-28 14:43:07 +02:00
}
return res;
}