first commit

This commit is contained in:
Maschell
2020-04-28 14:43:07 +02:00
commit 9a4068d15b
66 changed files with 8989 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#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;
}