Home
last modified time | relevance | path

Searched refs:mach_header (Results 1 – 25 of 30) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/
DSDL_dlcompat.c165 static const struct mach_header *(*dyld_NSAddImage) (const char *, unsigned long) = 0;
166 static int (*dyld_NSIsSymbolNameDefinedInImage) (const struct mach_header *, const char *) = 0;
168 (const struct mach_header *, const char *, unsigned long) = 0;
209 const struct mach_header *lib;
243 static NSSymbol search_linked_libs(const struct mach_header *mh, const char *symbol);
244 static const char *get_lib_name(const struct mach_header *mh);
245 static const struct mach_header *get_mach_header_from_NSModule(NSModule mod);
252 static const struct mach_header *my_find_image(const char *name);
253 static const struct mach_header *image_for_address(const void *address);
313 static const char *get_lib_name(const struct mach_header *mh) in get_lib_name()
[all …]
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.h160 llvm::MachO::mach_header &header);
164 GetUUID (const llvm::MachO::mach_header &header,
185 llvm::MachO::mach_header m_header;
DObjectFileMachO.cpp407 return sizeof(struct mach_header); in MachHeaderSizeFromMagic()
510 llvm::MachO::mach_header header; in GetModuleSpecifications()
626 llvm::MachO::mach_header &header) in ParseHeader()
758 memset(&m_header, 0, sizeof(struct mach_header)); in ParseHeader()
3685 ObjectFileMachO::GetUUID (const llvm::MachO::mach_header &header, in GetUUID()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cc109 const mach_header* hdr = _dyld_get_image_header(current_image_); in Next()
124 current_load_cmd_addr_ = (char*)hdr + sizeof(mach_header); in Next()
/external/libcxxabi/src/Unwind/
DAddressSpace.hpp275 const struct mach_header* mh;
294 const mach_header *mh = (const mach_header *)dlinfo.dli_saddr; in _dyld_find_unwind_sections()
DUnwindCursor.hpp62 static void dyldUnloadHook(const struct mach_header *mh, intptr_t slide);
158 void DwarfFDECache<A>::dyldUnloadHook(const struct mach_header *mh, intptr_t ) { in dyldUnloadHook()
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.h128 llvm::MachO::mach_header *header,
176 llvm::MachO::mach_header header; // The mach header for this image
DDynamicLoaderMacOSXDYLD.cpp1142 DynamicLoaderMacOSXDYLD::ReadMachHeader (lldb::addr_t addr, llvm::MachO::mach_header *header, DataE… in ReadMachHeader()
1144 DataBufferHeap header_bytes(sizeof(llvm::MachO::mach_header), 0); in ReadMachHeader()
1150 if (bytes_read == sizeof(llvm::MachO::mach_header)) in ReadMachHeader()
1153 ::memset (header, 0, sizeof(llvm::MachO::mach_header)); in ReadMachHeader()
1165 load_cmd_addr += sizeof(llvm::MachO::mach_header); in ReadMachHeader()
1179 …if (data.GetU32(&offset, &header->cputype, (sizeof(llvm::MachO::mach_header)/sizeof(uint32_t)) - 1… in ReadMachHeader()
/external/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp145 llvm::MachO::mach_header header; in GetDynamicLoaderAddress()
239 llvm::MachO::mach_header header; in DoLoadCore()
/external/valgrind/main/coregrind/
Dlauncher-darwin.c160 struct mach_header *mh = (struct mach_header *)buf; in select_arch()
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp384 const MachO::mach_header &Header) { in printHeader()
417 MachO::mach_header *Header = reinterpret_cast<MachO::mach_header*>(&Header64); in main()
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c73 struct mach_header header; in parse_macho()
84 memcpy(&header, buf, sizeof(struct mach_header)); in parse_macho()
90 buf += sizeof(struct mach_header); in parse_macho()
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
Dobj_int_extract.c73 struct mach_header header; in parse_macho()
84 memcpy(&header, buf, sizeof(struct mach_header)); in parse_macho()
90 buf += sizeof(struct mach_header); in parse_macho()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dbasictypes.h276 const mach_header* hdr = _dyld_get_image_header(i); in AssignAttributeStartEnd()
Dsysinfo.cc542 static bool NextExtMachHelper(const mach_header* hdr, in NextExtMachHelper()
1015 const mach_header* hdr = _dyld_get_image_header(current_image_); in NextExt()
1033 struct mach_header, struct segment_command>( in NextExt()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dbasictypes.h276 const mach_header* hdr = _dyld_get_image_header(i); in AssignAttributeStartEnd()
Dsysinfo.cc525 static bool NextExtMachHelper(const mach_header* hdr, in NextExtMachHelper()
857 const mach_header* hdr = _dyld_get_image_header(current_image_); in NextExt()
875 struct mach_header, struct segment_command>( in NextExt()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp150 static void getSectionsAndSymbols(const MachO::mach_header Header, in getSectionsAndSymbols()
244 MachO::mach_header Header = MachOOF->getHeader(); in DisassembleInputMachO2()
/external/chromium_org/base/
Dnative_library_mac.mm38 reinterpret_cast<const struct mach_header*>(info.dli_fbase),
/external/chromium_org/v8/src/base/platform/
Dplatform-macos.cc133 const mach_header* header = _dyld_get_image_header(i); in GetSharedLibraryAddresses()
/external/lldb/source/Host/macosx/
DSymbols.cpp110 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/llvm/include/llvm/Object/
DMachO.h209 MachO::mach_header getHeader() const;
/external/llvm/lib/Object/
DMachOObjectFile.cpp109 void SwapStruct(MachO::mach_header &H) { in SwapStruct()
1758 sizeof(MachO::mach_header); in getFirstLoadCommandInfo()
1860 MachO::mach_header MachOObjectFile::getHeader() const { in getHeader()
1861 return getStruct<MachO::mach_header>(this, getPtr(this, 0)); in getHeader()
/external/llvm/lib/MC/
DMachObjectWriter.cpp153 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header))); in WriteHeader()
825 sizeof(MachO::mach_header)) + LoadCommandsSize; in WriteObject()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp265 MachO::mach_header H; in darwinPrintSymbol()
782 MachO::mach_header H; in checkMachOAndArchFlags()

12