diff --git a/examples/veinlook.cpp b/examples/veinlook.cpp index 5f94bc9dc..1f6941f4b 100644 --- a/examples/veinlook.cpp +++ b/examples/veinlook.cpp @@ -314,7 +314,10 @@ main(int argc, char *argv[]) pDF = 0; finish(0); } - + + vector classes; + p->getDescriptor()->getClassIDMapping(classes); + // get region geology if(!DF.ReadGeology( layerassign )) { @@ -501,18 +504,23 @@ main(int argc, char *argv[]) } } } - gotoxy(0,52); + gotoxy(0,53); cprintf("%s",stonetypes[veinVector[vein].type].name); } gotoxy(0,51); - cprintf("%s, address 0x%x",className.c_str(),veinVector[vein].address_of); + cprintf("%s, addr 0x%x, vptr 0x%x",className.c_str(),veinVector[vein].address_of, veinVector[vein].vtable); + gotoxy(0,52); + int32_t classID; + if(p->getDescriptor()->resolveClassId(veinVector[vein].address_of,classID)) + { + cprintf("mxml: %s",classes[classID].c_str()); + } } } uint32_t sptr = blockaddr + p->getDescriptor()->getOffset("block_flags"); - - gotoxy (0,53); - cprintf("block address 0x%x",blockaddr); gotoxy (0,54); + cprintf("block address 0x%x",blockaddr); + gotoxy (0,55); cprintf("dirty bit: %d",dirtybit); wrefresh(stdscr); } diff --git a/output/Memory.xml b/output/Memory.xml index 7a951240b..36651a208 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -704,7 +704,10 @@ - + + + +
0x9fc294
0xd457f4
0xd73868
@@ -795,6 +798,10 @@ + + + +
0x9662a4
0xcae368
0xcdc3dc
@@ -859,12 +866,16 @@
0x015FCE3C
- + + + +
0x95f2b4
0xd995a0
0xdc764c
0xdc7628
0x173fde0
+ @@ -1076,7 +1087,6 @@
- 0x24 0x1C 0x28 @@ -1402,6 +1412,10 @@ + + + + .-"""-. ' \ @@ -1625,6 +1639,10 @@ + + + + @@ -1678,7 +1696,10 @@
0x08F41644
0x08F4166C
- + + + +
@@ -2155,6 +2176,10 @@ + + + +