Home
last modified time | relevance | path

Searched refs:sizeofcmds (Results 1 – 19 of 19) sorted by relevance

/external/google-breakpad/src/client/mac/handler/
Dbreakpad_nlist_64.cc284 (struct load_command *)malloc(mh.sizeofcmds); in __breakpad_fdnlist()
288 if (read(fd, (char *)load_commands, mh.sizeofcmds) != in __breakpad_fdnlist()
289 (ssize_t)mh.sizeofcmds) { in __breakpad_fdnlist()
301 (char *)load_commands + mh.sizeofcmds) { in __breakpad_fdnlist()
Ddynamic_images.cc471 sizeof(mach_header_type) + header->sizeofcmds; in ReadImageInfo()
/external/google-breakpad/src/common/mac/
Dmacho_utilities.cc69 mh->sizeofcmds = ByteSwap(mh->sizeofcmds); in breakpad_swap_mach_header_64()
/external/lldb/source/Host/macosx/
DSymbols.cpp78 const uint32_t sizeofcmds = data.GetU32(&data_offset); // the size of all the load commands in SkinnyMachOFileContainsArchAndUUID() local
102 if (data.GetByteSize() < sizeof(struct mach_header_64) + sizeofcmds) in SkinnyMachOFileContainsArchAndUUID()
104 …a_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header_64) + sizeofcmds)); in SkinnyMachOFileContainsArchAndUUID()
110 if (data.GetByteSize() < sizeof(struct mach_header) + sizeofcmds) in SkinnyMachOFileContainsArchAndUUID()
112 …data_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header) + sizeofcmds)); in SkinnyMachOFileContainsArchAndUUID()
/external/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp157 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); in GetDynamicLoaderAddress()
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-private-headers.test26 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
122 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
446 FATi386: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
450 NON_VERBOSE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
81 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
/external/llvm/test/tools/llvm-objdump/ARM/
Dmacho-private-headers.test6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
128 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
/external/llvm/include/llvm/Support/
DMachO.h542 uint32_t sizeofcmds; member
552 uint32_t sizeofcmds; member
1007 sys::swapByteOrder(mh.sizeofcmds); in swapStruct()
1017 sys::swapByteOrder(H.sizeofcmds); in swapStruct()
/external/valgrind/coregrind/m_ume/
Dmacho.c539 len = sizeof(mh) + mh.sizeofcmds; in load_thin_file()
558 lcend = (struct load_command *)(headers + mh.sizeofcmds + sizeof(mh)); in load_thin_file()
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.cpp1184 DataBufferSP load_cmd_data_sp(new DataBufferHeap(header->sizeofcmds, 0)); in ReadMachHeader()
1191 if (load_cmd_bytes_read == header->sizeofcmds) in ReadMachHeader()
1195 load_command_data->SetData(load_cmd_data_sp, 0, header->sizeofcmds); in ReadMachHeader()
/external/valgrind/coregrind/
Dfixup_macho_loadcmds.c353 if (ii->macho_img_szB < sizeof(struct mach_header_64) + mh->sizeofcmds) in map_image_aboard()
/external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.cpp418 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); in CheckForKernelImageAtAddress()
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp389 outs() << "('load_commands_size', " << Header.sizeofcmds << ")\n"; in printHeader()
/external/v8/src/
Dgdb-jit.cc500 uint32_t sizeofcmds; member
551 header->sizeofcmds = 0; in WriteHeader()
589 header->sizeofcmds = w->position() - load_command_start; in WriteSections()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp381 W.printNumber("SizeOfLoadCommands", Header.sizeofcmds); in printFileHeaders()
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp513 if (header.sizeofcmds >= data_sp->GetByteSize()) in GetModuleSpecifications()
515 data_sp = file.ReadFileContents(file_offset, header.sizeofcmds); in GetModuleSpecifications()
734 … const size_t header_and_lc_size = m_header.sizeofcmds + MachHeaderSizeFromMagic(m_header.magic); in ParseHeader()
/external/valgrind/coregrind/m_debuginfo/
Dreadmacho.c268 if (sli.szB < sizeof(struct MACH_HEADER) + mh.sizeofcmds) { in map_image_aboard()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp6862 uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags, in PrintMachHeader() argument
7020 outs() << format(" %10u", sizeofcmds); in PrintMachHeader()
7128 outs() << format(" %10u", sizeofcmds); in PrintMachHeader()
8504 H_64.ncmds, H_64.sizeofcmds, H_64.flags, verbose); in getAndPrintMachHeader()
8512 H.sizeofcmds, H.flags, verbose); in getAndPrintMachHeader()