brintos

brintos / llvm-project-archived public Read only

0
0
Text · 5.8 KiB · 2d3d3d7 Raw
219 lines · yaml
1--- !mach-o2FileHeader:3  magic:           0xFEEDFACF4  cputype:         0x10000075  cpusubtype:      0x36  filetype:        0x27  ncmds:           148  sizeofcmds:      7449  flags:           0x20008510  reserved:        0x011LoadCommands:12  - cmd:             LC_SEGMENT_6413    cmdsize:         7214    segname:         __PAGEZERO15    vmaddr:          016    vmsize:          429496729617    fileoff:         018    filesize:        019    maxprot:         020    initprot:        021    nsects:          022    flags:           023  - cmd:             LC_SEGMENT_6424    cmdsize:         23225    segname:         __TEXT26    vmaddr:          429496729627    vmsize:          1638428    fileoff:         029    filesize:        1638430    maxprot:         531    initprot:        532    nsects:          233    flags:           034    Sections:35      - sectname:        __text36        segname:         __TEXT37        addr:            0x100003FB038        size:            839        offset:          0x3FB040        align:           441        reloff:          0x042        nreloc:          043        flags:           0x8000040044        reserved1:       0x045        reserved2:       0x046        reserved3:       0x047        content:         C30F1F000000000048      - sectname:        __unwind_info49        segname:         __TEXT50        addr:            0x100003FB851        size:            7252        offset:          0x3FB853        align:           254        reloff:          0x055        nreloc:          056        flags:           0x057        reserved1:       0x058        reserved2:       0x059        reserved3:       0x060        content:         010000001C000000000000001C000000000000001C00000002000000B03F00003400000034000000B93F00000000000034000000030000000C00010010000100000000000000000061  - cmd:             LC_SEGMENT_6462    cmdsize:         7263    segname:         __LINKEDIT64    vmaddr:          429498368065    vmsize:          1638466    fileoff:         1638467    filesize:        16068    maxprot:         169    initprot:        170    nsects:          071    flags:           072  - cmd:             LC_DYLD_INFO_ONLY73    cmdsize:         4874    rebase_off:      075    rebase_size:     076    bind_off:        077    bind_size:       078    weak_bind_off:   079    weak_bind_size:  080    lazy_bind_off:   081    lazy_bind_size:  082    export_off:      1638483    export_size:     4884  - cmd:             LC_SYMTAB85    cmdsize:         2486    symoff:          1644887    nsyms:           388    stroff:          1649689    strsize:         4890  - cmd:             LC_DYSYMTAB91    cmdsize:         8092    ilocalsym:       093    nlocalsym:       094    iextdefsym:      095    nextdefsym:      296    iundefsym:       297    nundefsym:       198    tocoff:          099    ntoc:            0100    modtaboff:       0101    nmodtab:         0102    extrefsymoff:    0103    nextrefsyms:     0104    indirectsymoff:  0105    nindirectsyms:   0106    extreloff:       0107    nextrel:         0108    locreloff:       0109    nlocrel:         0110  - cmd:             LC_LOAD_DYLINKER111    cmdsize:         32112    name:            12113    Content:         '/usr/lib/dyld'114    ZeroPadBytes:    7115  - cmd:             LC_UUID116    cmdsize:         24117    uuid:            003A202C-BBD0-3633-81AC-48AD5F9CDE61118  - cmd:             LC_BUILD_VERSION119    cmdsize:         32120    platform:        1121    minos:           786432122    sdk:             787200123    ntools:          1124    Tools:125      - tool:            3126        version:         50069504127  - cmd:             LC_SOURCE_VERSION128    cmdsize:         16129    version:         0130  - cmd:             LC_MAIN131    cmdsize:         24132    entryoff:        16304133    stacksize:       0134  - cmd:             LC_LOAD_DYLIB135    cmdsize:         56136    dylib:137      name:            24138      timestamp:       2139      current_version: 85943299140      compatibility_version: 65536141    Content:         '/usr/lib/libSystem.B.dylib'142    ZeroPadBytes:    6143  - cmd:             LC_FUNCTION_STARTS144    cmdsize:         16145    dataoff:         16432146    datasize:        8147  - cmd:             LC_DATA_IN_CODE148    cmdsize:         16149    dataoff:         16440150    datasize:        8151LinkEditData:152  ExportTrie:153    TerminalSize:    0154    NodeOffset:      0155    Name:            ''156    Flags:           0x0157    Address:         0x0158    Other:           0x0159    ImportName:      ''160    Children:161      - TerminalSize:    0162        NodeOffset:      5163        Name:            _164        Flags:           0x0165        Address:         0x0166        Other:           0x0167        ImportName:      ''168        Children:169          - TerminalSize:    2170            NodeOffset:      33171            Name:            _mh_execute_header172            Flags:           0x0173            Address:         0x0174            Other:           0x0175            ImportName:      ''176          - TerminalSize:    3177            NodeOffset:      37178            Name:            main179            Flags:           0x0180            Address:         0x3FB0181            Other:           0x0182            ImportName:      ''183  NameList:184    - n_strx:          2185      n_type:          0xF186      n_sect:          1187      n_desc:          16188      n_value:         4294967296189    - n_strx:          22190      n_type:          0xF191      n_sect:          1192      n_desc:          0193      n_value:         4294983600194    - n_strx:          28195      n_type:          0x1196      n_sect:          0197      n_desc:          256198      n_value:         0199  StringTable:200    - ' '201    - __mh_execute_header202    - _main203    - dyld_stub_binder204    - ''205    - ''206    - ''207  FunctionStarts:  [ 0x3FB0 ]208  DataInCode:209    - Offset:          0x3FB4210      Length:          4211      Kind:            0x4212...213 214# RUN: yaml2obj %s | obj2yaml | FileCheck %s215# CHECK:      DataInCode:216# CHECK-NEXT:   - Offset:          0x3FB4217# CHECK-NEXT:     Length:          4218# CHECK-NEXT:     Kind:            0x4219