| /external/google-breakpad/src/common/mac/ |
| D | macho_reader.h | 1 // -*- mode: C++ -*- 32 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 34 // macho_reader.h: A class for parsing Mach-O files. 39 #include <mach-o/loader.h> 40 #include <mach-o/fat.h> 69 // A parser for fat binary files, used to store universal binaries. 70 // When applied to a (non-fat) Mach-O file, this behaves as if the 71 // file were a fat file containing a single object file. 75 // A class for reporting errors found while parsing fat binary files. The 84 // The data does not begin with a fat binary or Mach-O magic number. [all …]
|
| D | macho_walker.cc | 30 // macho_walker.cc: Iterate over the load commands in a mach-o file 39 #include <mach-o/arch.h> 40 #include <mach-o/loader.h> 41 #include <mach-o/swap.h> 54 : file_(-1), in MachoWalker() 67 : file_(-1), in MachoWalker() 78 if (file_ != -1) in ~MachoWalker() 89 valid_cpu_type = arch->cputype; in WalkHeader() 111 size = memory_size_ - static_cast<size_t>(offset); in ReadBytes() 134 // Read the magic bytes that's common amongst all mach-o files in FindHeader() [all …]
|
| D | macho_reader_unittest.cc | 30 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 197 : fat(kBigEndian), in FatReaderFixture() 203 // here, start, and Mark are file offsets in 'fat'. in FatReaderFixture() 204 fat.start() = 0; in FatReaderFixture() 206 // Append a 'fat_arch' entry to 'fat', with the given field values. 209 fat in AppendFatArch() 216 // Append |n| dummy 'fat_arch' entries to 'fat'. The cpu type and 223 ASSERT_TRUE(fat.GetContents(&contents)); in ReadFat() 232 test_assembler::Section fat; member 245 fat in TEST_F() [all …]
|
| D | dump_syms.h | 1 // -*- mode: c++ -*- 32 // Author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 35 // reading debugging information from Mach-O files and writing it out as a 39 #include <mach-o/loader.h> 71 // the name of a universal binary, a Mach-O file, or a dSYM bundle 77 // filename-related operations more fully on NSString values.) 143 // then the data is .eh_frame-format data; otherwise, it is standard DWARF 171 // object_filename_ contains. If object_filename_ refers to a fat binary, 172 // this may have more than one element; if it refers to a Mach-O file, this 182 // fat binary, it includes an indication of the particular architecture
|
| D | macho_reader.cc | 30 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 68 fprintf(stderr, "%s: file is neither a fat binary file" in BadHeader() 69 " nor a Mach-O object file\n", filename_.c_str()); in BadHeader() 87 // Fat binaries always use big-endian, so read the magic number in in Read() 88 // that endianness. To recognize Mach-O magic numbers, which can use in Read() 94 // How many object files does this fat binary contain? in Read() 97 reporter_->TooShort(); in Read() 106 // Read this object file entry, byte-swapping as appropriate. in Read() 107 cursor >> objfile->cputype in Read() 108 >> objfile->cpusubtype in Read() [all …]
|
| D | dump_syms.mm | 1 // -*- mode: c++ -*- 32 // Author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 39 #include <mach-o/arch.h> 40 #include <mach-o/fat.h> 47 #include "common/dwarf/bytereader-inl.h" 117 // there's nothing more for us to strip off --- lose. 119 fprintf(stderr, "Unable to find DWARF-bearing file in bundle: %s\n", 176 fprintf(stderr, "Fat binary file contains *no* architectures: %s\n", 205 arch_set = SetArchitecture(arch_info->cputype, arch_info->cpusubtype); 213 cpu_type_t cpu_type = selected_object_file_->cputype; [all …]
|
| /external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ |
| D | dwarfdump-macho-universal.test | 2 RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s 4 CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64 6 CHECK-NOT: {{NULL|DW_TAG}} 9 CHECK: fat-test.o(i386): file format Mach-O 32-bit i386 11 CHECK-NOT: {{NULL|DW_TAG}} 14 CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64 16 CHECK-NOT: {{NULL|DW_TAG}}
|
| /external/llvm/test/DebugInfo/ |
| D | dwarfdump-macho-universal.test | 1 Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise 2 RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s 4 CHECK: fat-test.o (x86_64): file format Mach-O 64-bit x86-64 6 CHECK-NOT: {{NULL|DW_TAG}} 9 CHECK: fat-test.o (i386): file format Mach-O 32-bit i386 11 CHECK-NOT: {{NULL|DW_TAG}} 14 CHECK: fat-test.o (x86_64h): file format Mach-O 64-bit x86-64 16 CHECK-NOT: {{NULL|DW_TAG}}
|
| /external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-dwarfdump/X86/ |
| D | archive.test | 1 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 3 CHECK: libfat-test.a(x86_64)(fat-test.o): file format Mach-O 64-bit x86-64 5 CHECK: libfat-test.a(i386)(fat-test.o): file format Mach-O 32-bit i386 8 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 9 RUN: --arch=i386 | FileCheck %s --check-prefix=I386 10 I386-NOT: 64-bit 11 I386: file format Mach-O 32-bit i386 12 I386-NOT: 64-bit 14 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 15 RUN: --arch=i386 --arch=x86_64 | FileCheck %s [all …]
|
| /external/llvm/test/ObjectYAML/MachO/ |
| D | fat_macho_i386_x86_64.yaml | 3 --- !fat-mach-o 8 - cputype: 0x00000007 13 - cputype: 0x01000007 19 - FileHeader: 27 - FileHeader: 39 #CHECK: --- !fat-mach-o 44 #CHECK: - cputype: 0x00000007 49 #CHECK: - cputype: 0x01000007 55 #CHECK: - !mach-o 64 #CHECK: - !mach-o
|
| /external/swiftshader/third_party/llvm-7.0/llvm/test/ObjectYAML/MachO/ |
| D | fat_macho_i386_x86_64.yaml | 3 --- !fat-mach-o 8 - cputype: 0x00000007 13 - cputype: 0x01000007 19 - FileHeader: 27 - FileHeader: 39 #CHECK: --- !fat-mach-o 44 #CHECK: - cputype: 0x00000007 49 #CHECK: - cputype: 0x01000007 55 #CHECK: - !mach-o 64 #CHECK: - !mach-o
|
| /external/llvm/test/Object/ |
| D | macho-invalid.test | 1 // An odd Mach-O file, with just a mach header with all but the magic field 4 RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds -macho \ 5 RUN: | FileCheck -check-prefix ZERO-NCMDS %s 6 ZERO-NCMDS: MH_MAGIC_64 0 0 0x00 OBJECT 0 0 0x00000000 8 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command 2>&… 9 RUN: | FileCheck -check-prefix INCOMPLETE-LOADC %s 10 INCOMPLETE-LOADC: truncated or malformed object (load command 0 extends past the end all load comma… 12 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command.1 2… 13 RUN: | FileCheck -check-prefix INCOMPLETE-LOADC-1 %s 14 INCOMPLETE-LOADC-1: truncated or malformed object (load command 1 extends past the end all load com… [all …]
|
| /external/google-breakpad/src/client/mac/handler/ |
| D | breakpad_nlist_64.cc | 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 59 * The version of nlist used as a base is from 10.5.2, libc-498 60 * http://www.opensource.apple.com/darwinsource/10.5.2/Libc-498/gen/nlist.c 63 * http://www.opensource.apple.com/darwinsource/tarballs/apsl/Libc-498.tar.gz 65 * I've modified it to be compatible with 64-bit images. 72 #include <mach-o/nlist.h> 73 #include <mach-o/loader.h> 74 #include <mach-o/fat.h> 75 #include <mach/mach.h> 100 #define NMAGIC 0410 /* read-only text */ [all …]
|
| /external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
| D | macho-invalid.test | 1 // An odd Mach-O file, with just a mach header with all but the magic field 4 RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds -macho \ 5 RUN: | FileCheck -check-prefix ZERO-NCMDS %s 6 ZERO-NCMDS: MH_MAGIC_64 0 0 0x00 OBJECT 0 0 0x00000000 8 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command 2>&… 9 RUN: | FileCheck -check-prefix INCOMPLETE-LOADC %s 10 INCOMPLETE-LOADC: truncated or malformed object (load command 0 extends past the end all load comma… 12 RUN: not llvm-objdump -macho -private-headers %p/Inputs/macho64-invalid-incomplete-load-command.1 2… 13 RUN: | FileCheck -check-prefix INCOMPLETE-LOADC-1 %s 14 INCOMPLETE-LOADC-1: truncated or malformed object (load command 1 extends past the end all load com… [all …]
|
| /external/google-breakpad/src/tools/mac/dump_syms/ |
| D | macho_dump.cc | 30 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com> 32 // macho_dump.cc: Dump the contents of a Mach-O file. This is mostly 38 #include <mach-o/arch.h> 102 printf(" load command %d: %s-bit segment '%s'\n" in SegmentCommand() 115 return reader_->WalkSegmentSections(segment, &dump_section); in SegmentCommand() 130 check_syscall(mapping == (void *)-1 ? -1 : 0, in DumpFile() 150 " fat header:\n:" in DumpFile() 154 i, fat_arch_info->name, fat_arch_info->description, in DumpFile() 172 printf(" Mach-O header:\n" in DumpFile() 178 macho_arch_info->name, macho_arch_info->description, in DumpFile() [all …]
|
| /external/llvm/lib/Object/ |
| D | MachOUniversal.cpp | 1 //===- MachOUniversal.cpp - Mach-O universal binary -------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 27 std::string StringMsg = "truncated or malformed fat file (" + Msg.str() + ")"; in malformedError() 36 // Universal binary headers have big-endian byte order. in getUniversalBinaryStruct() 45 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch() 49 StringRef ParentData = Parent->getData(); in ObjectForArch() 50 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch() 57 } else { // Parent->getMagic() == MachO::FAT_MAGIC_64 in ObjectForArch() 74 StringRef ParentData = Parent->getData(); in getAsObjectFile() [all …]
|
| /external/llvm/lib/ObjectYAML/ |
| D | ObjectYAML.cpp | 1 //===- ObjectYAML.cpp - YAML utilities for object files -------------------===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 39 } else if (IO.mapTag("!mach-o")) { in mapping() 42 } else if (IO.mapTag("!fat-mach-o")) { in mapping() 48 std::string Tag = In.getCurrentNode()->getRawTag(); in mapping()
|
| D | MachOYAML.cpp | 1 //===- MachOYAML.cpp - MachO YAMLIO implementation ------------------------===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 38 memset((void *)&Val[Scalar.size()], 0, 16 - Scalar.size()); in input() 51 Out << "-"; in output() 58 if (Scalar[Idx] == '-' || OutIdx >= 16) in input() 90 // If the context isn't already set, tag the document as !mach-o. in mapping() 91 // For Fat files there will be a different tag so they can be differentiated. in mapping() 95 IO.mapTag("!mach-o", true); in mapping() 125 IO.mapTag("!fat-mach-o", true); in mapping()
|
| /external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
| D | ObjectYAML.cpp | 1 //===- ObjectYAML.cpp - YAML utilities for object files -------------------===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 42 } else if (IO.mapTag("!mach-o")) { in mapping() 45 } else if (IO.mapTag("!fat-mach-o")) { in mapping() 54 std::string Tag = In.getCurrentNode()->getRawTag(); in mapping()
|
| /external/llvm/include/llvm/Object/ |
| D | MachOUniversal.h | 1 //===- MachOUniversal.h - Mach-O universal binaries -------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 10 // This file declares Mach-O fat/universal binaries. 12 //===----------------------------------------------------------------------===// 57 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUType() 59 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getCPUType() 63 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUSubType() 65 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getCPUSubType() 69 if (Parent->getMagic() == MachO::FAT_MAGIC) in getOffset() 71 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getOffset() [all …]
|
| /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
| D | MachOUniversal.h | 1 //===- MachOUniversal.h - Mach-O universal binaries -------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 10 // This file declares Mach-O fat/universal binaries. 12 //===----------------------------------------------------------------------===// 57 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUType() 59 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getCPUType() 63 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUSubType() 65 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getCPUSubType() 69 if (Parent->getMagic() == MachO::FAT_MAGIC) in getOffset() 71 else // Parent->getMagic() == MachO::FAT_MAGIC_64 in getOffset() [all …]
|
| /external/google-breakpad/src/tools/mac/upload_system_symbols/ |
| D | upload_system_symbols.go | 38 The tool can also be used to only dump libraries or upload from a directory. See -help for more 62 …breakpadTools = flag.String("breakpad-tools", "out/Release/", "Path to the Breakpad tools direc… 63 …uploadOnlyPath = flag.String("upload-from", "", "Upload a directory of symbol files that has bee… 64 …dumpOnlyPath = flag.String("dump-to", "", "Dump the symbols to the specified directory, but do… 65 …systemRoot = flag.String("system-root", "", "Path to the root of the Mac OS X system whose s… 103 // -upload-from specified, so handle that case early. 111 log.Fatal("Need a -system-root to dump symbols for") 115 // -dump-to specified, so make sure that the path is a directory. 117 log.Fatal("-dump-to location: %v", err) 119 log.Fatal("-dump-to location is not a directory") [all …]
|
| /external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
| D | MachOUniversal.cpp | 1 //===- MachOUniversal.cpp - Mach-O universal binary -------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 27 std::string StringMsg = "truncated or malformed fat file (" + Msg.str() + ")"; in malformedError() 36 // Universal binary headers have big-endian byte order. in getUniversalBinaryStruct() 46 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch() 50 StringRef ParentData = Parent->getData(); in ObjectForArch() 51 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch() 55 } else { // Parent->getMagic() == MachO::FAT_MAGIC_64 in ObjectForArch() 69 StringRef ParentData = Parent->getData(); in getAsObjectFile() [all …]
|
| /external/lzma/CPP/7zip/ |
| D | Guid.txt | 1 {23170F69-40C1-278A-0000-00yy00xx0000} 141 00 - 04 // old IFolderManager 153 {23170F69-40C1-278A-1000-000110xx0000} 189 DA Fat 194 DF Mach-O 212 {23170F69-40C1-278A-1000-000100020000} ContextMenu.h::CZipContextMenu 214 // {23170F69-40C1-278A-1000-000100030000} // CAgentArchiveHandler 215 // {23170F69-40C1-278B- old codecs clsids 216 // {23170F69-40C1-278D-1000-000100020000} OptionsDialog.h::CLSID_CSevenZipOptions 218 {23170F69-40C1-2790-id} Codec Decoders [all …]
|
| /external/u-boot/doc/imx/mkimage/ |
| D | imximage.txt | 1 --------------------------------------------- 3 --------------------------------------------- 5 This document describes how to set up a U-Boot image that can be booted 15 For more details refer Chapter 2 - System Boot and section 2.14 19 -------------- 20 ./tools/mkimage -l <mx u-boot_file> 23 ./tools/mkimage -T imximage \ 24 -n <board specific configuration file> \ 25 -e <execution address> -d <u-boot binary> <output image file> 28 ./tools/mkimage -n ./board/freescale/mx51evk/imximage.cfg \ [all …]
|