From 13c856e2fa600ff03497f0d8f247ded4d2cfb4c6 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 30 Apr 2010 11:54:08 +0200 Subject: [PATCH] decoration quality is displayed --- examples/dfitemdump.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/dfitemdump.cpp b/examples/dfitemdump.cpp index 685ca7eae..125e71178 100644 --- a/examples/dfitemdump.cpp +++ b/examples/dfitemdump.cpp @@ -104,13 +104,14 @@ int main () uint32_t dtypefunc = p->readDWord(dvtable + 20); uint64_t dtypefunct = p->readQuad(dtypefunc); uint32_t dtype = 0; + uint32_t dqual = p->readWord(decoration + 20); if( (dtypefunct&0xFFFFFFFFFFFF00FFLL) == 0xCCCCC300000000B8LL) dtype = (dtypefunct>>8)&0xfffffff; else printf("bad decoration type function, address=%p\n", (void*) dtypefunc); if(sep) printf(","); - printf("%s[%d]", ddesc.c_str(), dtype); + printf("%s[t=%d,q=%d]", ddesc.c_str(), dtype, dqual); sep = true; } }