diff --git a/examples/veccheck.cpp b/examples/veccheck.cpp index fd9ae52e5..4951b55ba 100644 --- a/examples/veccheck.cpp +++ b/examples/veccheck.cpp @@ -11,6 +11,7 @@ using namespace std; #include #include #include +#include int main (int numargs, const char ** args) { @@ -28,6 +29,13 @@ int main (int numargs, const char ** args) else { DFHack::Process* p = DF.getProcess(); + DFHack::memory_info* mem = DF.getMemoryInfo(); + const vector * names = mem->getClassIDMapping(); + for(int i = 0; i < names->size();i++) + { + cout << i << " " << names->at(i) << endl; + } + /* #ifdef LINUX_BUILD cout << "start 0x" << hex << p->readDWord(addr+0x0) << endl; cout << "end 0x" << hex << p->readDWord(addr+0x4) << endl; @@ -37,6 +45,7 @@ int main (int numargs, const char ** args) cout << "end 0x" << hex << p->readDWord(addr+0x8) << endl; cout << "cap 0x" << hex << p->readDWord(addr+0xC) << endl; #endif + */ } #ifndef LINUX_BUILD cout << "Done. Press any key to continue" << endl; diff --git a/output/Memory.xml b/output/Memory.xml index e45d4483b..f97e27ad3 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -719,8 +719,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -