Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum

SHT

Public Enum
std.elf.SHT
pub const SHT = enum(Word)

Values

  • pub const NUM

    Number of defined types

  • pub const LOOS

    Start of OS-specific

  • pub const HIOS

    End of OS-specific

  • pub const LLVM_ADDRSIG

    LLVM address-significance table

  • pub const GNU_HASH

    GNU hash table

  • pub const GNU_VERDEF

    GNU version definition table

  • pub const GNU_VERNEED

    GNU needed versions table

  • pub const GNU_VERSYM

    GNU symbol version table

  • pub const LOPROC

    Start of processor-specific

  • pub const HIPROC

    End of processor-specific

  • pub const X86_64_UNWIND

    Unwind information

  • pub const LOUSER

    Start of application-specific

  • pub const HIUSER

    End of application-specific

File

elf.zig:474
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
pub const SHT = enum(Word) {
    /// Section header table entry unused
    NULL = 0,
    /// Program data
    PROGBITS = 1,
    /// Symbol table
    SYMTAB = 2,
    /// String table
    STRTAB = 3,
    /// Relocation entries with addends
    RELA = 4,
    /// Symbol hash table
    HASH = 5,
    /// Dynamic linking information
    DYNAMIC = 6,
    /// Notes
    NOTE = 7,
    /// Program space with no data (bss)
    NOBITS = 8,
    /// Relocation entries, no addends
    REL = 9,
    /// Reserved
    SHLIB = 10,
    /// Dynamic linker symbol table
    DYNSYM = 11,
    /// Array of constructors
    INIT_ARRAY = 14,
    /// Array of destructors
    FINI_ARRAY = 15,
    /// Array of pre-constructors
    PREINIT_ARRAY = 16,
    /// Section group
    GROUP = 17,
    /// Extended section indices
    SYMTAB_SHNDX = 18,
    /// RELR relative relocations
    RELR = 19,
    _,

    /// Number of defined types
    pub const NUM = @typeInfo(SHT).@"enum".field_names.len;

    /// Start of OS-specific
    pub const LOOS: SHT = @fromBackingInt(@intCast(0x60000000));
    /// End of OS-specific
    pub const HIOS: SHT = @fromBackingInt(@intCast(0x6fffffff));

    /// LLVM address-significance table
    pub const LLVM_ADDRSIG: SHT = @fromBackingInt(@intCast(0x6fff4c03));

    /// GNU hash table
    pub const GNU_HASH: SHT = @fromBackingInt(@intCast(0x6ffffff6));
    /// GNU version definition table
    pub const GNU_VERDEF: SHT = @fromBackingInt(@intCast(0x6ffffffd));
    /// GNU needed versions table
    pub const GNU_VERNEED: SHT = @fromBackingInt(@intCast(0x6ffffffe));
    /// GNU symbol version table
    pub const GNU_VERSYM: SHT = @fromBackingInt(@intCast(0x6fffffff));

    /// Start of processor-specific
    pub const LOPROC: SHT = @fromBackingInt(@intCast(0x70000000));
    /// End of processor-specific
    pub const HIPROC: SHT = @fromBackingInt(@intCast(0x7fffffff));

    /// Unwind information
    pub const X86_64_UNWIND: SHT = @fromBackingInt(@intCast(0x70000001));

    /// Start of application-specific
    pub const LOUSER: SHT = @fromBackingInt(@intCast(0x80000000));
    /// End of application-specific
    pub const HIUSER: SHT = @fromBackingInt(@intCast(0xffffffff));
}