Lines Matching refs:file
1253 FILE *file = (FILE *) vfile; in pe_print_idata() local
1298 fprintf (file, in pe_print_idata()
1304 fprintf (file, in pe_print_idata()
1311 fprintf (file, _("\nThere is an import table in %s at 0x%lx\n"), in pe_print_idata()
1352 fprintf (file, in pe_print_idata()
1355 fprintf (file, in pe_print_idata()
1363 fprintf (file, in pe_print_idata()
1368 fprintf (file, in pe_print_idata()
1371 fprintf (file, in pe_print_idata()
1399 fprintf (file, " %08lx\t", (unsigned long) (i + adj)); in pe_print_idata()
1406 fprintf (file, "%08lx %08lx %08lx %08lx %08lx\n", in pe_print_idata()
1422 fprintf (file, _("\n\tDLL Name: %.*s\n"), (int) maxlen, dll); in pe_print_idata()
1433 fprintf (file, _("\tvma: Hint/Ord Member-Name Bound-To\n")); in pe_print_idata()
1457 fprintf (file, in pe_print_idata()
1497 fprintf (file, "\t%lx%08lx\t %4lx%08lx <none>", in pe_print_idata()
1502 fprintf (file, _("\t<corrupt: 0x%04lx>"), member); in pe_print_idata()
1510 fprintf (file, "\t%04lx\t %4d %.*s",member, ordinal, in pe_print_idata()
1520 fprintf (file, "\t%04lx", in pe_print_idata()
1522 fprintf (file, "\n"); in pe_print_idata()
1536 fprintf (file, "\t%04lx\t %4lu <none>", in pe_print_idata()
1540 fprintf (file, _("\t<corrupt: 0x%04lx>"), member); in pe_print_idata()
1548 fprintf (file, "\t%04lx\t %4d %.*s", in pe_print_idata()
1559 fprintf (file, "\t%04lx", in pe_print_idata()
1562 fprintf (file, "\n"); in pe_print_idata()
1569 fprintf (file, "\n"); in pe_print_idata()
1580 FILE *file = (FILE *) vfile; in pe_print_edata() local
1632 fprintf (file, in pe_print_edata()
1638 fprintf (file, in pe_print_edata()
1648 fprintf (file, in pe_print_edata()
1658 fprintf (file, in pe_print_edata()
1664 fprintf (file, _("\nThere is an export table in %s at 0x%lx\n"), in pe_print_edata()
1691 fprintf (file, in pe_print_edata()
1695 fprintf (file, in pe_print_edata()
1698 fprintf (file, in pe_print_edata()
1701 fprintf (file, in pe_print_edata()
1704 fprintf (file, in pe_print_edata()
1706 bfd_fprintf_vma (abfd, file, edt.name); in pe_print_edata()
1709 fprintf (file, " %.*s\n", in pe_print_edata()
1713 fprintf (file, "(outside .edata section)\n"); in pe_print_edata()
1715 fprintf (file, in pe_print_edata()
1718 fprintf (file, in pe_print_edata()
1721 fprintf (file, in pe_print_edata()
1725 fprintf (file, in pe_print_edata()
1728 fprintf (file, in pe_print_edata()
1731 fprintf (file, in pe_print_edata()
1733 bfd_fprintf_vma (abfd, file, edt.eat_addr); in pe_print_edata()
1734 fprintf (file, "\n"); in pe_print_edata()
1736 fprintf (file, in pe_print_edata()
1738 bfd_fprintf_vma (abfd, file, edt.npt_addr); in pe_print_edata()
1739 fprintf (file, "\n"); in pe_print_edata()
1741 fprintf (file, in pe_print_edata()
1743 bfd_fprintf_vma (abfd, file, edt.ot_addr); in pe_print_edata()
1744 fprintf (file, "\n"); in pe_print_edata()
1755 fprintf (file, in pe_print_edata()
1763 fprintf (file, _("\tInvalid Export Address Table rva (0x%lx) or entry count (0x%lx)\n"), in pe_print_edata()
1777 fprintf (file, in pe_print_edata()
1789 fprintf (file, in pe_print_edata()
1800 fprintf (file, in pe_print_edata()
1806 fprintf (file, _("\tInvalid Name Pointer Table rva (0x%lx) or entry count (0x%lx)\n"), in pe_print_edata()
1812 fprintf (file, _("\tInvalid Ordinal Table rva (0x%lx) or entry count (0x%lx)\n"), in pe_print_edata()
1825 fprintf (file, _("\t[%4ld] <corrupt offset: %lx>\n"), in pe_print_edata()
1832 fprintf (file, "\t[%4ld] %.*s\n", (long) ord, in pe_print_edata()
1862 FILE *file = (FILE *) vfile; in pe_print_pdata() local
1877 fprintf (file, in pe_print_pdata()
1881 fprintf (file, in pe_print_pdata()
1884 fprintf (file, in pe_print_pdata()
1887 fprintf (file, _("\ in pe_print_pdata()
1936 fputc (' ', file); in pe_print_pdata()
1937 bfd_fprintf_vma (abfd, file, i + section->vma); fputc ('\t', file); in pe_print_pdata()
1938 bfd_fprintf_vma (abfd, file, begin_addr); fputc (' ', file); in pe_print_pdata()
1939 bfd_fprintf_vma (abfd, file, end_addr); fputc (' ', file); in pe_print_pdata()
1940 bfd_fprintf_vma (abfd, file, eh_handler); in pe_print_pdata()
1942 fputc (' ', file); in pe_print_pdata()
1943 bfd_fprintf_vma (abfd, file, eh_data); fputc (' ', file); in pe_print_pdata()
1944 bfd_fprintf_vma (abfd, file, prolog_end_addr); in pe_print_pdata()
1945 fprintf (file, " %x", em_data); in pe_print_pdata()
1961 fprintf (file, _(" Register save millicode")); in pe_print_pdata()
1964 fprintf (file, _(" Register restore millicode")); in pe_print_pdata()
1967 fprintf (file, _(" Glue code sequence")); in pe_print_pdata()
1974 fprintf (file, "\n"); in pe_print_pdata()
2044 FILE *file = (FILE *) vfile; in _bfd_XX_print_ce_compressed_pdata() local
2060 fprintf (file, in _bfd_XX_print_ce_compressed_pdata()
2064 fprintf (file, in _bfd_XX_print_ce_compressed_pdata()
2067 fprintf (file, _("\ in _bfd_XX_print_ce_compressed_pdata()
2107 fputc (' ', file); in _bfd_XX_print_ce_compressed_pdata()
2108 bfd_fprintf_vma (abfd, file, i + section->vma); fputc ('\t', file); in _bfd_XX_print_ce_compressed_pdata()
2109 bfd_fprintf_vma (abfd, file, begin_addr); fputc (' ', file); in _bfd_XX_print_ce_compressed_pdata()
2110 bfd_fprintf_vma (abfd, file, prolog_length); fputc (' ', file); in _bfd_XX_print_ce_compressed_pdata()
2111 bfd_fprintf_vma (abfd, file, function_length); fputc (' ', file); in _bfd_XX_print_ce_compressed_pdata()
2112 fprintf (file, "%2d %2d ", flag32bit, exception_flag); in _bfd_XX_print_ce_compressed_pdata()
2133 fprintf (file, "%08x ", (unsigned int) eh); in _bfd_XX_print_ce_compressed_pdata()
2134 fprintf (file, "%08x", (unsigned int) eh_data); in _bfd_XX_print_ce_compressed_pdata()
2140 fprintf (file, " (%s) ", s); in _bfd_XX_print_ce_compressed_pdata()
2147 fprintf (file, "\n"); in _bfd_XX_print_ce_compressed_pdata()
2180 FILE *file = (FILE *) vfile; in pe_print_reloc() local
2188 fprintf (file, in pe_print_reloc()
2217 fprintf (file, in pe_print_reloc()
2234 fprintf (file, in pe_print_reloc()
2245 fprintf (file, " (%4x)", (unsigned int) bfd_get_16 (abfd, p)); in pe_print_reloc()
2250 fprintf (file, "\n"); in pe_print_reloc()
2281 rsrc_print_resource_entries (FILE * file, in rsrc_print_resource_entries() argument
2294 fprintf (file, _("%03x %*.s Entry: "), (int)(data - regions->section_start), indent, " "); in rsrc_print_resource_entries()
2318 fprintf (file, _("name: [val: %08lx len %d]: "), entry, len); in rsrc_print_resource_entries()
2331 fprintf (file, "^%c", c + 64); in rsrc_print_resource_entries()
2333 fprintf (file, "%.1s", name); in rsrc_print_resource_entries()
2338 fprintf (file, _("<corrupt string length: %#x>\n"), len); in rsrc_print_resource_entries()
2348 fprintf (file, _("<corrupt string offset: %#lx>\n"), entry); in rsrc_print_resource_entries()
2353 fprintf (file, _("ID: %#08lx"), entry); in rsrc_print_resource_entries()
2356 fprintf (file, _(", Value: %#08lx\n"), entry); in rsrc_print_resource_entries()
2366 return rsrc_print_resource_directory (file, abfd, indent + 1, data, in rsrc_print_resource_entries()
2373 fprintf (file, _("%03x %*.s Leaf: Addr: %#08lx, Size: %#08lx, Codepage: %d\n"), in rsrc_print_resource_entries()
2396 rsrc_print_resource_directory (FILE * file, in rsrc_print_resource_directory() argument
2409 fprintf (file, "%03x %*.s ", (int)(data - regions->section_start), indent, " "); in rsrc_print_resource_directory()
2412 case 0: fprintf (file, "Type"); break; in rsrc_print_resource_directory()
2413 case 2: fprintf (file, "Name"); break; in rsrc_print_resource_directory()
2414 case 4: fprintf (file, "Language"); break; in rsrc_print_resource_directory()
2416 fprintf (file, _("<unknown directory type: %d>\n"), indent); in rsrc_print_resource_directory()
2423 fprintf (file, _(" Table: Char: %d, Time: %08lx, Ver: %d/%d, Num Names: %d, IDs: %d\n"), in rsrc_print_resource_directory()
2436 entry_end = rsrc_print_resource_entries (file, abfd, indent + 1, TRUE, in rsrc_print_resource_directory()
2448 entry_end = rsrc_print_resource_entries (file, abfd, indent + 1, FALSE, in rsrc_print_resource_directory()
2468 FILE * file = (FILE *) vfile; in rsrc_print_section() local
2502 fflush (file); in rsrc_print_section()
2503 fprintf (file, "\nThe .rsrc Resource Directory section:\n"); in rsrc_print_section()
2509 data = rsrc_print_resource_directory (file, abfd, 0, data, & regions, rva_bias); in rsrc_print_section()
2512 fprintf (file, _("Corrupt .rsrc section detected!\n")); in rsrc_print_section()
2536 fprintf (file, _("\nWARNING: Extra data in .rsrc section - it will be ignored by Windows:\n")); in rsrc_print_section()
2542 fprintf (file, " String table starts at offset: %#03x\n", in rsrc_print_section()
2545 fprintf (file, " Resources start at offset: %#03x\n", in rsrc_print_section()
2573 FILE *file = (FILE *) vfile; in pe_print_debugdata() local
2596 fprintf (file, in pe_print_debugdata()
2602 fprintf (file, in pe_print_debugdata()
2609 fprintf (file, in pe_print_debugdata()
2615 fprintf (file, _("\nThere is a debug directory in %s at 0x%lx\n\n"), in pe_print_debugdata()
2622 … fprintf (file, _("The debug data size field in the data directory is too big for the section")); in pe_print_debugdata()
2626 fprintf (file, in pe_print_debugdata()
2651 fprintf (file, " %2ld %14s %08lx %08lx %08lx\n", in pe_print_debugdata()
2670 fprintf (file, "(format %c%c%c%c signature %s age %ld)\n", in pe_print_debugdata()
2677 fprintf (file, in pe_print_debugdata()
2688 FILE *file = (FILE *) vfile; in _bfd_XX_print_private_bfd_data_common() local
2698 fprintf (file, _("\nCharacteristics 0x%x\n"), pe->real_flags); in _bfd_XX_print_private_bfd_data_common()
2700 #define PF(x, y) if (pe->real_flags & x) { fprintf (file, "\t%s\n", y); } in _bfd_XX_print_private_bfd_data_common()
2717 fprintf (file, "\nTime/Date\t\t%s", ctime (&t)); in _bfd_XX_print_private_bfd_data_common()
2745 fprintf (file, "Magic\t\t\t%04x", i->Magic); in _bfd_XX_print_private_bfd_data_common()
2747 fprintf (file, "\t(%s)",name); in _bfd_XX_print_private_bfd_data_common()
2748 fprintf (file, "\nMajorLinkerVersion\t%d\n", i->MajorLinkerVersion); in _bfd_XX_print_private_bfd_data_common()
2749 fprintf (file, "MinorLinkerVersion\t%d\n", i->MinorLinkerVersion); in _bfd_XX_print_private_bfd_data_common()
2750 fprintf (file, "SizeOfCode\t\t%08lx\n", (unsigned long) i->SizeOfCode); in _bfd_XX_print_private_bfd_data_common()
2751 fprintf (file, "SizeOfInitializedData\t%08lx\n", in _bfd_XX_print_private_bfd_data_common()
2753 fprintf (file, "SizeOfUninitializedData\t%08lx\n", in _bfd_XX_print_private_bfd_data_common()
2755 fprintf (file, "AddressOfEntryPoint\t"); in _bfd_XX_print_private_bfd_data_common()
2756 bfd_fprintf_vma (abfd, file, i->AddressOfEntryPoint); in _bfd_XX_print_private_bfd_data_common()
2757 fprintf (file, "\nBaseOfCode\t\t"); in _bfd_XX_print_private_bfd_data_common()
2758 bfd_fprintf_vma (abfd, file, i->BaseOfCode); in _bfd_XX_print_private_bfd_data_common()
2761 fprintf (file, "\nBaseOfData\t\t"); in _bfd_XX_print_private_bfd_data_common()
2762 bfd_fprintf_vma (abfd, file, i->BaseOfData); in _bfd_XX_print_private_bfd_data_common()
2765 fprintf (file, "\nImageBase\t\t"); in _bfd_XX_print_private_bfd_data_common()
2766 bfd_fprintf_vma (abfd, file, i->ImageBase); in _bfd_XX_print_private_bfd_data_common()
2767 fprintf (file, "\nSectionAlignment\t"); in _bfd_XX_print_private_bfd_data_common()
2768 bfd_fprintf_vma (abfd, file, i->SectionAlignment); in _bfd_XX_print_private_bfd_data_common()
2769 fprintf (file, "\nFileAlignment\t\t"); in _bfd_XX_print_private_bfd_data_common()
2770 bfd_fprintf_vma (abfd, file, i->FileAlignment); in _bfd_XX_print_private_bfd_data_common()
2771 fprintf (file, "\nMajorOSystemVersion\t%d\n", i->MajorOperatingSystemVersion); in _bfd_XX_print_private_bfd_data_common()
2772 fprintf (file, "MinorOSystemVersion\t%d\n", i->MinorOperatingSystemVersion); in _bfd_XX_print_private_bfd_data_common()
2773 fprintf (file, "MajorImageVersion\t%d\n", i->MajorImageVersion); in _bfd_XX_print_private_bfd_data_common()
2774 fprintf (file, "MinorImageVersion\t%d\n", i->MinorImageVersion); in _bfd_XX_print_private_bfd_data_common()
2775 fprintf (file, "MajorSubsystemVersion\t%d\n", i->MajorSubsystemVersion); in _bfd_XX_print_private_bfd_data_common()
2776 fprintf (file, "MinorSubsystemVersion\t%d\n", i->MinorSubsystemVersion); in _bfd_XX_print_private_bfd_data_common()
2777 fprintf (file, "Win32Version\t\t%08lx\n", (unsigned long) i->Reserved1); in _bfd_XX_print_private_bfd_data_common()
2778 fprintf (file, "SizeOfImage\t\t%08lx\n", (unsigned long) i->SizeOfImage); in _bfd_XX_print_private_bfd_data_common()
2779 fprintf (file, "SizeOfHeaders\t\t%08lx\n", (unsigned long) i->SizeOfHeaders); in _bfd_XX_print_private_bfd_data_common()
2780 fprintf (file, "CheckSum\t\t%08lx\n", (unsigned long) i->CheckSum); in _bfd_XX_print_private_bfd_data_common()
2824 fprintf (file, "Subsystem\t\t%08x", i->Subsystem); in _bfd_XX_print_private_bfd_data_common()
2826 fprintf (file, "\t(%s)", subsystem_name); in _bfd_XX_print_private_bfd_data_common()
2827 fprintf (file, "\nDllCharacteristics\t%08x\n", i->DllCharacteristics); in _bfd_XX_print_private_bfd_data_common()
2828 fprintf (file, "SizeOfStackReserve\t"); in _bfd_XX_print_private_bfd_data_common()
2829 bfd_fprintf_vma (abfd, file, i->SizeOfStackReserve); in _bfd_XX_print_private_bfd_data_common()
2830 fprintf (file, "\nSizeOfStackCommit\t"); in _bfd_XX_print_private_bfd_data_common()
2831 bfd_fprintf_vma (abfd, file, i->SizeOfStackCommit); in _bfd_XX_print_private_bfd_data_common()
2832 fprintf (file, "\nSizeOfHeapReserve\t"); in _bfd_XX_print_private_bfd_data_common()
2833 bfd_fprintf_vma (abfd, file, i->SizeOfHeapReserve); in _bfd_XX_print_private_bfd_data_common()
2834 fprintf (file, "\nSizeOfHeapCommit\t"); in _bfd_XX_print_private_bfd_data_common()
2835 bfd_fprintf_vma (abfd, file, i->SizeOfHeapCommit); in _bfd_XX_print_private_bfd_data_common()
2836 fprintf (file, "\nLoaderFlags\t\t%08lx\n", (unsigned long) i->LoaderFlags); in _bfd_XX_print_private_bfd_data_common()
2837 fprintf (file, "NumberOfRvaAndSizes\t%08lx\n", in _bfd_XX_print_private_bfd_data_common()
2840 fprintf (file, "\nThe Data Directory\n"); in _bfd_XX_print_private_bfd_data_common()
2843 fprintf (file, "Entry %1x ", j); in _bfd_XX_print_private_bfd_data_common()
2844 bfd_fprintf_vma (abfd, file, i->DataDirectory[j].VirtualAddress); in _bfd_XX_print_private_bfd_data_common()
2845 fprintf (file, " %08lx ", (unsigned long) i->DataDirectory[j].Size); in _bfd_XX_print_private_bfd_data_common()
2846 fprintf (file, "%s\n", dir_names[j]); in _bfd_XX_print_private_bfd_data_common()
2856 pe_print_debugdata (abfd, file); in _bfd_XX_print_private_bfd_data_common()