reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
624 seg->cmd = T::LC; 625 seg->cmdsize = sizeof(typename T::command) 627 uint8_t *next = lc + seg->cmdsize; 628 memset(seg->segname, 0, 16); 629 seg->flags = 0; 630 seg->vmaddr = 0; 631 seg->fileoff = _endOfLoadCommands; 632 seg->maxprot = VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE; 633 seg->initprot = VM_PROT_READ|VM_PROT_WRITE|VM_PROT_EXECUTE; 634 seg->nsects = _file.sections.size(); 635 if (seg->nsects) { 636 seg->vmsize = _file.sections.back().address 638 seg->filesize = _sectInfo[&_file.sections.back()].fileOffset + 643 swapStruct(*seg);