/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 | 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.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 | 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/valgrind/coregrind/ |
D | fixup_macho_loadcmds.c | 5 Can be compiled as either a 32- or 64-bit program (doesn't matter). 13 much newer and concerns linking 64-bit tool executables for 16 --- Problem (1) ------------------------------------------------ 23 The bug causes 64-bit tool executables to segfault at startup, 30 tells the linker "-stack_addr 0x134000000 -stack_size 0x800000". 82 --- Problem (2) ------------------------------------------------ 115 #include <mach-o/loader.h> 116 #include <mach-o/nlist.h> 117 #include <mach-o/fat.h> 118 #include <mach/i386/thread_status.h> [all …]
|
D | launcher-darwin.c | 2 /*--------------------------------------------------------------------*/ 3 /*--- Launching valgrind launcher-darwin.c ---*/ 4 /*--------------------------------------------------------------------*/ 10 Copyright (C) 2000-2015 Julian Seward 26 02111-1307, USA. 33 no-glibc-usage etc. */ 49 #include <mach-o/fat.h> 50 #include <mach-o/loader.h> 118 memcpy(fullname, path, colon - path); in find_client() 119 fullname[colon - path] = '\0'; in find_client() [all …]
|
/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/valgrind/coregrind/m_ume/ |
D | macho.c | 2 /*--------------------------------------------------------------------*/ 3 /*--- User-mode execve() for Mach-O executables m_ume_macho.c ---*/ 4 /*--------------------------------------------------------------------*/ 10 Copyright (C) 2005-2015 Apple Inc. 26 02111-1307, USA. 50 #include <mach/mach.h> 52 #include <mach-o/dyld.h> 53 #include <mach-o/fat.h> 54 #include <mach-o/loader.h> 79 VG_(printf)("valgrind: mmap-FIXED(0x%llx, %lld) failed in UME (%s) " in check_mmap() [all …]
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readmacho.c | 2 /*--------------------------------------------------------------------*/ 3 /*--- Reading of syms & debug info from Mach-O files. ---*/ 4 /*--- readmacho.c ---*/ 5 /*--------------------------------------------------------------------*/ 11 Copyright (C) 2005-2015 Apple Inc. 27 02111-1307, USA. 59 /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ 60 #include <mach-o/loader.h> 61 #include <mach-o/nlist.h> 62 #include <mach-o/fat.h> [all …]
|
/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/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/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/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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MachO.h | 1 //===-- llvm/Support/MachO.h - The MachO file format ------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 20 // in the headers in /usr/include/mach (on darwin systems) to avoid conflicts 24 // Enums from <mach-o/loader.h> 193 BindSpecialDylibMainExecutable = -1u, // BIND_SPECIAL_DYLIB_MAIN_EXECUTABLE 194 BindSpecialDylibFlatLookup = -2u, // BIND_SPECIAL_DYLIB_FLAT_LOOKUP 277 // Structs from <mach-o/loader.h> 618 // Structs from <mach-o/fat.h> 632 // Structs from <mach-o/fat.h> [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()
|
/external/syslinux/efi32/com32/gpllib/ |
D | libgpl.c32 | ... filesystem called ST AVFS. DOS access or SpeedStor 12-bit FAT extended partition DOS R/O or SpeedStor ... |
D | libgpl.elf | ... filesystem called ST AVFS. DOS access or SpeedStor 12-bit FAT extended partition DOS R/O or SpeedStor ... |
/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/syslinux/bios/com32/gpllib/ |
D | libgpl.c32 | ... filesystem called ST AVFS. DOS access or SpeedStor 12-bit FAT extended partition DOS R/O or SpeedStor ... |
D | libgpl.elf | ... filesystem called ST AVFS. DOS access or SpeedStor 12-bit FAT extended partition DOS R/O or SpeedStor ... |
/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/lzma/CPP/7zip/ |
D | Guid.txt | 1 {23170F69-40C1-278A-0000-00yy00xx0000} 119 00 - 04 // old IFolderManager 131 {23170F69-40C1-278A-1000-000110xx0000} 160 DA Fat 165 DF Mach-O 183 {23170F69-40C1-278A-1000-000100030000} CAgentArchiveHandle 184 {23170F69-40C1-278A-1000-000100020000} ContextMenu.h::CZipContextMenu 186 {23170F69-40C1-278B- old codecs clsids 188 {23170F69-40C1-278D-1000-000100020000} OptionsDialog.h::CLSID_CSevenZipOptions 190 {23170F69-40C1-2790-id} Codec Decoders [all …]
|