Lines Matching refs:MachO
37 case MachO::LC_CODE_SIGNATURE: in updateLoadCommandIndexes()
40 case MachO::LC_SEGMENT: in updateLoadCommandIndexes()
45 case MachO::LC_SEGMENT_64: in updateLoadCommandIndexes()
50 case MachO::LC_SYMTAB: in updateLoadCommandIndexes()
53 case MachO::LC_DYSYMTAB: in updateLoadCommandIndexes()
56 case MachO::LC_DYLD_INFO: in updateLoadCommandIndexes()
57 case MachO::LC_DYLD_INFO_ONLY: in updateLoadCommandIndexes()
60 case MachO::LC_DATA_IN_CODE: in updateLoadCommandIndexes()
63 case MachO::LC_LINKER_OPTIMIZATION_HINT: in updateLoadCommandIndexes()
66 case MachO::LC_FUNCTION_STARTS: in updateLoadCommandIndexes()
69 case MachO::LC_DYLD_CHAINED_FIXUPS: in updateLoadCommandIndexes()
72 case MachO::LC_DYLD_EXPORTS_TRIE: in updateLoadCommandIndexes()
135 is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in nextAvailableSegmentAddress()
138 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in nextAvailableSegmentAddress()
140 case MachO::LC_SEGMENT: in nextAvailableSegmentAddress()
145 case MachO::LC_SEGMENT_64: in nextAvailableSegmentAddress()
158 constructSegment(SegmentType &Seg, llvm::MachO::LoadCommandType CmdType, in constructSegment()
165 (MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in constructSegment()
167 (MachO::VM_PROT_READ | MachO::VM_PROT_WRITE | MachO::VM_PROT_EXECUTE); in constructSegment()
177 MachO::LC_SEGMENT_64, SegName, SegVMAddr, SegVMSize); in addSegment()
180 MachO::LC_SEGMENT, SegName, SegVMAddr, SegVMSize); in addSegment()
189 strnlen(SegName, sizeof(MachO::segment_command::segname))); in extractSegmentName()
193 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentName()
195 case MachO::LC_SEGMENT: in getSegmentName()
197 case MachO::LC_SEGMENT_64: in getSegmentName()
205 const MachO::macho_load_command &MLC = MachOLoadCommand; in getSegmentVMAddr()
207 case MachO::LC_SEGMENT: in getSegmentVMAddr()
209 case MachO::LC_SEGMENT_64: in getSegmentVMAddr()