VirtualBox

Changeset 82954 in vbox


Ignore:
Timestamp:
Feb 3, 2020 12:41:36 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135960
Message:

iprt/formats/mach-o.h: assert size and some offsets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/mach-o.h

    r82805 r82954  
    201201typedef struct mach_header_64
    202202{
    203     uint32_t            magic;
    204     int32_t             cputype;
    205     int32_t             cpusubtype;
    206     uint32_t            filetype;
    207     uint32_t            ncmds;
    208     uint32_t            sizeofcmds;
    209     uint32_t            flags;
    210     uint32_t            reserved;
     203    uint32_t            magic;          /**< 0x00 */
     204    int32_t             cputype;        /**< 0x04 */
     205    int32_t             cpusubtype;     /**< 0x08 */
     206    uint32_t            filetype;       /**< 0x0c */
     207    uint32_t            ncmds;          /**< 0x10 */
     208    uint32_t            sizeofcmds;     /**< 0x14 */
     209    uint32_t            flags;          /**< 0x18 */
     210    uint32_t            reserved;       /**< 0x1c */
    211211} mach_header_64_t;
     212AssertCompileSize(mach_header_64_t, 0x20);
    212213
    213214/* magic */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette