[PATCH 4/9] tools/winedump/pdb: dump index leaves (TPI)

Eric Pouech eric.pouech at gmail.com
Tue Nov 2 09:31:57 CDT 2021


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 tools/winedump/msc.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index dca8bcf9560..d537764b442 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -789,6 +789,16 @@ static void do_field(const unsigned char* start, const unsigned char* end)
             ptr += 2 + 2 + 4 + 4;
             break;
 
+        case LF_INDEX_V1:
+            printf("\t\tIndex V1: index:%x\n", fieldtype->index_v1.ref);
+            ptr += 2 + 2;
+            break;
+
+        case LF_INDEX_V2:
+            printf("\t\tIndex V2: index:%x\n", fieldtype->index_v2.ref);
+            ptr += 2 + 2 + 4;
+            break;
+
         default:
             printf(">>> Unsupported field-id %x\n", fieldtype->generic.id);
             dump_data((const void*)fieldtype, 0x30, "\t");




More information about the wine-devel mailing list