Skip to content

MachoSegment

Description

Decoded segment_command_64. Segments are spans of the file that map to contiguous virtual-address ranges at runtime.

Usage example (Cross-references)

Usage examples (Cross-references)
            return false;
        }
        MachoSegment seg;
        MemSet(&seg, 0, sizeof(seg));
        copy_fixed16(seg.name, cmd_p + 8);
        u32  nsects;
        u32  flags;
    } MachoSegment;
    
    ///
    } MachoSymbol;
    
    typedef Vec(MachoSegment) MachoSegments;
    typedef Vec(MachoSection) MachoSections;
    typedef Vec(MachoSymbol) MachoSymbols;
Last updated on