reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
137 if (DoReadMemory(addr, &header, sizeof(header), error) != sizeof(header)) 137 if (DoReadMemory(addr, &header, sizeof(header), error) != sizeof(header)) 137 if (DoReadMemory(addr, &header, sizeof(header), error) != sizeof(header)) 139 if (header.magic == llvm::MachO::MH_CIGAM || 140 header.magic == llvm::MachO::MH_CIGAM_64) { 141 header.magic = llvm::ByteSwap_32(header.magic); 141 header.magic = llvm::ByteSwap_32(header.magic); 142 header.cputype = llvm::ByteSwap_32(header.cputype); 142 header.cputype = llvm::ByteSwap_32(header.cputype); 143 header.cpusubtype = llvm::ByteSwap_32(header.cpusubtype); 143 header.cpusubtype = llvm::ByteSwap_32(header.cpusubtype); 144 header.filetype = llvm::ByteSwap_32(header.filetype); 144 header.filetype = llvm::ByteSwap_32(header.filetype); 145 header.ncmds = llvm::ByteSwap_32(header.ncmds); 145 header.ncmds = llvm::ByteSwap_32(header.ncmds); 146 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); 146 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); 147 header.flags = llvm::ByteSwap_32(header.flags); 147 header.flags = llvm::ByteSwap_32(header.flags); 153 if (header.magic == llvm::MachO::MH_MAGIC || 154 header.magic == llvm::MachO::MH_MAGIC_64) { 159 switch (header.filetype) { 174 if ((header.flags & llvm::MachO::MH_DYLDLINK) == 0) {