+ match_byte_assert(0);
+ match_u32_assert(0);
+ match_byte_assert(2);
+ match_byte_assert(0);
+ match_byte_assert(1);
+ match_zeros_assert(9);
+ match_u32_assert(1);
+ assert (pos == 0xb0);
+
+ pos += 0x28;
+ match_zeros_assert(5);
+ if (match_u32(8500))
+ match_u32_assert(11000);
+ else
+ {
+ match_u32_assert(11000);
+ match_u32_assert(8500);
+ }
+ pos = 0x105;
+ match_string1_assert("(Continued)");
+ match_byte_assert(1);
+ match_byte_assert(1);
+ match_zeros_assert(3);
+ get_string4(); /* page title */
+ match_byte_assert(1);
+ match_byte_assert(1);
+ match_zeros_assert(3);
+ get_string4(); /* page number */
+ match_byte_assert(0);
+ pos += 2;
+ match_u16_assert(2);
+
+ parse_heading("NavLog");
+ pos = 0x36b;
+ puts(get_padded_string(32));
+ if (!match_u32(80))
+ match_u32_assert(132);
+ match_zeros_assert(8);
+ match_u32_assert(1);
+ printf ("0x%x\n", pos);
+ get_string4();
+ match_byte_assert(0);
+
+ parse_heading("NavHead");
+ match_byte_assert(2);
+ match_zeros_assert(24);
+ match_u32_assert(1);
+ match_u32_assert(0);
+ match_DspSimpleText();
+ match_DspString();
+ match_NavTreeViewItem();
+ match_zeros_assert(3);
+
+ parse_heading("NavTitle");
+ pos += 33;
+ match_DspSimpleText();
+ match_DspString();
+ match_NavTreeViewItem();
+
+ match_byte_assert(1);
+ match_byte_assert(1);
+ match_u32_assert(-19);
+ match_zeros_assert(12);
+ match_byte_assert(0xbc);
+ match_byte_assert(2);
+ match_zeros_assert(9);
+ match_byte_assert(0x22);
+ puts(get_padded_string(32));
+ match_u32_assert(80);
+ match_zeros_assert(8);
+ match_u32_assert(1);
+ get_string4();
+ match_byte_assert(0);
+
+ parse_heading("NavNote");
+ match_byte_assert(2);
+ match_zeros_assert(8);
+ match_u32_assert(24);
+ if (!match_u32(0))
+ match_u32_assert(-40);
+ pos += 8;
+ match_u32_assert(2);
+ match_u32_assert(1);
+ match_DspSimpleText();
+ match_DspString();
+ match_NavTreeViewItem();
+ match_byte_assert(1);
+
+ parse_heading("PTPivotController");
+ match_byte_assert(2);
+ pos += 8;
+ match_u32_assert(100);
+ match_u32_assert(100);
+ match_u32_assert(100);
+ match_u32_assert(100);
+
+ parse_heading("PVPivotView");
+ match_u32_assert(5);
+ match_byte_assert(0);
+
+ parse_heading("PMPivotModel");
+ match_byte_assert(3);
+
+ parse_heading("NDimensional__DspCell");
+ match_byte_assert(0);
+ match_u32_assert(1);
+
+ parse_heading("IndexedCollection");
+ match_byte_assert(0);
+ pos++;
+ match_zeros_assert(3);
+ match_byte_assert(1);
+ match_byte_assert(0);
+
+ while (data[pos] != 1)
+ {
+ if (data[pos] == 0)
+ pos++;
+ else
+ parse_flexible();
+ }
+
+ match_byte_assert(1);
+ match_byte_assert(0);
+ puts(get_string1());
+ if (!match_u32(0))
+ match_u32_assert(2);
+ puts(get_string1());
+
+ match_byte_assert(0);
+ match_byte_assert(1);
+ match_byte_assert(0);
+ match_byte_assert(0);
+ match_byte_assert(0);
+ match_byte_assert(1);
+ match_byte_assert(0);
+
+ exit (0);
+
+ parse_heading("PMPivotItemTree");
+ match_byte_assert(0);
+
+ parse_heading("AbstractTreeBranch");
+ match_byte_assert(0);
+
+ parse_heading("PMModelItemInfo");
+ parse_PMModelItemInfo();
+ match_DspSimpleText();
+ match_DspString();
+
+ match_u32_assert(7);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(6);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(2);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(2);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+ match_PMPivotItemTree();
+
+ match_u32_assert(0);
+
+ /* ...unknown... */
+
+ while (data[pos] != 0xff || data[pos + 1] != 0xff)
+ pos++;
+ parse_heading("PVViewDimension");
+
+ int i;
+ for (i = 0; data[pos + i] != 0xff || data[pos + i + 1] != 0xff; i++)
+ ;
+ hex_dump(stdout, pos, i);