extern structstd.macho.symtab_command[src]

The symtab_command contains the offsets and sizes of the link-edit 4.3BSD "stab" style symbol table information as described in the header files <nlist.h> and <stab.h>.

Fields

cmd: LC = .SYMTAB

LC_SYMTAB

cmdsize: u32 = @sizeOf(symtab_command)

sizeof(struct symtab_command)

symoff: u32 = 0

symbol table offset

nsyms: u32 = 0

number of symbol table entries

stroff: u32 = 0

string table offset

strsize: u32 = 0

string table size in bytes

Source Code

Source code
pub const symtab_command = extern struct {
    /// LC_SYMTAB
    cmd: LC = .SYMTAB,

    /// sizeof(struct symtab_command)
    cmdsize: u32 = @sizeOf(symtab_command),

    /// symbol table offset
    symoff: u32 = 0,

    /// number of symbol table entries
    nsyms: u32 = 0,

    /// string table offset
    stroff: u32 = 0,

    /// string table size in bytes
    strsize: u32 = 0,
}