Lines Matching refs:outs
241 dumpBytes(makeArrayRef(bytes, 4), outs());
243 outs() << "\t.long " << Value;
247 dumpBytes(makeArrayRef(bytes, 2), outs());
249 outs() << "\t.short " << Value;
253 dumpBytes(makeArrayRef(bytes, 2), outs());
255 outs() << "\t.byte " << Value;
259 outs() << "\t@ KIND_DATA\n";
261 outs() << "\t@ data in code kind = " << Kind << "\n";
265 dumpBytes(makeArrayRef(bytes, 1), outs());
267 outs() << "\t.byte " << format("%3u", Value) << "\t@ KIND_JUMP_TABLE8\n";
272 dumpBytes(makeArrayRef(bytes, 2), outs());
274 outs() << "\t.short " << format("%5u", Value & 0xffff)
281 dumpBytes(makeArrayRef(bytes, 4), outs());
283 outs() << "\t.long " << Value;
285 outs() << "\t@ KIND_JUMP_TABLE32\n";
287 outs() << "\t@ KIND_ABS_JUMP_TABLE32\n";
344 outs() << " (entries start past the end of the indirect symbol "
347 outs() << " (entries extends past the end of the indirect symbol "
349 outs() << "\n";
352 outs() << "address index";
354 outs() << "address index";
356 outs() << " name\n";
358 outs() << "\n";
361 outs() << format("0x%016" PRIx64, addr + j * stride) << " ";
363 outs() << format("0x%08" PRIx32, (uint32_t)addr + j * stride) << " ";
367 outs() << "LOCAL\n";
372 outs() << "LOCAL ABSOLUTE\n";
376 outs() << "ABSOLUTE\n";
379 outs() << format("%5u ", indirect_symbol);
393 outs() << *SymName;
395 outs() << "?";
398 outs() << "\n";
420 outs() << "Can't print indirect symbols for (" << Sec.segname << ","
426 outs() << "Indirect symbols for (" << Sec.segname << ","
448 outs() << "Can't print indirect symbols for (" << Sec.segname << ","
454 outs() << "Indirect symbols for (" << Sec.segname << ","
467 outs() << "Data in code table (" << nentries << " entries)\n";
468 outs() << "offset length kind\n";
473 outs() << format("0x%08" PRIx32, Offset) << " ";
476 outs() << format("%6u", Length) << " ";
482 outs() << "DATA";
485 outs() << "JUMP_TABLE8";
488 outs() << "JUMP_TABLE16";
491 outs() << "JUMP_TABLE32";
494 outs() << "ABS_JUMP_TABLE32";
497 outs() << format("0x%04" PRIx32, Kind);
501 outs() << format("0x%04" PRIx32, Kind);
502 outs() << "\n";
510 outs() << "Linker optimiztion hints (" << nloh << " total bytes)\n";
515 outs() << " identifier " << identifier << " ";
520 outs() << "AdrpAdrp\n";
523 outs() << "AdrpLdr\n";
526 outs() << "AdrpAddLdr\n";
529 outs() << "AdrpLdrGotLdr\n";
532 outs() << "AdrpAddStr\n";
535 outs() << "AdrpLdrGotStr\n";
538 outs() << "AdrpAdd\n";
541 outs() << "AdrpLdrGot\n";
544 outs() << "Unknown identifier value\n";
549 outs() << " narguments " << narguments << "\n";
556 outs() << "\tvalue " << format("0x%" PRIx64, value) << "\n";
577 outs() << p << "\n";
579 outs() << "\t" << p;
580 outs() << " (compatibility version "
584 outs() << " current version "
590 outs() << "\tBad offset (" << dl.dylib.name << ") for name of ";
592 outs() << "LC_ID_DYLIB ";
594 outs() << "LC_LOAD_DYLIB ";
596 outs() << "LC_LOAD_WEAK_DYLIB ";
598 outs() << "LC_LAZY_LOAD_DYLIB ";
600 outs() << "LC_REEXPORT_DYLIB ";
602 outs() << "LC_LOAD_UPWARD_DYLIB ";
604 outs() << "LC_??? ";
605 outs() << "command " << Index++ << "\n";
662 outs().write_escaped(p);
671 outs() << format("%016" PRIx64, sect_addr + i) << " ";
673 outs() << format("%08" PRIx64, sect_addr + i) << " ";
678 outs() << "\n";
683 outs() << format("0x%08" PRIx32, l);
685 outs() << format(" (%.16e)\n", f);
688 outs() << " (+Infinity)\n";
690 outs() << " (-Infinity)\n";
692 outs() << " (non-signaling Not-a-Number)\n";
694 outs() << " (signaling Not-a-Number)\n";
704 outs() << format("%016" PRIx64, sect_addr + i) << " ";
706 outs() << format("%08" PRIx64, sect_addr + i) << " ";
722 outs() << format("0x%08" PRIx32, l0) << " " << format("0x%08" PRIx32, l1);
729 outs() << format(" (%.16e)\n", d);
732 outs() << " (+Infinity)\n";
734 outs() << " (-Infinity)\n";
736 outs() << " (non-signaling Not-a-Number)\n";
738 outs() << " (signaling Not-a-Number)\n";
748 outs() << format("%016" PRIx64, sect_addr + i) << " ";
750 outs() << format("%08" PRIx64, sect_addr + i) << " ";
768 outs() << format("0x%08" PRIx32, l0) << " ";
769 outs() << format("0x%08" PRIx32, l1) << " ";
770 outs() << format("0x%08" PRIx32, l2) << " ";
771 outs() << format("0x%08" PRIx32, l3) << "\n";
780 outs() << format("%016" PRIx64, sect_addr + i) << " ";
782 outs() << format("%08" PRIx64, sect_addr + i) << " ";
847 outs() << format("%016" PRIx64, sect_addr + i) << " ";
849 outs() << format("%08" PRIx64, sect_addr + i) << " ";
878 outs() << "external relocation entry for symbol:" << *SymName << "\n";
889 outs() << format("0x%" PRIx64, lp) << " (not in a literal section)\n";
900 outs() << SegmentName << ":" << SectName << ":";
921 outs() << "\n";
980 outs() << format("0x%016" PRIx64, sect_addr + i * stride) << " ";
985 outs() << format("0x%016" PRIx64, pointer_value);
989 outs() << format("0x%08" PRIx64, sect_addr + i * stride) << " ";
994 outs() << format("0x%08" PRIx32, pointer_value);
999 outs() << " " << SymbolName;
1000 outs() << "\n";
1011 outs() << format("%016" PRIx64, addr) << "\t";
1013 outs() << format("%08" PRIx64, addr) << "\t";
1016 outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
1018 outs() << "\n";
1024 outs() << format("%016" PRIx64, addr) << "\t";
1026 outs() << format("%08" PRIx64, addr) << "\t";
1034 outs() << format("%08" PRIx32, long_word) << " ";
1038 outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
1042 outs() << "\n";
1101 outs() << "Contents of (" << SegName << "," << SectName
1111 outs() << sect;
1130 outs() << "zerofill section and has no contents in the file\n";
1154 outs() << "Unknown section type ("
1161 outs() << "zerofill section and has no contents in the file\n";
1178 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
1182 outs() << sect;
1237 outs() << Filename;
1239 outs() << '(' << ArchiveMemberName << ')';
1241 outs() << " (architecture " << ArchitectureName << ")";
1242 outs() << ":\n";
1295 DICtx->dump(outs(), DwarfDumpType, true /* DumpEH */);
1301 outs() << " cputype (" << cputype << ")\n";
1302 outs() << " cpusubtype (" << cpusubtype << ")\n";
1312 outs() << " cputype CPU_TYPE_I386\n";
1313 outs() << " cpusubtype CPU_SUBTYPE_I386_ALL\n";
1323 outs() << " cputype CPU_TYPE_X86_64\n";
1324 outs() << " cpusubtype CPU_SUBTYPE_X86_64_ALL\n";
1327 outs() << " cputype CPU_TYPE_X86_64\n";
1328 outs() << " cpusubtype CPU_SUBTYPE_X86_64_H\n";
1338 outs() << " cputype CPU_TYPE_ARM\n";
1339 outs() << " cpusubtype CPU_SUBTYPE_ARM_ALL\n";
1342 outs() << " cputype CPU_TYPE_ARM\n";
1343 outs() << " cpusubtype CPU_SUBTYPE_ARM_V4T\n";
1346 outs() << " cputype CPU_TYPE_ARM\n";
1347 outs() << " cpusubtype CPU_SUBTYPE_ARM_V5TEJ\n";
1350 outs() << " cputype CPU_TYPE_ARM\n";
1351 outs() << " cpusubtype CPU_SUBTYPE_ARM_XSCALE\n";
1354 outs() << " cputype CPU_TYPE_ARM\n";
1355 outs() << " cpusubtype CPU_SUBTYPE_ARM_V6\n";
1358 outs() << " cputype CPU_TYPE_ARM\n";
1359 outs() << " cpusubtype CPU_SUBTYPE_ARM_V6M\n";
1362 outs
1363 outs() << " cpusubtype CPU_SUBTYPE_ARM_V7\n";
1366 outs() << " cputype CPU_TYPE_ARM\n";
1367 outs() << " cpusubtype CPU_SUBTYPE_ARM_V7EM\n";
1370 outs() << " cputype CPU_TYPE_ARM\n";
1371 outs() << " cpusubtype CPU_SUBTYPE_ARM_V7K\n";
1374 outs() << " cputype CPU_TYPE_ARM\n";
1375 outs() << " cpusubtype CPU_SUBTYPE_ARM_V7M\n";
1378 outs() << " cputype CPU_TYPE_ARM\n";
1379 outs() << " cpusubtype CPU_SUBTYPE_ARM_V7S\n";
1389 outs() << " cputype CPU_TYPE_ARM64\n";
1390 outs() << " cpusubtype CPU_SUBTYPE_ARM64_ALL\n";
1405 outs() << "Fat headers\n";
1408 outs() << "fat_magic FAT_MAGIC\n";
1410 outs() << "fat_magic FAT_MAGIC_64\n";
1412 outs() << "fat_magic " << format("0x%" PRIx32, MachO::FAT_MAGIC) << "\n";
1419 outs() << "nfat_arch " << UB->getNumberOfObjects();
1421 outs() << " (malformed, contains zero architecture types)\n";
1423 outs() << " (malformed, architectures past end of file)\n";
1425 outs() << "\n";
1431 outs() << "architecture ";
1439 outs() << "(illegal duplicate architecture) ";
1444 outs() << OFA.getArchTypeName() << "\n";
1447 outs() << i << "\n";
1448 outs() << " cputype " << cputype << "\n";
1449 outs() << " cpusubtype " << (cpusubtype & ~MachO::CPU_SUBTYPE_MASK)
1454 outs() << " capabilities CPU_SUBTYPE_LIB64\n";
1456 outs() << " capabilities "
1459 outs() << " offset " << OFA.getOffset();
1461 outs() << " (past end of file)";
1463 outs() << " (not aligned on it's alignment (2^" << OFA.getAlign() << ")";
1464 outs() << "\n";
1465 outs() << " size " << OFA.getSize();
1468 outs() << " (past end of file)";
1469 outs() << "\n";
1470 outs() << " align 2^" << OFA.getAlign() << " (" << (1 << OFA.getAlign())
1478 outs() << C.getChildOffset() << "\t";
1483 outs() << "-";
1484 outs() << ((Mode & sys::fs::owner_read) ? "r" : "-");
1485 outs() << ((Mode & sys::fs::owner_write) ? "w" : "-");
1486 outs() << ((Mode & sys::fs::owner_exe) ? "x" : "-");
1487 outs() << ((Mode & sys::fs::group_read) ? "r" : "-");
1488 outs() << ((Mode & sys::fs::group_write) ? "w" : "-");
1489 outs() << ((Mode & sys::fs::group_exe) ? "x" : "-");
1490 outs() << ((Mode & sys::fs::others_read) ? "r" : "-");
1491 outs() << ((Mode & sys::fs::others_write) ? "w" : "-");
1492 outs() << ((Mode & sys::fs::others_exe) ? "x" : "-");
1494 outs() << format("0%o ", Mode);
1498 outs() << format("%3d/", UID);
1500 outs() << format("%-3d ", GID);
1504 outs() << format("%5" PRId64, Size.get()) << " ";
1510 outs() << "(date: \"%s\" contains non-decimal chars) " << RawLastModified;
1516 outs() << format("%.24s ", ctime(&t));
1519 outs() << RawLastModified << " ";
1526 outs() << RawName << "\n";
1529 outs() << Name << "\n";
1533 outs() << RawName << "\n";
1570 outs() << "Archive : " << Filename << "\n";
1624 outs() << "Archive : " << Filename;
1626 outs() << " (architecture " << ArchitectureName << ")";
1627 outs() << "\n";
1682 outs() << "Archive : " << Filename << "\n";
1730 outs() << "Archive : " << Filename;
1732 outs() << " (architecture " << ArchitectureName << ")";
1733 outs() << "\n";
3342 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
3354 outs() << listname << " list pointer extends past end of (" << SegName
3356 outs() << format("%016" PRIx64, S.getAddress() + i) << " ";
3367 outs() << format("0x%" PRIx64, n_value);
3369 outs() << " + " << format("0x%" PRIx64, p);
3371 outs() << format("0x%" PRIx64, p);
3373 outs() << " " << name;
3374 outs() << "\n";
3393 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
3405 outs() << listname << " list pointer extends past end of (" << SegName
3408 outs() << format("%08" PRIx32, Address) << " ";
3412 outs() << format("0x%" PRIx32, p);
3416 outs() << " " << name;
3417 outs() << "\n";
3427 outs() << " layout map: ";
3429 outs() << format("0x%02" PRIx32, (*layout_map) & 0xff) << " ";
3433 outs() << "\n";
3474 outs() << " (method_list_t entends past the end of the section)\n";
3479 outs() << indent << "\t\t entsize " << ml.entsize << "\n";
3480 outs() << indent << "\t\t count " << ml.count << "\n";
3491 outs() << indent << " (method_t extends past the end of the section)\n";
3497 outs() << indent << "\t\t name ";
3502 outs() << sym_name;
3504 outs() << format("0x%" PRIx64, n_value);
3506 outs() << " + " << format("0x%" PRIx64, m.name);
3508 outs() << format("0x%" PRIx64, m.name);
3511 outs() << format(" %.*s", left, name);
3512 outs() << "\n";
3514 outs() << indent << "\t\t types ";
3519 outs() << sym_name;
3521 outs() << format("0x%" PRIx64, n_value);
3523 outs() << " + " << format("0x%" PRIx64, m.types);
3525 outs() << format("0x%" PRIx64, m.types);
3528 outs() << format(" %.*s", left, name);
3529 outs() << "\n";
3531 outs() << indent << "\t\t imp ";
3536 outs() << format("0x%" PRIx64, n_value) << " ";
3538 outs() << "+ " << format("0x%" PRIx64, m.imp) << " ";
3540 outs() << format("0x%" PRIx64, m.imp) << " ";
3543 outs() << name;
3544 outs() << "\n";
3565 outs() << " (method_list_t entends past the end of the section)\n";
3570 outs() << indent << "\t\t entsize " << ml.entsize << "\n";
3571 outs() << indent << "\t\t count " << ml.count << "\n";
3582 outs() << indent << " (method_t entends past the end of the section)\n";
3588 outs() << indent << "\t\t name " << format("0x%" PRIx32, m.name);
3591 outs() << format(" %.*s", left, name);
3592 outs() << "\n";
3594 outs() << indent << "\t\t types " << format("0x%" PRIx32, m.types);
3597 outs() << format(" %.*s", left, name);
3598 outs() << "\n";
3600 outs() << indent << "\t\t imp " << format("0x%" PRIx32, m.imp);
3604 outs() << " " << name;
3605 outs() << "\n";
3624 outs() << "\n";
3628 outs() << "\t\t objc_method_list extends past end of the section\n";
3635 outs() << "\t\t obsolete "
3637 outs() << "\t\t method_count " << method_list.method_count << "\n";
3642 outs() << "\t\t remaining method's extend past the of the section\n";
3650 outs() << "\t\t method_name "
3655 outs() << format(" %.*s", xleft, name);
3657 outs() << " (not in an __OBJC section)";
3659 outs() << "\n";
3661 outs() << "\t\t method_types "
3666 outs() << format(" %.*s", xleft, name);
3668 outs() << " (not in an __OBJC section)";
3670 outs() << "\n";
3672 outs() << "\t\t method_imp "
3677 outs() << SymbolName;
3679 outs() << "\n";
3699 outs() << " (protocol_list_t entends past the end of the section)\n";
3704 outs() << " count " << pl.count << "\n";
3715 outs() << " (protocol_t * entends past the end of the section)\n";
3721 outs() << "\t\t list[" << i << "] ";
3725 outs() << sym_name;
3727 outs() << format("0x%" PRIx64, n_value);
3729 outs() << " + " << format("0x%" PRIx64, q);
3731 outs() << format("0x%" PRIx64, q);
3732 outs() << " (struct protocol_t *)\n";
3740 outs() << " (protocol_t entends past the end of the section)\n";
3746 outs() << "\t\t\t isa " << format("0x%" PRIx64, pc.isa) << "\n";
3748 outs() << "\t\t\t name ";
3753 outs() << sym_name;
3755 outs() << format("0x%" PRIx64, n_value);
3757 outs() << " + " << format("0x%" PRIx64, pc.name);
3759 outs() << format("0x%" PRIx64, pc.name);
3762 outs() << format(" %.*s", left, name);
3763 outs() << "\n";
3765 outs() << "\t\t\tprotocols " << format("0x%" PRIx64, pc.protocols) << "\n";
3767 outs() << "\t\t instanceMethods ";
3773 outs() << sym_name;
3775 outs() << format("0x%" PRIx64, n_value);
3777 outs() << " + " << format("0x%" PRIx64, pc.instanceMethods);
3779 outs() << format("0x%" PRIx64, pc.instanceMethods);
3780 outs() << " (struct method_list_t *)\n";
3784 outs() << "\t\t classMethods ";
3790 outs() << sym_name;
3792 outs() << format("0x%" PRIx64, n_value);
3794 outs() << " + " << format("0x%" PRIx64, pc.classMethods);
3796 outs() << format("0x%" PRIx64, pc.classMethods);
3797 outs() << " (struct method_list_t *)\n";
3801 outs() << "\t optionalInstanceMethods "
3803 outs() << "\t optionalClassMethods "
3805 outs() << "\t instanceProperties "
3828 outs() << " (protocol_list_t entends past the end of the section)\n";
3833 outs() << " count " << pl.count << "\n";
3844 outs() << " (protocol_t * entends past the end of the section)\n";
3849 outs() << "\t\t list[" << i << "] " << format("0x%" PRIx32, q)
3857 outs() << " (protocol_t entends past the end of the section)\n";
3862 outs() << "\t\t\t isa " << format("0x%" PRIx32, pc.isa) << "\n";
3863 outs() << "\t\t\t name " << format("0x%" PRIx32, pc.name);
3866 outs() << format(" %.*s", left, name);
3867 outs() << "\n";
3868 outs() << "\t\t\tprotocols " << format("0x%" PRIx32, pc.protocols) << "\n";
3869 outs() << "\t\t instanceMethods "
3874 outs() << "\t\t classMethods " << format("0x%" PRIx32, pc.classMethods)
3878 outs() << "\t optionalInstanceMethods "
3880 outs() << "\t optionalClassMethods "
3882 outs() << "\t instanceProperties "
3892 outs() << "\t";
3896 outs() << " ";
3915 outs() << "\n";
3920 outs() << " objc_method_description_list extends past end of the section\n";
3928 outs() << " count " << mdl.count << "\n";
3934 outs() << " remaining list entries extend past the of the section\n";
3938 outs() << " list[" << i << "]\n";
3945 outs() << " name " << format("0x%08" PRIx32, md.name);
3949 outs() << format(" %.*s", xleft, name);
3951 outs() << " (not in an __OBJC section)";
3953 outs() << "\n";
3956 outs() << " types " << format("0x%08" PRIx32, md.types);
3960 outs() << format(" %.*s", xleft, name);
3962 outs() << " (not in an __OBJC section)";
3964 outs() << "\n";
3983 outs() << "\n";
3988 outs() << " Protocol extends past end of the section\n";
3996 outs() << " isa " << format("0x%08" PRIx32, protocol.isa)
4000 outs() << " protocol_name "
4005 outs() << format(" %.*s", left, name);
4007 outs() << " (not in an __OBJC section)";
4009 outs() << "\n";
4012 outs() << " protocol_list "
4015 outs() << " (not in an __OBJC section)\n";
4018 outs() << " instance_methods "
4021 outs() << " (not in an __OBJC section)\n";
4024 outs() << " class_methods "
4027 outs() << " (not in an __OBJC section)\n";
4044 outs() << "\n";
4048 outs() << "\t\t objc_protocol_list_t extends past end of the section\n";
4056 outs() << " next " << format("0x%08" PRIx32, protocol_list.next)
4059 outs() << " count " << protocol_list.count << "\n";
4064 outs() << "\t\t remaining list entries extend past the of the section\n";
4072 outs() << " list[" << i << "] " << format("0x%08" PRIx32, l);
4074 outs() << "(not in an __OBJC section)\n";
4094 outs() << " (ivar_list_t entends past the end of the section)\n";
4099 outs() << " entsize " << il.entsize << "\n";
4100 outs() << " count " << il.count << "\n";
4111 outs() << " (ivar_t entends past the end of the section)\n";
4117 outs() << "\t\t\t offset ";
4122 outs() << sym_name;
4124 outs() << format("0x%" PRIx64, n_value);
4126 outs() << " + " << format("0x%" PRIx64, i.offset);
4128 outs() << format("0x%" PRIx64, i.offset);
4134 outs() << " " << ivar_offset << "\n";
4136 outs() << "\n";
4138 outs() << "\t\t\t name ";
4143 outs() << sym_name;
4145 outs() << format("0x%" PRIx64, n_value);
4147 outs() << " + " << format("0x%" PRIx64, i.name);
4149 outs() << format("0x%" PRIx64, i.name);
4152 outs() << format(" %.*s", left, name);
4153 outs() << "\n";
4155 outs() << "\t\t\t type ";
4161 outs() << sym_name;
4163 outs() << format("0x%" PRIx64, n_value);
4165 outs() << " + " << format("0x%" PRIx64, i.type);
4167 outs() << format("0x%" PRIx64, i.type);
4169 outs() << format(" %.*s", left, name);
4170 outs() << "\n";
4172 outs() << "\t\t\talignment " << i.alignment << "\n";
4173 outs() << "\t\t\t size " << i.size << "\n";
4195 outs() << " (ivar_list_t entends past the end of the section)\n";
4200 outs() << " entsize " << il.entsize << "\n";
4201 outs() << " count " << il.count << "\n";
4212 outs() << " (ivar_t entends past the end of the section)\n";
4218 outs() << "\t\t\t offset " << format("0x%" PRIx32, i.offset);
4224 outs() << " " << ivar_offset << "\n";
4226 outs() << "\n";
4228 outs() << "\t\t\t name " << format("0x%" PRIx32, i.name);
4231 outs() << format(" %.*s", left, name);
4232 outs() << "\n";
4234 outs() << "\t\t\t type " << format("0x%" PRIx32, i.type);
4237 outs() << format(" %.*s", left, name);
4238 outs() << "\n";
4240 outs() << "\t\t\talignment " << i.alignment << "\n";
4241 outs() << "\t\t\t size " << i.size << "\n";
4264 outs() << " (objc_property_list entends past the end of the section)\n";
4269 outs() << " entsize " << opl.entsize << "\n";
4270 outs() << " count " << opl.count << "\n";
4281 outs() << " (objc_property entends past the end of the section)\n";
4287 outs() << "\t\t\t name ";
4292 outs() << sym_name;
4294 outs() << format("0x%" PRIx64, n_value);
4296 outs() << " + " << format("0x%" PRIx64, op.name);
4298 outs() << format("0x%" PRIx64, op.name);
4301 outs() << format(" %.*s", left, name);
4302 outs() << "\n";
4304 outs() << "\t\t\tattributes ";
4310 outs() << sym_name;
4312 outs() << format("0x%" PRIx64, n_value);
4314 outs() << " + " << format("0x%" PRIx64, op.attributes);
4316 outs() << format("0x%" PRIx64, op.attributes);
4319 outs() << format(" %.*s", left, name);
4320 outs() << "\n";
4342 outs() << " (objc_property_list entends past the end of the section)\n";
4347 outs() << " entsize " << opl.entsize << "\n";
4348 outs() << " count " << opl.count << "\n";
4359 outs() << " (objc_property entends past the end of the section)\n";
4365 outs() << "\t\t\t name " << format("0x%" PRIx32, op.name);
4368 outs() << format(" %.*s", left, name);
4369 outs() << "\n";
4371 outs() << "\t\t\tattributes " << format("0x%" PRIx32, op.attributes);
4374 outs() << format(" %.*s", left, name);
4375 outs() << "\n";
4397 outs() << " (class_ro_t entends past the end of the section)\n";
4402 outs() << " flags " << format("0x%" PRIx32, cro.flags);
4404 outs() << " RO_META";
4406 outs() << " RO_ROOT";
4408 outs() << " RO_HAS_CXX_STRUCTORS";
4409 outs() << "\n";
4410 outs() << " instanceStart " << cro.instanceStart << "\n";
4411 outs() << " instanceSize " << cro.instanceSize << "\n";
4412 outs() << " reserved " << format("0x%" PRIx32, cro.reserved)
4414 outs() << " ivarLayout " << format("0x%" PRIx64, cro.ivarLayout)
4418 outs() << " name ";
4423 outs() << sym_name;
4425 outs() << format("0x%" PRIx64, n_value);
4427 outs() << " + " << format("0x%" PRIx64, cro.name);
4429 outs() << format("0x%" PRIx64, cro.name);
4432 outs() << format(" %.*s", left, name);
4433 outs() << "\n";
4435 outs() << " baseMethods ";
4440 outs() << sym_name;
4442 outs() << format("0x%" PRIx64, n_value);
4444 outs() << " + " << format("0x%" PRIx64, cro.baseMethods);
4446 outs() << format("0x%" PRIx64, cro.baseMethods);
4447 outs() << " (struct method_list_t *)\n";
4451 outs() << " baseProtocols ";
4457 outs() << sym_name;
4459 outs() << format("0x%" PRIx64, n_value);
4461 outs() << " + " << format("0x%" PRIx64, cro.baseProtocols);
4463 outs() << format("0x%" PRIx64, cro.baseProtocols);
4464 outs() << "\n";
4468 outs() << " ivars ";
4473 outs() << sym_name;
4475 outs() << format("0x%" PRIx64, n_value);
4477 outs() << " + " << format("0x%" PRIx64, cro.ivars);
4479 outs() << format("0x%" PRIx64, cro.ivars);
4480 outs() << "\n";
4484 outs() << " weakIvarLayout ";
4490 outs() << sym_name;
4492 outs() << format("0x%" PRIx64, n_value);
4494 outs() << " + " << format("0x%" PRIx64, cro.weakIvarLayout);
4496 outs() << format("0x%" PRIx64, cro.weakIvarLayout);
4497 outs() << "\n";
4500 outs() << " baseProperties ";
4506 outs() << sym_name;
4508 outs() << format("0x%" PRIx64, n_value);
4510 outs() << " + " << format("0x%" PRIx64, cro.baseProperties);
4512 outs() << format("0x%" PRIx64, cro.baseProperties);
4513 outs() << "\n";
4535 outs() << " (class_ro_t entends past the end of the section)\n";
4540 outs() << " flags " << format("0x%" PRIx32, cro.flags);
4542 outs() << " RO_META";
4544 outs() << " RO_ROOT";
4546 outs() << " RO_HAS_CXX_STRUCTORS";
4547 outs() << "\n";
4548 outs() << " instanceStart " << cro.instanceStart << "\n";
4549 outs() << " instanceSize " << cro.instanceSize << "\n";
4550 outs() << " ivarLayout " << format("0x%" PRIx32, cro.ivarLayout)
4554 outs() << " name " << format("0x%" PRIx32, cro.name);
4557 outs() << format(" %.*s", left, name);
4558 outs() << "\n";
4560 outs() << " baseMethods "
4566 outs() << " baseProtocols "
4570 outs() << " ivars " << format("0x%" PRIx32, cro.ivars)
4574 outs() << " weakIvarLayout "
4577 outs() << " baseProperties "
4599 outs() << " (class_t entends past the end of the section)\n";
4605 outs() << " isa " << format("0x%" PRIx64, c.isa);
4609 outs() << " " << name;
4610 outs() << "\n";
4612 outs() << " superclass " << format("0x%" PRIx64, c.superclass);
4616 outs() << " " << name;
4617 outs() << "\n";
4619 outs() << " cache " << format("0x%" PRIx64, c.cache);
4623 outs() << " " << name;
4624 outs() << "\n";
4626 outs() << " vtable " << format("0x%" PRIx64, c.vtable);
4630 outs() << " " << name;
4631 outs() << "\n";
4635 outs() << " data ";
4638 outs() << name;
4640 outs() << format("0x%" PRIx64, n_value);
4642 outs() << " + " << format("0x%" PRIx64, c.data);
4644 outs() << format("0x%" PRIx64, c.data);
4645 outs() << " (struct class_ro_t *)";
4649 outs() << " Swift class";
4650 outs() << "\n";
4660 outs() << "Meta Class\n";
4678 outs() << " (class_t entends past the end of the section)\n";
4684 outs() << " isa " << format("0x%" PRIx32, c.isa);
4688 outs() << " " << name;
4689 outs() << "\n";
4691 outs() << " superclass " << format("0x%" PRIx32, c.superclass);
4695 outs() << " " << name;
4696 outs() << "\n";
4698 outs() << " cache " << format("0x%" PRIx32, c.cache);
4702 outs() << " " << name;
4703 outs() << "\n";
4705 outs() << " vtable " << format("0x%" PRIx32, c.vtable);
4709 outs() << " " << name;
4710 outs() << "\n";
4714 outs() << " data " << format("0x%" PRIx32, c.data)
4719 outs() << " Swift class";
4720 outs() << "\n";
4726 outs() << "Meta Class\n";
4740 outs() << "\t\t isa " << format("0x%08" PRIx32, objc_class->isa);
4744 outs() << format(" %.*s", left, name);
4746 outs() << " (not in an __OBJC section)";
4748 outs() << "\n";
4750 outs() << "\t super_class "
4755 outs() << format(" %.*s", left, name);
4757 outs() << " (not in an __OBJC section)";
4759 outs() << "\n";
4761 outs() << "\t\t name " << format("0x%08" PRIx32, objc_class->name);
4765 outs() << format(" %.*s", left, name);
4767 outs() << " (not in an __OBJC section)";
4769 outs() << "\n";
4771 outs() << "\t\t version " << format("0x%08" PRIx32, objc_class->version)
4774 outs() << "\t\t info " << format("0x%08" PRIx32, objc_class->info);
4777 outs() << " CLS_CLASS";
4779 outs() << " CLS_META";
4781 outs() << "\n";
4783 outs() << "\t instance_size "
4787 outs() << "\t\t ivars " << format("0x%08" PRIx32, objc_class->ivars);
4790 outs() << "\n";
4793 outs() << " (entends past the end of the section)\n";
4799 outs() << "\t\t ivar_count " << objc_ivar_list.ivar_count << "\n";
4803 outs() << "\t\t remaining ivar's extend past the of the section\n";
4811 outs() << "\t\t\tivar_name " << format("0x%08" PRIx32, ivar.ivar_name);
4815 outs() << format(" %.*s", xleft, name);
4817 outs() << " (not in an __OBJC section)";
4819 outs() << "\n";
4821 outs() << "\t\t\tivar_type " << format("0x%08" PRIx32, ivar.ivar_type);
4825 outs() << format(" %.*s", xleft, name);
4827 outs() << " (not in an __OBJC section)";
4829 outs() << "\n";
4831 outs() << "\t\t ivar_offset "
4835 outs() << " (not in an __OBJC section)\n";
4838 outs() << "\t\t methods " << format("0x%08" PRIx32, objc_class->methodLists);
4840 outs() << " (not in an __OBJC section)\n";
4842 outs() << "\t\t cache " << format("0x%08" PRIx32, objc_class->cache)
4845 outs() << "\t\tprotocols " << format("0x%08" PRIx32, objc_class->protocols);
4847 outs() << " (not in an __OBJC section)\n";
4856 outs() << "\t category name "
4862 outs() << format(" %.*s", left, name);
4864 outs() << " (not in an __OBJC section)";
4866 outs() << "\n";
4868 outs() << "\t\t class name "
4874 outs() << format(" %.*s", left, name);
4876 outs() << " (not in an __OBJC section)";
4878 outs() << "\n";
4880 outs() << "\t instance methods "
4883 outs() << " (not in an __OBJC section)\n";
4885 outs() << "\t class methods "
4888 outs() << " (not in an __OBJC section)\n";
4905 outs() << " (category_t entends past the end of the section)\n";
4911 outs() << " name ";
4916 outs() << sym_name;
4918 outs() << format("0x%" PRIx64, n_value);
4920 outs() << " + " << format("0x%" PRIx64, c.name);
4922 outs() << format("0x%" PRIx64, c.name);
4925 outs() << format(" %.*s", left, name);
4926 outs() << "\n";
4928 outs() << " cls ";
4933 outs() << sym_name;
4935 outs() << format("0x%" PRIx64, n_value);
4937 outs() << " + " << format("0x%" PRIx64, c.cls);
4939 outs() << format("0x%" PRIx64, c.cls);
4940 outs() << "\n";
4944 outs
4950 outs() << sym_name;
4952 outs() << format("0x%" PRIx64, n_value);
4954 outs() << " + " << format("0x%" PRIx64, c.instanceMethods);
4956 outs() << format("0x%" PRIx64, c.instanceMethods);
4957 outs() << "\n";
4961 outs() << " classMethods ";
4966 outs() << sym_name;
4968 outs() << format("0x%" PRIx64, n_value);
4970 outs() << " + " << format("0x%" PRIx64, c.classMethods);
4972 outs() << format("0x%" PRIx64, c.classMethods);
4973 outs() << "\n";
4977 outs() << " protocols ";
4982 outs() << sym_name;
4984 outs() << format("0x%" PRIx64, n_value);
4986 outs() << " + " << format("0x%" PRIx64, c.protocols);
4988 outs() << format("0x%" PRIx64, c.protocols);
4989 outs() << "\n";
4993 outs() << "instanceProperties ";
4999 outs() << sym_name;
5001 outs() << format("0x%" PRIx64, n_value);
5003 outs() << " + " << format("0x%" PRIx64, c.instanceProperties);
5005 outs() << format("0x%" PRIx64, c.instanceProperties);
5006 outs() << "\n";
5024 outs() << " (category_t entends past the end of the section)\n";
5030 outs() << " name " << format("0x%" PRIx32, c.name);
5034 outs() << " " << name;
5035 outs() << "\n";
5037 outs() << " cls " << format("0x%" PRIx32, c.cls) << "\n";
5040 outs() << " instanceMethods " << format("0x%" PRIx32, c.instanceMethods)
5044 outs() << " classMethods " << format("0x%" PRIx32, c.classMethods)
5048 outs() << " protocols " << format("0x%" PRIx32, c.protocols) << "\n";
5051 outs() << "instanceProperties " << format("0x%" PRIx32, c.instanceProperties)
5072 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
5082 outs() << " (message_ref entends past the end of the section)\n";
5088 outs() << " imp ";
5092 outs() << format("0x%" PRIx64, n_value) << " ";
5094 outs() << "+ " << format("0x%" PRIx64, mr.imp) << " ";
5096 outs() << format("0x%" PRIx64, mr.imp) << " ";
5098 outs() << " " << name;
5099 outs() << "\n";
5101 outs() << " sel ";
5106 outs() << sym_name;
5108 outs() << format("0x%" PRIx64, n_value);
5110 outs() << " + " << format("0x%" PRIx64, mr.sel);
5112 outs() << format("0x%" PRIx64, mr.sel);
5115 outs() << format(" %.*s", left, name);
5116 outs() << "\n";
5135 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
5145 outs() << " (message_ref entends past the end of the section)\n";
5151 outs() << " imp " << format("0x%" PRIx32, mr.imp);
5155 outs() << " " << name;
5156 outs() << "\n";
5158 outs() << " sel " << format("0x%" PRIx32, mr.sel);
5161 outs() << " " << name;
5162 outs() << "\n";
5181 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
5189 outs() << " (objc_image_info entends past the end of the section)\n";
5194 outs() << " version " << o.version << "\n";
5195 outs() << " flags " << format("0x%" PRIx32, o.flags);
5197 outs() << " OBJC_IMAGE_IS_REPLACEMENT";
5199 outs() << " OBJC_IMAGE_SUPPORTS_GC";
5203 outs() << " Swift 1.0";
5205 outs() << " Swift 1.1";
5207 outs() << " unknown future Swift version (" << swift_version << ")";
5209 outs() << "\n";
5224 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
5232 outs() << " (objc_image_info entends past the end of the section)\n";
5237 outs() << " version " << o.version << "\n";
5238 outs() << " flags " << format("0x%" PRIx32, o.flags);
5240 outs() << " OBJC_IMAGE_IS_REPLACEMENT";
5242 outs() << " OBJC_IMAGE_SUPPORTS_GC";
5246 outs() << " Swift 1.0";
5248 outs() << " Swift 1.1";
5250 outs() << " unknown future Swift version (" << swift_version << ")";
5252 outs() << "\n";
5264 outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
5272 outs() << " (imageInfo entends past the end of the section)\n";
5277 outs() << " version " << o.version << "\n";
5278 outs() << " flags " << format("0x%" PRIx32, o.flags);
5280 outs() << " F&C";
5282 outs() << " GC";
5284 outs() << " GC-only";
5286 outs() << " RR";
5287 outs() << "\n";
5469 outs() << "Objective-C segment\n";
5507 outs() << " (module extends past end of __module_info section)\n";
5513 outs() << "Module " << format("0x%" PRIx32, p) << "\n";
5514 outs() << " version " << module.version << "\n";
5515 outs() << " size " << module.size << "\n";
5516 outs() << " name ";
5519 outs() << format("%.*s", left, name);
5521 outs() << format("0x%08" PRIx32, module.name)
5523 outs() << "\n";
5527 outs() << " symtab " << format("0x%08" PRIx32, module.symtab)
5531 outs() << " symtab " << format("0x%08" PRIx32, module.symtab) << "\n";
5537 outs() << "\tsymtab extends past end of an __OBJC section)\n";
5548 outs() << "\tsel_ref_cnt " << symtab.sel_ref_cnt << "\n";
5550 outs() << "\trefs " << format("0x%08" PRIx32, symtab.refs);
5552 outs() << " (not in an __OBJC section)";
5553 outs() << "\n";
5554 outs() << "\tcls_def_cnt " << symtab.cls_def_cnt << "\n";
5555 outs() << "\tcat_def_cnt " << symtab.cat_def_cnt << "\n";
5557 outs() << "\tClass Definitions\n";
5560 outs() << "\t(remaining class defs entries entends past the end of the "
5569 outs() << "\tdefs[" << j << "] " << format("0x%08" PRIx32, def);
5572 outs() << "\n";
5575 outs() << " (entends past the end of the section)\n";
5583 outs() << "(not in an __OBJC section)\n";
5587 outs() << "\tMeta Class";
5591 outs() << "\n";
5594 outs() << " (entends past the end of the section)\n";
5602 outs() << "(not in an __OBJC section)\n";
5607 outs() << "\tCategory Definitions\n";
5610 outs() << "\t(remaining category defs entries entends past the end of "
5620 outs() << "\tdefs[" << j + symtab.cls_def_cnt << "] "
5624 outs() << "\n";
5627 outs() << " (entends past the end of the section)\n";
5635 outs() << "(not in an __OBJC section)\n";
5679 outs() << "Protocol extends past end of __protocol section\n";
5686 outs() << "Protocol " << format("0x%" PRIx32, paddr);
5688 outs() << "(not in an __OBJC section)\n";
5705 outs() << "d";
5708 outs() << "c";
5711 outs() << "b";
5714 outs() << "-";
5717 outs() << "l";
5720 outs() << "s";
5723 outs() << "?";
5729 outs() << "r";
5731 outs() << "-";
5733 outs() << "w";
5735 outs() << "-";
5737 outs() << "s";
5739 outs() << "x";
5741 outs() << "-";
5745 outs() << "r";
5747 outs() << "-";
5749 outs() << "w";
5751 outs() << "-";
5753 outs() << "s";
5755 outs() << "x";
5757 outs() << "-";
5761 outs() << "r";
5763 outs() << "-";
5765 outs() << "w";
5767 outs() << "-";
5769 outs() << "t";
5771 outs() << "x";
5773 outs() << "-";
5810 outs() << "key: " << key << " value: " << val << "\n";
5830 outs() << "(mode: \"" << mode << "\" contains non-octal chars) ";
5834 outs() << " ";
5837 outs() << format("%10s/", user);
5839 outs() << format("%-10s ", group);
5841 outs() << format("%7s ", size);
5844 outs() << *m;
5847 outs() << " ";
5849 outs() << *m;
5850 outs() << " ";
5853 outs() << name;
5854 outs() << "\n";
5863 outs() << "size of (__LLVM,__bundle) section too small (smaller than size "
5873 outs() << "In xar member " << XarMemberName << ": ";
5875 outs() << "For (__LLVM,__bundle) section: ";
5876 outs() << "xar header\n";
5878 outs() << " magic XAR_HEADER_MAGIC\n";
5880 outs() << " magic "
5883 outs() << " size " << XarHeader.size << "\n";
5884 outs() << " version " << XarHeader.version << "\n";
5885 outs() << " toc_length_compressed " << XarHeader.toc_length_compressed
5887 outs() << "toc_length_uncompressed " << XarHeader.toc_length_uncompressed
5889 outs() << " cksum_alg ";
5892 outs() << "XAR_CKSUM_NONE\n";
5895 outs() << "XAR_CKSUM_SHA1\n";
5898 outs() << "XAR_CKSUM_MD5\n";
5902 outs() << "XAR_CKSUM_SHA256\n";
5907 outs() << "XAR_CKSUM_SHA512\n";
5911 outs() << XarHeader.cksum_alg << "\n";
5948 outs() << "In xar member " << XarMemberName << ": ";
5950 outs() << "For (__LLVM,__bundle) section: ";
5951 outs() << "xar archive files:\n";
5964 outs() << "In xar member " << XarMemberName << ": ";
5966 outs() << "For (__LLVM,__bundle) section: ";
5967 outs() << "xar table of contents:\n";
5968 outs() << Buffer->getBuffer() << "\n";
5998 outs() << "key: " << key << " value: " << val << "\n";
6021 outs() << "xar member: " << member_name << " extracted\n";
6038 outs() << "could be a xar file: " << member_name << "\n";
6580 outs() << "(" << DisSegName << "," << DisSectName << ") section\n";
6633 outs() << "Can't find -dis-symname: " << DisSymName << "\n";
6693 outs() << "-dis-symname: " << DisSymName << " not in the section\n";
6704 outs() << "-dis-symname: __mh_execute_header not in any section\n";
6761 outs() << SymName << ":\n";
6770 outs() << format("%016" PRIx64, PC);
6772 outs() << format("%08" PRIx64, PC);
6774 outs() << format("%8" PRIx64 ":", PC);
6778 outs() << "\t";
6811 dumpBytes(makeArrayRef(Bytes.data() + Index, Size), outs());
6813 formatted_raw_ostream FormattedOS(outs());
6826 outs() << "\t## " << dli.FileName << ':' << dli.Line << ':'
6830 outs() << "\n";
6834 outs() << format("\t.byte 0x%02x #bad opcode\n",
6843 outs() << format("\t.long\t0x%08x\n", opcode);
6849 outs() << format("\t.short\t0x%04x\n", opcode);
6873 outs() << format("%016" PRIx64, PC);
6875 outs() << format("%08" PRIx64, PC);
6877 outs() << format("%8" PRIx64 ":", PC);
6881 outs() << "\t";
6882 dumpBytes(makeArrayRef(Bytes.data() + Index, InstSize), outs());
6884 IP->printInst(&Inst, outs(), "", *STI);
6885 outs() << "\n";
6889 outs() << format("\t.byte 0x%02x #bad opcode\n",
7053 outs() << Name;
7055 outs() << " + " << format("0x%" PRIx64, Addend);
7101 outs() << "Contents of __compact_unwind section:\n";
7103 outs() << " Entry at offset "
7107 outs() << " start: " << format("0x%" PRIx64,
7110 outs() << '\n';
7113 outs() << " length: " << format("0x%" PRIx32, Entry.Length)
7116 outs() << " compact encoding: "
7121 outs() << " personality function: "
7125 outs() << '\n';
7130 outs() << " LSDA: " << format("0x%" PRIx64,
7133 outs() << '\n';
7156 outs() << " [" << i << "]: "
7191 outs() << " [" << i << "]: "
7206 outs() << "Contents of __unwind_info section:\n";
7217 outs() << " Version: "
7222 outs
7225 outs() << " Number of common encodings in array: "
7229 outs() << " Personality function array section offset: "
7232 outs() << " Number of personality functions in array: "
7236 outs() << " Index array section offset: "
7239 outs() << " Number of indices in array: "
7252 outs() << " Common encodings: (count = " << NumCommonEncodings << ")\n";
7258 outs() << " encoding[" << i << "]: " << format("0x%08" PRIx32, Encoding)
7269 outs() << " Personality functions: (count = " << NumPersonalities << ")\n";
7273 outs() << " personality[" << i + 1
7292 outs() << " Top level indices: (count = " << NumIndices << ")\n";
7302 outs() << " [" << i << "]: "
7317 outs() << " LSDA descriptors:\n";
7324 outs() << " [" << i << "]: "
7338 outs() << " Second level indices:\n";
7344 outs() << " Second level index[" << i << "]: "
7396 outs() << "Mach header\n";
7397 outs() << " magic cputype cpusubtype caps filetype ncmds "
7401 outs() << " MH_MAGIC";
7403 outs() << "MH_MAGIC_64";
7405 outs() << format(" 0x%08" PRIx32, magic);
7408 outs() << " I386";
7411 outs() << " ALL";
7414 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7419 outs() << " X86_64";
7422 outs() << " ALL";
7425 outs() << " Haswell";
7428 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7433 outs() << " ARM";
7436 outs() << " ALL";
7439 outs() << " V4T";
7442 outs() << " V5TEJ";
7445 outs() << " XSCALE";
7448 outs() << " V6";
7451 outs() << " V6M";
7454 outs() << " V7";
7457 outs() << " V7EM";
7460 outs() << " V7K";
7463 outs() << " V7M";
7466 outs() << " V7S";
7469 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7474 outs() << " ARM64";
7477 outs() << " ALL";
7480 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7485 outs() << " PPC";
7488 outs() << " ALL";
7491 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7496 outs() << " PPC64";
7499 outs() << " ALL";
7502 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7507 outs() << format(" %7d", cputype);
7508 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7512 outs() << " LIB64";
7514 outs() << format(" 0x%02" PRIx32,
7519 outs() << " OBJECT";
7522 outs() << " EXECUTE";
7525 outs() << " FVMLIB";
7528 outs() << " CORE";
7531 outs() << " PRELOAD";
7534 outs() << " DYLIB";
7537 outs() << " DYLIB_STUB";
7540 outs() << " DYLINKER";
7543 outs() << " BUNDLE";
7546 outs() << " DSYM";
7549 outs() << " KEXTBUNDLE";
7552 outs() << format(" %10u", filetype);
7555 outs() << format(" %5u", ncmds);
7556 outs() << format(" %10u", sizeofcmds);
7559 outs() << " NOUNDEFS";
7563 outs() << " INCRLINK";
7567 outs() << " DYLDLINK";
7571 outs() << " BINDATLOAD";
7575 outs() << " PREBOUND";
7579 outs() << " SPLIT_SEGS";
7583 outs() << " LAZY_INIT";
7587 outs() << " TWOLEVEL";
7591 outs() << " FORCE_FLAT";
7595 outs() << " NOMULTIDEFS";
7599 outs() << " NOFIXPREBINDING";
7603 outs() << " PREBINDABLE";
7607 outs() << " ALLMODSBOUND";
7611 outs() << " SUBSECTIONS_VIA_SYMBOLS";
7615 outs() << " CANONICAL";
7619 outs() << " WEAK_DEFINES";
7623 outs() << " BINDS_TO_WEAK";
7627 outs() << " ALLOW_STACK_EXECUTION";
7631 outs() << " DEAD_STRIPPABLE_DYLIB";
7635 outs() << " PIE";
7639 outs() << " NO_REEXPORTED_DYLIBS";
7643 outs() << " MH_HAS_TLV_DESCRIPTORS";
7647 outs() << " MH_NO_HEAP_EXECUTION";
7651 outs() << " APP_EXTENSION_SAFE";
7655 outs() << format(" 0x%08" PRIx32, f);
7657 outs() << format(" 0x%08" PRIx32, magic);
7658 outs() << format(" %7d", cputype);
7659 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
7660 outs() << format(" 0x%02" PRIx32,
7662 outs() << format(" %10u", filetype);
7663 outs() << format(" %5u", ncmds);
7664 outs() << format(" %10u", sizeofcmds);
7665 outs() << format(" 0x%08" PRIx32, flags);
7667 outs() << "\n";
7679 outs() << " cmd LC_SEGMENT\n";
7684 outs() << " cmd LC_SEGMENT_64\n";
7689 outs() << " cmdsize " << cmdsize;
7691 outs() << " Inconsistent size\n";
7693 outs() << "\n";
7694 outs() << " segname " << SegName << "\n";
7696 outs() << " vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n";
7697 outs() << " vmsize " << format("0x%016" PRIx64, vmsize) << "\n";
7699 outs() << " vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n";
7700 outs() << " vmsize " << format("0x%08" PRIx64, vmsize) << "\n";
7702 outs
7704 outs() << " (past end of file)\n";
7706 outs() << "\n";
7707 outs() << " filesize " << filesize;
7709 outs() << " (past end of file)\n";
7711 outs() << "\n";
7716 outs() << " maxprot ?" << format("0x%08" PRIx32, maxprot) << "\n";
7718 outs() << " maxprot ";
7719 outs() << ((maxprot & MachO::VM_PROT_READ) ? "r" : "-");
7720 outs() << ((maxprot & MachO::VM_PROT_WRITE) ? "w" : "-");
7721 outs() << ((maxprot & MachO::VM_PROT_EXECUTE) ? "x\n" : "-\n");
7726 outs() << " initprot ?" << format("0x%08" PRIx32, initprot) << "\n";
7728 outs() << " initprot ";
7729 outs() << ((initprot & MachO::VM_PROT_READ) ? "r" : "-");
7730 outs() << ((initprot & MachO::VM_PROT_WRITE) ? "w" : "-");
7731 outs() << ((initprot & MachO::VM_PROT_EXECUTE) ? "x\n" : "-\n");
7734 outs() << " maxprot " << format("0x%08" PRIx32, maxprot) << "\n";
7735 outs() << " initprot " << format("0x%08" PRIx32, initprot) << "\n";
7737 outs() << " nsects " << nsects << "\n";
7739 outs() << " flags";
7741 outs() << " (none)\n";
7744 outs() << " HIGHVM";
7748 outs() << " FVMLIB";
7752 outs() << " NORELOC";
7756 outs() << " PROTECTED_VERSION_1";
7760 outs() << format(" 0x%08" PRIx32, flags) << " (unknown flags)\n";
7762 outs() << "\n";
7765 outs() << " flags " << format("0x%" PRIx32, flags) << "\n";
7776 outs() << "Section\n";
7777 outs() << " sectname " << format("%.16s\n", sectname);
7778 outs() << " segname " << format("%.16s", segname);
7780 outs() << " (does not match segment)\n";
7782 outs() << "\n";
7784 outs() << " addr " << format("0x%016" PRIx64, addr) << "\n";
7785 outs() << " size " << format("0x%016" PRIx64, size);
7787 outs() << " addr " << format("0x%08" PRIx64, addr) << "\n";
7788 outs() << " size " << format("0x%08" PRIx64, size);
7791 outs() << " (past end of file)\n";
7793 outs() << "\n";
7794 outs() << " offset " << offset;
7796 outs() << " (past end of file)\n";
7798 outs() << "\n";
7800 outs() << " align 2^" << align << " (" << align_shifted << ")\n";
7801 outs() << " reloff " << reloff;
7803 outs() << " (past end of file)\n";
7805 outs() << "\n";
7806 outs() << " nreloc " << nreloc;
7808 outs() << " (past end of file)\n";
7810 outs() << "\n";
7813 outs() << " type";
7815 outs() << " S_REGULAR\n";
7817 outs() << " S_ZEROFILL\n";
7819 outs() << " S_CSTRING_LITERALS\n";
7821 outs() << " S_4BYTE_LITERALS\n";
7823 outs() << " S_8BYTE_LITERALS\n";
7825 outs() << " S_16BYTE_LITERALS\n";
7827 outs() << " S_LITERAL_POINTERS\n";
7829 outs() << " S_NON_LAZY_SYMBOL_POINTERS\n";
7831 outs() << " S_LAZY_SYMBOL_POINTERS\n";
7833 outs() << " S_SYMBOL_STUBS\n";
7835 outs() << " S_MOD_INIT_FUNC_POINTERS\n";
7837 outs() << " S_MOD_TERM_FUNC_POINTERS\n";
7839 outs() << " S_COALESCED\n";
7841 outs() << " S_INTERPOSING\n";
7843 outs() << " S_DTRACE_DOF\n";
7845 outs() << " S_LAZY_DYLIB_SYMBOL_POINTERS\n";
7847 outs() << " S_THREAD_LOCAL_REGULAR\n";
7849 outs() << " S_THREAD_LOCAL_ZEROFILL\n";
7851 outs() << " S_THREAD_LOCAL_VARIABLES\n";
7853 outs() << " S_THREAD_LOCAL_VARIABLE_POINTERS\n";
7855 outs() << " S_THREAD_LOCAL_INIT_FUNCTION_POINTERS\n";
7857 outs() << format("0x%08" PRIx32, section_type) << "\n";
7858 outs() << "attributes";
7861 outs() << " PURE_INSTRUCTIONS";
7863 outs() << " NO_TOC";
7865 outs() << " STRIP_STATIC_SYMS";
7867 outs() << " NO_DEAD_STRIP";
7869 outs() << " LIVE_SUPPORT";
7871 outs() << " SELF_MODIFYING_CODE";
7873 outs() << " DEBUG";
7875 outs() << " SOME_INSTRUCTIONS";
7877 outs() << " EXT_RELOC";
7879 outs() << " LOC_RELOC";
7881 outs() << " (none)";
7882 outs() << "\n";
7884 outs() << " flags " << format("0x%08" PRIx32, flags) << "\n";
7885 outs() << " reserved1 " << reserved1;
7891 outs() << " (index into indirect symbol table)\n";
7893 outs() << "\n";
7894 outs() << " reserved2 " << reserved2;
7896 outs() << " (size of stubs)\n";
7898 outs() << "\n";
7903 outs() << " cmd LC_SYMTAB\n";
7904 outs() << " cmdsize " << st.cmdsize;
7906 outs() << " Incorrect size\n";
7908 outs() << "\n";
7909 outs() << " symoff " << st.symoff;
7911 outs() << " (past end of file)\n";
7913 outs() << "\n";
7914 outs() << " nsyms " << st.nsyms;
7921 outs() << " (past end of file)\n";
7923 outs() << "\n";
7929 outs() << " (past end of file)\n";
7931 outs() << "\n";
7933 outs() << " stroff " << st.stroff;
7935 outs() << " (past end of file)\n";
7937 outs() << "\n";
7938 outs() << " strsize " << st.strsize;
7942 outs() << " (past end of file)\n";
7944 outs() << "\n";
7950 outs() << " cmd LC_DYSYMTAB\n";
7951 outs() << " cmdsize " << dyst.cmdsize;
7953 outs() << " Incorrect size\n";
7955 outs() << "\n";
7956 outs() << " ilocalsym " << dyst.ilocalsym;
7958 outs() << " (greater than the number of symbols)\n";
7960 outs() << "\n";
7961 outs() << " nlocalsym " << dyst.nlocalsym;
7966 outs() << " (past the end of the symbol table)\n";
7968 outs() << "\n";
7969 outs() << " iextdefsym " << dyst.iextdefsym;
7971 outs() << " (greater than the number of symbols)\n";
7973 outs() << "\n";
7974 outs() << " nextdefsym " << dyst.nextdefsym;
7978 outs() << " (past the end of the symbol table)\n";
7980 outs() << "\n";
7981 outs() << " iundefsym " << dyst.iundefsym;
7983 outs() << " (greater than the number of symbols)\n";
7985 outs() << "\n";
7986 outs() << " nundefsym " << dyst.nundefsym;
7990 outs() << " (past the end of the symbol table)\n";
7992 outs() << "\n";
7993 outs() << " tocoff " << dyst.tocoff;
7995 outs() << " (past end of file)\n";
7997 outs() << "\n";
7998 outs() << " ntoc " << dyst.ntoc;
8003 outs() << " (past end of file)\n";
8005 outs() << "\n";
8006 outs() << " modtaboff " << dyst.modtaboff;
8008 outs() << " (past end of file)\n";
8010 outs() << "\n";
8011 outs() << " nmodtab " << dyst.nmodtab;
8023 outs() << " (past end of file)\n";
8025 outs() << "\n";
8026 outs() << " extrefsymoff " << dyst.extrefsymoff;
8028 outs() << " (past end of file)\n";
8030 outs() << "\n";
8031 outs() << " nextrefsyms " << dyst.nextrefsyms;
8036 outs() << " (past end of file)\n";
8038 outs() << "\n";
8039 outs() << " indirectsymoff " << dyst.indirectsymoff;
8041 outs() << " (past end of file)\n";
8043 outs() << "\n";
8044 outs() << " nindirectsyms " << dyst.nindirectsyms;
8049 outs() << " (past end of file)\n";
8051 outs() << "\n";
8052 outs() << " extreloff " << dyst.extreloff;
8054 outs() << " (past end of file)\n";
8056 outs() << "\n";
8057 outs() << " nextrel " << dyst.nextrel;
8062 outs() << " (past end of file)\n";
8064 outs() << "\n";
8065 outs() << " locreloff " << dyst.locreloff;
8067 outs() << " (past end of file)\n";
8069 outs() << "\n";
8070 outs() << " nlocrel " << dyst.nlocrel;
8075 outs() << " (past end of file)\n";
8077 outs() << "\n";
8083 outs() << " cmd LC_DYLD_INFO\n";
8085 outs() << " cmd LC_DYLD_INFO_ONLY\n";
8086 outs() << " cmdsize " << dc.cmdsize;
8088 outs() << " Incorrect size\n";
8090 outs() << "\n";
8091 outs() << " rebase_off " << dc.rebase_off;
8093 outs() << " (past end of file)\n";
8095 outs() << "\n";
8096 outs() << " rebase_size " << dc.rebase_size;
8101 outs() << " (past end of file)\n";
8103 outs() << "\n";
8104 outs() << " bind_off " << dc.bind_off;
8106 outs() << " (past end of file)\n";
8108 outs() << "\n";
8109 outs() << " bind_size " << dc.bind_size;
8113 outs() << " (past end of file)\n";
8115 outs() << "\n";
8116 outs() << " weak_bind_off " << dc.weak_bind_off;
8118 outs() << " (past end of file)\n";
8120 outs() << "\n";
8121 outs() << " weak_bind_size " << dc.weak_bind_size;
8125 outs() << " (past end of file)\n";
8127 outs() << "\n";
8128 outs() << " lazy_bind_off " << dc.lazy_bind_off;
8130 outs() << " (past end of file)\n";
8132 outs() << "\n";
8133 outs() << " lazy_bind_size " << dc.lazy_bind_size;
8137 outs() << " (past end of file)\n";
8139 outs() << "\n";
8140 outs() << " export_off " << dc.export_off;
8142 outs() << " (past end of file)\n";
8144 outs() << "\n";
8145 outs() << " export_size " << dc.export_size;
8149 outs() << " (past end of file)\n";
8151 outs() << "\n";
8157 outs() << " cmd LC_ID_DYLINKER\n";
8159 outs() << " cmd LC_LOAD_DYLINKER\n";
8161 outs() << " cmd LC_DYLD_ENVIRONMENT\n";
8163 outs() << " cmd ?(" << dyld.cmd << ")\n";
8164 outs() << " cmdsize " << dyld.cmdsize;
8166 outs() << " Incorrect size\n";
8168 outs() << "\n";
8170 outs
8173 outs() << " name " << P << " (offset " << dyld.name << ")\n";
8178 outs() << " cmd LC_UUID\n";
8179 outs() << " cmdsize " << uuid.cmdsize;
8181 outs() << " Incorrect size\n";
8183 outs() << "\n";
8184 outs() << " uuid ";
8186 outs() << format("%02" PRIX32, uuid.uuid[i]);
8188 outs() << "-";
8190 outs() << "\n";
8194 outs() << " cmd LC_RPATH\n";
8195 outs() << " cmdsize " << rpath.cmdsize;
8197 outs() << " Incorrect size\n";
8199 outs() << "\n";
8201 outs() << " path ?(bad offset " << rpath.path << ")\n";
8204 outs() << " path " << P << " (offset " << rpath.path << ")\n";
8227 outs() << " cmd " << LoadCmdName << '\n';
8228 outs() << " cmdsize " << vd.cmdsize;
8230 outs() << " Incorrect size\n";
8232 outs() << "\n";
8233 outs() << " version "
8238 outs() << "." << Update;
8239 outs() << "\n";
8241 outs() << " sdk n/a";
8243 outs() << " sdk "
8249 outs() << "." << Update;
8250 outs() << "\n";
8254 outs() << " cmd LC_SOURCE_VERSION\n";
8255 outs() << " cmdsize " << sd.cmdsize;
8257 outs() << " Incorrect size\n";
8259 outs() << "\n";
8265 outs() << " version " << a << "." << b;
8267 outs() << "." << c << "." << d << "." << e;
8269 outs() << "." << c << "." << d;
8271 outs() << "." << c;
8272 outs() << "\n";
8276 outs() << " cmd LC_MAIN\n";
8277 outs() << " cmdsize " << ep.cmdsize;
8279 outs() << " Incorrect size\n";
8281 outs() << "\n";
8282 outs() << " entryoff " << ep.entryoff << "\n";
8283 outs() << " stacksize " << ep.stacksize << "\n";
8288 outs() << " cmd LC_ENCRYPTION_INFO\n";
8289 outs() << " cmdsize " << ec.cmdsize;
8291 outs() << " Incorrect size\n";
8293 outs() << "\n";
8294 outs() << " cryptoff " << ec.cryptoff;
8296 outs() << " (past end of file)\n";
8298 outs() << "\n";
8299 outs() << " cryptsize " << ec.cryptsize;
8301 outs() << " (past end of file)\n";
8303 outs() << "\n";
8304 outs() << " cryptid " << ec.cryptid << "\n";
8309 outs() << " cmd LC_ENCRYPTION_INFO_64\n";
8310 outs() << " cmdsize " << ec.cmdsize;
8312 outs() << " Incorrect size\n";
8314 outs() << "\n";
8315 outs() << " cryptoff " << ec.cryptoff;
8317 outs() << " (past end of file)\n";
8319 outs() << "\n";
8320 outs() << " cryptsize " << ec.cryptsize;
8322 outs() << " (past end of file)\n";
8324 outs() << "\n";
8325 outs() << " cryptid " << ec.cryptid << "\n";
8326 outs() << " pad " << ec.pad << "\n";
8331 outs() << " cmd LC_LINKER_OPTION\n";
8332 outs() << " cmdsize " << lo.cmdsize;
8334 outs() << " Incorrect size\n";
8336 outs() << "\n";
8337 outs() << " count " << lo.count << "\n";
8348 outs() << " string #" << i << " " << format("%.*s\n", left, string);
8356 outs() << " count " << lo.count << " does not match number of strings "
8362 outs() << " cmd LC_SUB_FRAMEWORK\n";
8363 outs() << " cmdsize " << sub.cmdsize;
8365 outs() << " Incorrect size\n";
8367 outs() << "\n";
8370 outs() << " umbrella " << P << " (offset " << sub.umbrella << ")\n";
8372 outs() << " umbrella ?(bad offset " << sub.umbrella << ")\n";
8378 outs() << " cmd LC_SUB_UMBRELLA\n";
8379 outs() << " cmdsize " << sub.cmdsize;
8381 outs() << " Incorrect size\n";
8383 outs() << "\n";
8386 outs() << " sub_umbrella " << P << " (offset " << sub.sub_umbrella << ")\n";
8388 outs() << " sub_umbrella ?(bad offset " << sub.sub_umbrella << ")\n";
8394 outs() << " cmd LC_SUB_LIBRARY\n";
8395 outs() << " cmdsize " << sub.cmdsize;
8397 outs() << " Incorrect size\n";
8399 outs() << "\n";
8402 outs() << " sub_library " << P << " (offset " << sub.sub_library << ")\n";
8404 outs() << " sub_library ?(bad offset " << sub.sub_library << ")\n";
8410 outs() << " cmd LC_SUB_CLIENT\n";
8411 outs() << " cmdsize " << sub.cmdsize;
8413 outs() << " Incorrect size\n";
8415 outs() << "\n";
8418 outs() << " client " << P << " (offset " << sub.client << ")\n";
8420 outs() << " client ?(bad offset " << sub.client << ")\n";
8425 outs() << " cmd LC_ROUTINES\n";
8426 outs() << " cmdsize " << r.cmdsize;
8428 outs() << " Incorrect size\n";
8430 outs() << "\n";
8431 outs() << " init_address " << format("0x%08" PRIx32, r.init_address) << "\n";
8432 outs() << " init_module " << r.init_module << "\n";
8433 outs() << " reserved1 " << r.reserved1 << "\n";
8434 outs() << " reserved2 " << r.reserved2 << "\n";
8435 outs() << " reserved3 " << r.reserved3 << "\n";
8436 outs() << " reserved4 " << r.reserved4 << "\n";
8437 outs() << " reserved5 " << r.reserved5 << "\n";
8438 outs() << " reserved6 " << r.reserved6 << "\n";
8442 outs() << " cmd LC_ROUTINES_64\n";
8443 outs() << " cmdsize " << r.cmdsize;
8445 outs() << " Incorrect size\n";
8447 outs() << "\n";
8448 outs() << " init_address " << format("0x%016" PRIx64, r.init_address) << "\n";
8449 outs() << " init_module " << r.init_module << "\n";
8450 outs() << " reserved1 " << r.reserved1 << "\n";
8451 outs() << " reserved2 " << r.reserved2 << "\n";
8452 outs() << " reserved3 " << r.reserved3 << "\n";
8453 outs() << " reserved4 " << r.reserved4 << "\n";
8454 outs() << " reserved5 " << r.reserved5 << "\n";
8455 outs() << " reserved6 " << r.reserved6 << "\n";
8459 outs() << " rax " << format("0x%016" PRIx64, cpu64.rax);
8460 outs() << " rbx " << format("0x%016" PRIx64, cpu64.rbx);
8461 outs() << " rcx " << format("0x%016" PRIx64, cpu64.rcx) << "\n";
8462 outs() << " rdx " << format("0x%016" PRIx64, cpu64.rdx);
8463 outs() << " rdi " << format("0x%016" PRIx64, cpu64.rdi);
8464 outs() << " rsi " << format("0x%016" PRIx64, cpu64.rsi) << "\n";
8465 outs() << " rbp " << format("0x%016" PRIx64, cpu64.rbp);
8466 outs() << " rsp " << format("0x%016" PRIx64, cpu64.rsp);
8467 outs() << " r8 " << format("0x%016" PRIx64, cpu64.r8) << "\n";
8468 outs() << " r9 " << format("0x%016" PRIx64, cpu64.r9);
8469 outs() << " r10 " << format("0x%016" PRIx64, cpu64.r10);
8470 outs() << " r11 " << format("0x%016" PRIx64, cpu64.r11) << "\n";
8471 outs() << " r12 " << format("0x%016" PRIx64, cpu64.r12);
8472 outs() << " r13 " << format("0x%016" PRIx64, cpu64.r13);
8473 outs() << " r14 " << format("0x%016" PRIx64, cpu64.r14) << "\n";
8474 outs() << " r15 " << format("0x%016" PRIx64, cpu64.r15);
8475 outs() << " rip " << format("0x%016" PRIx64, cpu64.rip) << "\n";
8476 outs() << "rflags " << format("0x%016" PRIx64, cpu64.rflags);
8477 outs() << " cs " << format("0x%016" PRIx64, cpu64.cs);
8478 outs() << " fs " << format("0x%016" PRIx64, cpu64.fs) << "\n";
8479 outs() << " gs " << format("0x%016" PRIx64, cpu64.gs) << "\n";
8484 outs() << "\t mmst_reg ";
8486 outs() << format("%02" PRIx32, (r.mmst_reg[f] & 0xff)) << " ";
8487 outs() << "\n";
8488 outs() << "\t mmst_rsrv ";
8490 outs() << format("%02" PRIx32, (r.mmst_rsrv[f] & 0xff)) << " ";
8491 outs() << "\n";
8496 outs() << "\t xmm_reg ";
8498 outs() << format("%02" PRIx32, (r.xmm_reg[f] & 0xff)) << " ";
8499 outs() << "\n";
8503 outs() << "\t fpu_reserved[0] " << fpu.fpu_reserved[0];
8504 outs() << " fpu_reserved[1] " << fpu.fpu_reserved[1] << "\n";
8505 outs() << "\t control: invalid " << fpu.fpu_fcw.invalid;
8506 outs() << " denorm " << fpu.fpu_fcw.denorm;
8507 outs() << " zdiv " << fpu.fpu_fcw.zdiv;
8508 outs() << " ovrfl " << fpu.fpu_fcw.ovrfl;
8509 outs() << " undfl " << fpu.fpu_fcw.undfl;
8510 outs() << " precis " << fpu.fpu_fcw.precis << "\n";
8511 outs() << "\t\t pc ";
8513 outs() << "FP_PREC_24B ";
8515 outs() << "FP_PREC_53B ";
8517 outs() << "FP_PREC_64B ";
8519 outs() << fpu.fpu_fcw.pc << " ";
8520 outs() << "rc ";
8522 outs() << "FP_RND_NEAR ";
8524 outs() << "FP_RND_DOWN ";
8526 outs() << "FP_RND_UP ";
8528 outs() << "FP_CHOP ";
8529 outs() << "\n";
8530 outs() << "\t status: invalid " << fpu.fpu_fsw.invalid;
8531 outs() << " denorm " << fpu.fpu_fsw.denorm;
8532 outs() << " zdiv " << fpu.fpu_fsw.zdiv;
8533 outs() << " ovrfl " << fpu.fpu_fsw.ovrfl;
8534 outs() << " undfl " << fpu.fpu_fsw.undfl;
8535 outs() << " precis " << fpu.fpu_fsw.precis;
8536 outs() << " stkflt " << fpu.fpu_fsw.stkflt << "\n";
8537 outs() << "\t errsumm " << fpu.fpu_fsw.errsumm;
8538 outs() << " c0 " << fpu.fpu_fsw.c0;
8539 outs() << " c1 " << fpu.fpu_fsw.c1;
8540 outs() << " c2 " << fpu.fpu_fsw.c2;
8541 outs() << " tos " << fpu.fpu_fsw.tos;
8542 outs() << " c3 " << fpu.fpu_fsw.c3;
8543 outs() << " busy " << fpu.fpu_fsw.busy << "\n";
8544 outs() << "\t fpu_ftw " << format("0x%02" PRIx32, fpu.fpu_ftw);
8545 outs() << " fpu_rsrv1 " << format("0x%02" PRIx32, fpu.fpu_rsrv1);
8546 outs() << " fpu_fop " << format("0x%04" PRIx32, fpu.fpu_fop);
8547 outs() << " fpu_ip " << format("0x%08" PRIx32, fpu.fpu_ip) << "\n";
8548 outs() << "\t fpu_cs " << format("0x%04" PRIx32, fpu.fpu_cs);
8549 outs() << " fpu_rsrv2 " << format("0x%04" PRIx32, fpu.fpu_rsrv2);
8550 outs() << " fpu_dp " << format("0x%08" PRIx32, fpu.fpu_dp);
8551 outs() << " fpu_ds " << format("0x%04" PRIx32, fpu.fpu_ds) << "\n";
8552 outs() << "\t fpu_rsrv3 " << format("0x%04" PRIx32, fpu.fpu_rsrv3);
8553 outs() << " fpu_mxcsr " << format("0x%08" PRIx32, fpu.fpu_mxcsr);
8554 outs() << " fpu_mxcsrmask " << format("0x%08" PRIx32, fpu.fpu_mxcsrmask);
8555 outs() << "\n";
8556 outs() << "\t fpu_stmm0:\n";
8558 outs() << "\t fpu_stmm1:\n";
8560 outs() << "\t fpu_stmm2:\n";
8562 outs() << "\t fpu_stmm3:\n";
8564 outs() << "\t fpu_stmm4:\n";
8566 outs() << "\t fpu_stmm5:\n";
8568 outs() << "\t fpu_stmm6:\n";
8570 outs() << "\t fpu_stmm7:\n";
8572 outs() << "\t fpu_xmm0:\n";
8574 outs() << "\t fpu_xmm1:\n";
8576 outs() << "\t fpu_xmm2:\n";
8578 outs() << "\t fpu_xmm3:\n";
8580 outs() << "\t fpu_xmm4:\n";
8582 outs() << "\t fpu_xmm5:\n";
8584 outs() << "\t fpu_xmm6:\n";
8586 outs() << "\t fpu_xmm7:\n";
8588 outs() << "\t fpu_xmm8:\n";
8590 outs() << "\t fpu_xmm9:\n";
8592 outs() << "\t fpu_xmm10:\n";
8594 outs() << "\t fpu_xmm11:\n";
8596 outs() << "\t fpu_xmm12:\n";
8598 outs() << "\t fpu_xmm13:\n";
8600 outs() << "\t fpu_xmm14:\n";
8602 outs() << "\t fpu_xmm15:\n";
8604 outs() << "\t fpu_rsrv4:\n";
8606 outs() << "\t ";
8608 outs() << format("%02" PRIx32, fpu.fpu_rsrv4[f * g]) << " ";
8609 outs() << "\n";
8611 outs
8612 outs() << "\n";
8616 outs() << "\t trapno " << format("0x%08" PRIx32, exc64.trapno);
8617 outs() << " err " << format("0x%08" PRIx32, exc64.err);
8618 outs() << " faultvaddr " << format("0x%016" PRIx64, exc64.faultvaddr) << "\n";
8624 outs() << " cmd LC_THREAD\n";
8626 outs() << " cmd LC_UNIXTHREAD\n";
8628 outs() << " cmd " << t.cmd << " (unknown)\n";
8629 outs() << " cmdsize " << t.cmdsize;
8631 outs() << " Incorrect size\n";
8633 outs() << "\n";
8659 outs() << " flavor x86_THREAD_STATE64\n";
8661 outs() << " count x86_THREAD_STATE64_COUNT\n";
8663 outs() << " count " << count
8679 outs() << " flavor x86_THREAD_STATE\n";
8681 outs() << " count x86_THREAD_STATE_COUNT\n";
8683 outs() << " count " << count
8698 outs() << "\t tsh.flavor x86_THREAD_STATE64 ";
8700 outs() << "tsh.count x86_THREAD_STATE64_COUNT\n";
8702 outs() << "tsh.count " << ts.tsh.count
8706 outs() << "\t tsh.flavor " << ts.tsh.flavor << " tsh.count "
8710 outs() << " flavor x86_FLOAT_STATE\n";
8712 outs() << " count x86_FLOAT_STATE_COUNT\n";
8714 outs() << " count " << count << " (not x86_FLOAT_STATE_COUNT)\n";
8728 outs() << "\t fsh.flavor x86_FLOAT_STATE64 ";
8730 outs() << "fsh.count x86_FLOAT_STATE64_COUNT\n";
8732 outs() << "fsh.count " << fs.fsh.count
8736 outs() << "\t fsh.flavor " << fs.fsh.flavor << " fsh.count "
8740 outs() << " flavor x86_EXCEPTION_STATE\n";
8742 outs() << " count x86_EXCEPTION_STATE_COUNT\n";
8744 outs() << " count " << count
8759 outs() << "\t esh.flavor x86_EXCEPTION_STATE64\n";
8761 outs() << "\t esh.count x86_EXCEPTION_STATE64_COUNT\n";
8763 outs() << "\t esh.count " << es.esh.count
8767 outs() << "\t esh.flavor " << es.esh.flavor << " esh.count "
8771 outs() << " flavor " << flavor << " (unknown)\n";
8772 outs() << " count " << count << "\n";
8773 outs() << " state (unknown)\n";
8797 outs() << " flavor " << flavor << "\n";
8798 outs() << " count " << count << "\n";
8799 outs() << " state (Unknown cputype/cpusubtype)\n";
8807 outs() << " cmd LC_ID_DYLIB\n";
8809 outs() << " cmd LC_LOAD_DYLIB\n";
8811 outs() << " cmd LC_LOAD_WEAK_DYLIB\n";
8813 outs() << " cmd LC_REEXPORT_DYLIB\n";
8815 outs() << " cmd LC_LAZY_LOAD_DYLIB\n";
8817 outs() << " cmd LC_LOAD_UPWARD_DYLIB\n";
8819 outs() << " cmd " << dl.cmd << " (unknown)\n";
8820 outs() << " cmdsize " << dl.cmdsize;
8822 outs() << " Incorrect size\n";
8824 outs() << "\n";
8827 outs() << " name " << P << " (offset " << dl.dylib.name << ")\n";
8829 outs() << " name ?(bad offset " << dl.dylib.name << ")\n";
8831 outs() << " time stamp " << dl.dylib.timestamp << " ";
8833 outs() << ctime(&t);
8834 outs() << " current version ";
8836 outs() << "n/a\n";
8838 outs() << ((dl.dylib.current_version >> 16) & 0xffff) << "."
8841 outs() << "compatibility version ";
8843 outs() << "n/a\n";
8845 outs() << ((dl.dylib.compatibility_version >> 16) & 0xffff) << "."
8853 outs() << " cmd LC_CODE_SIGNATURE\n";
8855 outs() << " cmd LC_SEGMENT_SPLIT_INFO\n";
8857 outs() << " cmd LC_FUNCTION_STARTS\n";
8859 outs() << " cmd LC_DATA_IN_CODE\n";
8861 outs() << " cmd LC_DYLIB_CODE_SIGN_DRS\n";
8863 outs() << " cmd LC_LINKER_OPTIMIZATION_HINT\n";
8865 outs() << " cmd " << ld.cmd << " (?)\n";
8866 outs() << " cmdsize " << ld.cmdsize;
8868 outs() << " Incorrect size\n";
8870 outs() << "\n";
8871 outs() << " dataoff " << ld.dataoff;
8873 outs() << " (past end of file)\n";
8875 outs() << "\n";
8876 outs() << " datasize " << ld.datasize;
8880 outs() << " (past end of file)\n";
8882 outs() << "\n";
8890 outs() << "Load command " << Index++ << "\n";
9005 outs() << " cmd ?(" << format("0x%08" PRIx32, Command.C.cmd)
9007 outs() << " cmdsize " << Command.C.cmdsize << "\n";
9066 outs() << "[re-export] ";
9068 outs() << format("0x%08llX ",
9070 outs() << Entry.name();
9073 outs() << " [";
9075 outs() << "weak_def";
9080 outs() << ", ";
9081 outs() << "per-thread";
9086 outs() << ", ";
9087 outs() << "absolute";
9092 outs() << ", ";
9093 outs() << format("resolver=0x%08llX", Entry.other());
9096 outs() << "]";
9103 outs() << " (from " << DylibName << ")";
9105 outs() << " (" << Entry.otherName() << " from " << DylibName << ")";
9107 outs() << "\n";
9213 outs() << "segment section address type\n";
9222 outs() << format("%-8s %-18s 0x%08" PRIX64 " %s\n",
9257 outs() << "segment section address type "
9271 outs() << left_justify(SegmentName, 8) << " "
9289 outs() << "segment section address "
9300 outs() << left_justify(SegmentName, 8) << " "
9316 outs() << "segment section address "
9321 outs() << " strong "
9333 outs() << left_justify(SegmentName, 8) << " "