<< 16/55 >>
First Last

segment-command

LC_SEGMENT_64 or LC_SEGMENT

  Load command 1
        cmd LC_SEGMENT_64
    cmdsize 712
    segname __TEXT
     vmaddr 0x0000000100000000
     vmsize 0x00000000001c6000
    fileoff 0
   filesize 1859584
    maxprot 0x00000007
   initprot 0x00000005
     nsects 8
      flags 0x0

mmap the first 1859584 bytes of this file to 0x100000000 with PROT_READ|PROT_EXEC

Similar to ELF's PT_LOAD