mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-06 00:05:07 +01:00
13 lines
417 B
C++
13 lines
417 B
C++
|
#include "ModuleData.h"
|
||
|
#include "utils/StringTools.h"
|
||
|
|
||
|
std::string ModuleData::toString() {
|
||
|
std::string res = StringTools::strfmt("Entrypoint %08X, bss: %08X (%d), bss: %08X (%d)\n", getEntrypoint(), getBSSAddr(), getBSSSize(), getSBSSAddr(), getSBSSSize());
|
||
|
for (auto const& reloc : relocation_data_list) {
|
||
|
if(reloc != NULL) {
|
||
|
res += reloc->toString();
|
||
|
}
|
||
|
}
|
||
|
return res;
|
||
|
}
|