reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6180 buffer.PutHex32(mach_header.magic); 6181 buffer.PutHex32(mach_header.cputype); 6182 buffer.PutHex32(mach_header.cpusubtype); 6183 buffer.PutHex32(mach_header.filetype); 6184 buffer.PutHex32(mach_header.ncmds); 6185 buffer.PutHex32(mach_header.sizeofcmds); 6186 buffer.PutHex32(mach_header.flags); 6188 buffer.PutHex32(mach_header.reserved); 6193 addr_t file_offset = buffer.GetSize() + mach_header.sizeofcmds; 6207 buffer.PutHex32(LC_THREAD); 6208 buffer.PutHex32(8 + LC_THREAD_data_size); // cmd + cmdsize + data 6209 buffer.Write(LC_THREAD_data.GetString().data(), LC_THREAD_data_size); 6222 buffer.PutHex32(segment.cmd); 6223 buffer.PutHex32(segment.cmdsize); 6224 buffer.PutRawBytes(segment.segname, sizeof(segment.segname)); 6226 buffer.PutHex64(segment.vmaddr); 6227 buffer.PutHex64(segment.vmsize); 6228 buffer.PutHex64(segment.fileoff); 6229 buffer.PutHex64(segment.filesize); 6231 buffer.PutHex32(static_cast<uint32_t>(segment.vmaddr)); 6232 buffer.PutHex32(static_cast<uint32_t>(segment.vmsize)); 6233 buffer.PutHex32(static_cast<uint32_t>(segment.fileoff)); 6234 buffer.PutHex32(static_cast<uint32_t>(segment.filesize)); 6236 buffer.PutHex32(segment.maxprot); 6237 buffer.PutHex32(segment.initprot); 6238 buffer.PutHex32(segment.nsects); 6239 buffer.PutHex32(segment.flags); 6252 size_t bytes_written = buffer.GetString().size(); 6254 core_file.get()->Write(buffer.GetString().data(), bytes_written);