Functions

fn int(is_64: bool, need_bswap: bool, int_32: anytype, int_64: anytype) @TypeOf(int_64)

No documentation provided.

fn int32(need_bswap: bool, int_32: anytype, comptime Int64: anytype) Int64

No documentation provided.

Values

AT_BASE
comptime_int
AT_BASE_PLATFORM
comptime_int
AT_CLKTCK
comptime_int
AT_DCACHEBSIZE
comptime_int
AT_EGID
comptime_int
AT_ENTRY
comptime_int
AT_EUID
comptime_int
AT_EXECFD
comptime_int
AT_EXECFN
comptime_int
AT_FLAGS
comptime_int
AT_FPUCW
comptime_int
AT_GID
comptime_int
AT_HWCAP
comptime_int
AT_HWCAP2
comptime_int
AT_ICACHEBSIZE
comptime_int
AT_IGNORE
comptime_int
AT_IGNOREPPC
comptime_int
AT_L1D_CACHEGEOMETRY
comptime_int
AT_L1D_CACHESHAPE
comptime_int
AT_L1D_CACHESIZE
comptime_int
AT_L1I_CACHEGEOMETRY
comptime_int
AT_L1I_CACHESHAPE
comptime_int
AT_L1I_CACHESIZE
comptime_int
AT_L2_CACHEGEOMETRY
comptime_int
AT_L2_CACHESHAPE
comptime_int
AT_L2_CACHESIZE
comptime_int
AT_L3_CACHEGEOMETRY
comptime_int
AT_L3_CACHESHAPE
comptime_int
AT_L3_CACHESIZE
comptime_int
AT_NOTELF
comptime_int
AT_NULL
comptime_int
AT_PAGESZ
comptime_int
AT_PHDR
comptime_int
AT_PHENT
comptime_int
AT_PHNUM
comptime_int
AT_PLATFORM
comptime_int
AT_RANDOM
comptime_int
AT_SECURE
comptime_int
AT_SYSINFO
comptime_int
AT_SYSINFO_EHDR
comptime_int
AT_UCACHEBSIZE
comptime_int
AT_UID
comptime_int
Addr
type
Auxv
type
Chdr
type
DF_1_CONFALT
comptime_int
DF_1_DIRECT
comptime_int
DF_1_DISPRELDNE
comptime_int
DF_1_DISPRELPND
comptime_int
DF_1_EDITED
comptime_int
DF_1_ENDFILTEE
comptime_int
DF_1_GLOBAL
comptime_int
DF_1_GLOBAUDIT
comptime_int
DF_1_GROUP
comptime_int
DF_1_IGNMULDEF
comptime_int
DF_1_INITFIRST
comptime_int
DF_1_INTERPOSE
comptime_int
DF_1_LOADFLTR
comptime_int
DF_1_NODEFLIB
comptime_int
DF_1_NODELETE
comptime_int
DF_1_NODIRECT
comptime_int
DF_1_NODUMP
comptime_int
DF_1_NOHDR
comptime_int
DF_1_NOKSYMS
comptime_int
DF_1_NOOPEN
comptime_int
DF_1_NORELOC
comptime_int
DF_1_NOW
comptime_int
DF_1_ORIGIN
comptime_int
DF_1_PIE
comptime_int
DF_1_SINGLETON
comptime_int
DF_1_STUB
comptime_int
DF_1_SYMINTPOSE
comptime_int
DF_1_TRANS
comptime_int
DF_BIND_NOW
comptime_int
DF_ORIGIN
comptime_int
DF_STATIC_TLS
comptime_int
DF_SYMBOLIC
comptime_int
DF_TEXTREL
comptime_int
DT_ADDRNUM
comptime_int
DT_ADDRRNGHI
comptime_int
DT_ADDRRNGLO
comptime_int
DT_ALPHA_NUM
comptime_int
DT_ALPHA_PLTRO
type
DT_AUDIT
comptime_int
DT_AUXILIARY
comptime_int
DT_BIND_NOW
comptime_int
DT_CHECKSUM
comptime_int
DT_CONFIG
comptime_int
DT_DEBUG
comptime_int
DT_DEPAUDIT
comptime_int
DT_ENCODING
comptime_int
DT_EXTRANUM
comptime_int
DT_FEATURE_1
comptime_int
DT_FILTER
comptime_int
DT_FINI
comptime_int
DT_FINI_ARRAY
comptime_int
DT_FINI_ARRAYSZ
comptime_int
DT_FLAGS
comptime_int
DT_FLAGS_1
comptime_int
DT_GNU_CONFLICT
comptime_int
DT_GNU_CONFLICTSZ
comptime_int
DT_GNU_HASH
comptime_int
DT_GNU_LIBLIST
comptime_int
DT_GNU_LIBLISTSZ
comptime_int
DT_GNU_PRELINKED
comptime_int
DT_HASH
comptime_int
DT_HIOS
comptime_int
DT_HIPROC
comptime_int
DT_IA_64_NUM
comptime_int
DT_IA_64_PLT_RESERVE
type
DT_INIT
comptime_int
DT_INIT_ARRAY
comptime_int
DT_INIT_ARRAYSZ
comptime_int
DT_JMPREL
comptime_int
DT_LOOS
comptime_int
DT_LOPROC
comptime_int
DT_MIPS_AUX_DYNAMIC
comptime_int
DT_MIPS_BASE_ADDRESS
comptime_int
DT_MIPS_COMPACT_SIZE
comptime_int
DT_MIPS_CONFLICT
comptime_int
DT_MIPS_CONFLICTNO
comptime_int
DT_MIPS_CXX_FLAGS
comptime_int
DT_MIPS_DELTA_CLASS
comptime_int
DT_MIPS_DELTA_CLASSSYM
comptime_int
DT_MIPS_DELTA_CLASSSYM_NO
comptime_int
DT_MIPS_DELTA_CLASS_NO
comptime_int
DT_MIPS_DELTA_INSTANCE
comptime_int
DT_MIPS_DELTA_INSTANCE_NO
comptime_int
DT_MIPS_DELTA_RELOC
comptime_int
DT_MIPS_DELTA_RELOC_NO
comptime_int
DT_MIPS_DELTA_SYM
comptime_int
DT_MIPS_DELTA_SYM_NO
comptime_int
DT_MIPS_DYNSTR_ALIGN
comptime_int
DT_MIPS_FLAGS
comptime_int
DT_MIPS_GOTSYM
comptime_int
DT_MIPS_GP_VALUE
comptime_int
DT_MIPS_HIDDEN_GOTIDX
comptime_int
DT_MIPS_HIPAGENO
comptime_int
DT_MIPS_ICHECKSUM
comptime_int
DT_MIPS_INTERFACE
comptime_int
DT_MIPS_INTERFACE_SIZE
comptime_int
DT_MIPS_IVERSION
comptime_int
DT_MIPS_LIBLIST
comptime_int
DT_MIPS_LIBLISTNO
comptime_int
DT_MIPS_LOCALPAGE_GOTIDX
comptime_int
DT_MIPS_LOCAL_GOTIDX
comptime_int
DT_MIPS_LOCAL_GOTNO
comptime_int
DT_MIPS_MSYM
comptime_int
DT_MIPS_NUM
comptime_int
DT_MIPS_OPTIONS
comptime_int
DT_MIPS_PERF_SUFFIX
comptime_int
DT_MIPS_PIXIE_INIT
comptime_int
DT_MIPS_PLTGOT
comptime_int
DT_MIPS_PROTECTED_GOTIDX
comptime_int
DT_MIPS_RLD_MAP
comptime_int
DT_MIPS_RLD_MAP_REL
comptime_int
DT_MIPS_RLD_TEXT_RESOLVE_ADDR
comptime_int
DT_MIPS_RLD_VERSION
comptime_int
DT_MIPS_RWPLT
comptime_int
DT_MIPS_SYMBOL_LIB
comptime_int
DT_MIPS_SYMTABNO
comptime_int
DT_MIPS_TIME_STAMP
comptime_int
DT_MIPS_UNREFEXTNO
comptime_int
DT_MOVEENT
comptime_int
DT_MOVESZ
comptime_int
DT_MOVETAB
comptime_int
DT_NEEDED
comptime_int
DT_NIOS2_GP
comptime_int
DT_NULL
comptime_int
DT_NUM
comptime_int
DT_PLTGOT
comptime_int
DT_PLTPAD
comptime_int
DT_PLTPADSZ
comptime_int
DT_PLTREL
comptime_int
DT_PLTRELSZ
comptime_int
DT_POSFLAG_1
comptime_int
DT_PPC64_GLINK
type
DT_PPC64_NUM
comptime_int
DT_PPC64_OPD
type
DT_PPC64_OPDSZ
type
DT_PPC64_OPT
type
DT_PPC_GOT
type
DT_PPC_NUM
comptime_int
DT_PPC_OPT
type
DT_PREINIT_ARRAY
comptime_int
DT_PREINIT_ARRAYSZ
comptime_int
DT_PROCNUM
comptime_int
DT_REL
comptime_int
DT_RELA
comptime_int
DT_RELACOUNT
comptime_int
DT_RELAENT
comptime_int
DT_RELASZ
comptime_int
DT_RELCOUNT
comptime_int
DT_RELENT
comptime_int
DT_RELSZ
comptime_int
DT_RPATH
comptime_int
DT_RUNPATH
comptime_int
DT_SONAME
comptime_int
DT_SPARC_NUM
comptime_int
DT_SPARC_REGISTER
comptime_int
DT_STRSZ
comptime_int
DT_STRTAB
comptime_int
DT_SYMBOLIC
comptime_int
DT_SYMENT
comptime_int
DT_SYMINENT
comptime_int
DT_SYMINFO
comptime_int
DT_SYMINSZ
comptime_int
DT_SYMTAB
comptime_int
DT_SYMTAB_SHNDX
comptime_int
DT_TEXTREL
comptime_int
DT_TLSDESC_GOT
comptime_int
DT_TLSDESC_PLT
comptime_int
DT_VALNUM
comptime_int
DT_VALRNGHI
comptime_int
DT_VALRNGLO
comptime_int
DT_VERDEF
comptime_int
DT_VERDEFNUM
comptime_int
DT_VERNEED
comptime_int
DT_VERNEEDNUM
comptime_int
DT_VERSIONTAGNUM
comptime_int
DT_VERSYM
comptime_int
Dyn
type
EI_CLASS
comptime_int
EI_DATA
comptime_int
EI_NIDENT
comptime_int
EI_VERSION
comptime_int
ELFCLASS32
comptime_int
ELFCLASS64
comptime_int
ELFCLASSNONE
comptime_int
ELFCLASSNUM
comptime_int
ELFDATA2LSB
comptime_int
ELFDATA2MSB
comptime_int
ELFDATANONE
comptime_int
ELFDATANUM
comptime_int
Ehdr
type
Half
type
MAGIC
*const [4:0]u8
NT_GNU_BUILD_ID
comptime_int
PF_MASKOS
comptime_int

Bits for operating system-specific semantics.

PF_MASKPROC
comptime_int

Bits for processor-specific semantics.

PF_R
comptime_int

Read

PF_W
comptime_int

Write

PF_X
comptime_int

Execute

PT_DYNAMIC
comptime_int

Dynamic linking information

PT_GNU_EH_FRAME
comptime_int

GCC .eh_frame_hdr segment

PT_GNU_RELRO
comptime_int

Read-only after relocation

PT_GNU_STACK
comptime_int

Indicates stack executability

PT_HIOS
comptime_int

End of OS-specific

PT_HIPROC
comptime_int

End of processor-specific

PT_HISUNW
comptime_int
PT_INTERP
comptime_int

Program interpreter

PT_LOAD
comptime_int

Loadable program segment

PT_LOOS
comptime_int

Start of OS-specific

PT_LOPROC
comptime_int

Start of processor-specific

PT_LOSUNW
comptime_int
PT_NOTE
comptime_int

Auxiliary information

PT_NULL
comptime_int

Program header table entry unused

PT_NUM
comptime_int

Number of defined types

PT_PHDR
comptime_int

Entry for header table itself

PT_SHLIB
comptime_int

Reserved

PT_SUNWBSS
comptime_int

Sun specific segment

PT_SUNWSTACK
comptime_int

Stack segment

PT_TLS
comptime_int

Thread-local storage segment

Phdr
type
R_X86_64_16
comptime_int

Direct 16 bit zero extended

R_X86_64_32
comptime_int

Direct 32 bit zero extended

R_X86_64_32S
comptime_int

Direct 32 bit sign extended

R_X86_64_64
comptime_int

Direct 64 bit

R_X86_64_8
comptime_int

Direct 8 bit sign extended

R_X86_64_COPY
comptime_int

Copy symbol at runtime

R_X86_64_DTPMOD64
comptime_int

ID of module containing symbol

R_X86_64_DTPOFF32
comptime_int

Offset in TLS block

R_X86_64_DTPOFF64
comptime_int

Offset in module’s TLS block

R_X86_64_GLOB_DAT
comptime_int

Create GOT entry

R_X86_64_GOT32
comptime_int

32 bit GOT entry

R_X86_64_GOT64
comptime_int

64 bit GOT entry offset

R_X86_64_GOTOFF64
comptime_int

64 bit offset to GOT

R_X86_64_GOTPC32
comptime_int

32 bit signed pc relative offset to GOT

R_X86_64_GOTPC32_TLSDESC
comptime_int

GOT offset for TLS descriptor

R_X86_64_GOTPC64
comptime_int

64 bit PC relative offset to GOT

R_X86_64_GOTPCREL
comptime_int

32 bit signed PC relative offset to GOT

R_X86_64_GOTPCREL64
comptime_int

64 bit PC relative offset to GOT entry

R_X86_64_GOTPCRELX
comptime_int

39 Reserved was R_X86_64_PC32_BND 40 Reserved was R_X86_64_PLT32_BND Load from…

R_X86_64_GOTPLT64
comptime_int

Like GOT64, says PLT entry needed

R_X86_64_GOTTPOFF
comptime_int

32 bit signed PC relative offset to GOT entry for IE symbol

R_X86_64_IRELATIVE
comptime_int

Adjust indirectly by program base

R_X86_64_JUMP_SLOT
comptime_int

Create PLT entry

R_X86_64_NONE
comptime_int

AMD x86-64 relocations. No reloc

R_X86_64_NUM
comptime_int
R_X86_64_PC16
comptime_int

16 bit sign extended pc relative

R_X86_64_PC32
comptime_int

PC relative 32 bit signed

R_X86_64_PC64
comptime_int

PC relative 64 bit

R_X86_64_PC8
comptime_int

8 bit sign extended pc relative

R_X86_64_PLT32
comptime_int

32 bit PLT address

R_X86_64_PLTOFF64
comptime_int

64-bit GOT relative offset to PLT entry

R_X86_64_RELATIVE
comptime_int

Adjust by program base

R_X86_64_RELATIVE64
comptime_int

64-bit adjust by program base

R_X86_64_REX_GOTPCRELX
comptime_int

Load from 32 bit signed PC relative offset to GOT entry with REX prefix, relaxab…

R_X86_64_SIZE32
comptime_int

Size of symbol plus 32-bit addend

R_X86_64_SIZE64
comptime_int

Size of symbol plus 64-bit addend

R_X86_64_TLSDESC
comptime_int

TLS descriptor

R_X86_64_TLSDESC_CALL
comptime_int

Marker for call through TLS descriptor

R_X86_64_TLSGD
comptime_int

32 bit signed PC relative offset to two GOT entries for GD symbol

R_X86_64_TLSLD
comptime_int

32 bit signed PC relative offset to two GOT entries for LD symbol

R_X86_64_TPOFF32
comptime_int

Offset in initial TLS block

R_X86_64_TPOFF64
comptime_int

Offset in initial TLS block

Rel
type
Rela
type
SHF_ALLOC
comptime_int

Section occupies memory during program execution.

SHF_ARM_PURECODE
comptime_int

Make code section unreadable when in execute-only mode

SHF_COMPRESSED
comptime_int

Identifies a section containing compressed data.

SHF_EXCLUDE
comptime_int

This section is excluded from the final executable or shared library.

SHF_EXECINSTR
comptime_int

Section contains executable machine instructions.

SHF_GNU_RETAIN
comptime_int

Not to be GCed by the linker

SHF_GROUP
comptime_int

This section is a member of a section group.

SHF_HEX_GPREL
comptime_int

All sections with the GPREL flag are grouped into a global data area for faster…

SHF_INFO_LINK
comptime_int

A field in this section holds a section header table index.

SHF_LINK_ORDER
comptime_int

Adds special ordering requirements for link editors.

SHF_MASKOS
comptime_int

Start of target-specific flags.

SHF_MASKPROC
comptime_int

Bits indicating processor-specific flags.

SHF_MERGE
comptime_int

The data in this section may be merged.

SHF_MIPS_ADDR
comptime_int

Address size to be inferred from section entry size.

SHF_MIPS_GPREL
comptime_int

Section must be part of global data area.

SHF_MIPS_LOCAL
comptime_int

Section data local to process.

SHF_MIPS_MERGE
comptime_int

This section should be merged.

SHF_MIPS_NAMES
comptime_int

Linker must generate implicit hidden weak names.

SHF_MIPS_NODUPES
comptime_int

Section contains text/data which may be replicated in other sections. Linker mu…

SHF_MIPS_NOSTRIP
comptime_int

Do not strip this section.

SHF_MIPS_STRING
comptime_int

Section data is string data by default.

SHF_OS_NONCONFORMING
comptime_int

This section requires special OS-specific processing to avoid incorrect behavio…

SHF_STRINGS
comptime_int

The data in this section is null-terminated strings.

SHF_TLS
comptime_int

This section holds Thread-Local Storage.

SHF_WRITE
comptime_int

Section data should be writable during execution.

SHF_X86_64_LARGE
comptime_int

If an object file section does not have this flag set, then it may not hold mor…

SHN_ABS
comptime_int

Associated symbol is absolute

SHN_COMMON
comptime_int

Associated symbol is common

SHN_HIPROC
comptime_int

End of processor-specific

SHN_HIRESERVE
comptime_int

End of reserved indices

SHN_LIVEPATCH
comptime_int
SHN_LOPROC
comptime_int

Start of processor-specific

SHN_LORESERVE
comptime_int

Start of reserved indices

SHN_UNDEF
comptime_int

Undefined section

SHT_DYNAMIC
comptime_int

Dynamic linking information

SHT_DYNSYM
comptime_int

Dynamic linker symbol table

SHT_FINI_ARRAY
comptime_int

Array of destructors

SHT_GNU_HASH
comptime_int

GNU hash table

SHT_GNU_VERDEF
comptime_int

GNU version definition table

SHT_GNU_VERNEED
comptime_int

GNU needed versions table

SHT_GNU_VERSYM
comptime_int

GNU symbol version table

SHT_GROUP
comptime_int

Section group

SHT_HASH
comptime_int

Symbol hash table

SHT_HIOS
comptime_int

End of OS-specific

SHT_HIPROC
comptime_int

End of processor-specific

SHT_HIUSER
comptime_int

End of application-specific

SHT_INIT_ARRAY
comptime_int

Array of constructors

SHT_LLVM_ADDRSIG
comptime_int

LLVM address-significance table

SHT_LOOS
comptime_int

Start of OS-specific

SHT_LOPROC
comptime_int

Start of processor-specific

SHT_LOUSER
comptime_int

Start of application-specific

SHT_NOBITS
comptime_int

Program space with no data (bss)

SHT_NOTE
comptime_int

Notes

SHT_NULL
comptime_int

Section header table entry unused

SHT_PREINIT_ARRAY
comptime_int

Array of pre-constructors

SHT_PROGBITS
comptime_int

Program data

SHT_REL
comptime_int

Relocation entries, no addends

SHT_RELA
comptime_int

Relocation entries with addends

SHT_SHLIB
comptime_int

Reserved

SHT_STRTAB
comptime_int

String table

SHT_SYMTAB
comptime_int

Symbol table

SHT_SYMTAB_SHNDX
comptime_int

Extended section indices

SHT_X86_64_UNWIND
comptime_int

Unwind information

STB_GLOBAL
comptime_int

Global symbol

STB_GNU_UNIQUE
comptime_int

Unique symbol

STB_HIOS
comptime_int

End of OS-specific

STB_HIPROC
comptime_int

End of processor-specific

STB_LOCAL
comptime_int

Local symbol

STB_LOOS
comptime_int

Start of OS-specific

STB_LOPROC
comptime_int

Start of processor-specific

STB_MIPS_SPLIT_COMMON
comptime_int
STB_NUM
comptime_int

Number of defined types

STB_WEAK
comptime_int

Weak symbol

STT_ARM_16BIT
comptime_int
STT_ARM_TFUNC
comptime_int
STT_COMMON
comptime_int

Symbol is a common data object

STT_FILE
comptime_int

Symbol’s name is file name

STT_FUNC
comptime_int

Symbol is a code object

STT_GNU_IFUNC
comptime_int

Symbol is indirect code object

STT_HIOS
comptime_int

End of OS-specific

STT_HIPROC
comptime_int

End of processor-specific

STT_HP_OPAQUE
type
STT_HP_STUB
type
STT_LOOS
comptime_int

Start of OS-specific

STT_LOPROC
comptime_int

Start of processor-specific

STT_NOTYPE
comptime_int

Symbol type is unspecified

STT_NUM
comptime_int

Number of defined types

STT_OBJECT
comptime_int

Symbol is a data object

STT_PARISC_MILLICODE
comptime_int
STT_SECTION
comptime_int

Symbol associated with a section

STT_SPARC_REGISTER
comptime_int
STT_TLS
comptime_int

Symbol is thread-local data object

Shdr
type
Sym
type
VERSYM_HIDDEN
comptime_int
VERSYM_VERSION
comptime_int
VER_FLG_BASE
comptime_int

Version definition of the file itself

VER_FLG_WEAK
comptime_int

Weak version identifier

VER_NDX_ELIMINATE
comptime_int

Symbol is to be eliminated

VER_NDX_GLOBAL
comptime_int

Symbol is global

VER_NDX_LOCAL
comptime_int

Symbol is local

VER_NDX_LORESERVE
comptime_int

Beginning of reserved entries

Verdaux
type
Verdef
type
XCORE_SHF_CP_SECTION
comptime_int

All sections with the “c” flag are grouped together by the linker to form the c…

XCORE_SHF_DP_SECTION
comptime_int

All sections with the “d” flag are grouped together by the linker to form the d…