elf

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	LITTLE_ENDIAN = 1
	BIG_ENDIAN    = 2
)
View Source
const (
	CLASS_32 = 1
	CLASS_64 = 2
)
View Source
const (
	ET_NONE = 0
	ET_REL  = 1
	ET_EXEC = 2
	ET_DYN  = 3
	ET_CORE = 4
)
View Source
const (
	EM_X86_64 = 0x3e
	EM_ARM64  = 0xb7
)
View Source
const (
	PT_NULL    = 0
	PT_LOAD    = 1
	PT_DYNAMIC = 2
	PT_INTERP  = 3
	PT_NOTE    = 4
	PT_SHLIB   = 5
	PT_PHDR    = 6
	PT_TLS     = 7
)
View Source
const (
	NT_PRSTATUS             = 1
	NT_PRFPREG              = 2
	NT_PRPSINFO             = 3
	NT_TASKSTRUCT           = 4
	NT_AUXV                 = 6
	NT_SIGINFO              = 0x53494749 // "SIGI"
	NT_FILE                 = 0x46494c45 // "FILE"
	NT_PRXFPREG             = 0x46e62b7f
	NT_PPC_VMX              = 0x100
	NT_PPC_SPE              = 0x101
	NT_PPC_VSX              = 0x102
	NT_PPC_TAR              = 0x103
	NT_PPC_PPR              = 0x104
	NT_PPC_DSCR             = 0x105
	NT_PPC_EBB              = 0x106
	NT_PPC_PMU              = 0x107
	NT_PPC_TM_CGPR          = 0x108
	NT_PPC_TM_CFPR          = 0x109
	NT_PPC_TM_CVMX          = 0x10a
	NT_PPC_TM_CVSX          = 0x10b
	NT_PPC_TM_SPR           = 0x10c
	NT_PPC_TM_CTAR          = 0x10d
	NT_PPC_TM_CPPR          = 0x10e
	NT_PPC_TM_CDSCR         = 0x10f
	NT_PPC_PKEY             = 0x110
	NT_386_TLS              = 0x200
	NT_386_IOPERM           = 0x201
	NT_X86_XSTATE           = 0x202
	NT_S390_HIGH_GPRS       = 0x300
	NT_S390_TIMER           = 0x301
	NT_S390_TODCMP          = 0x302
	NT_S390_TODPREG         = 0x303
	NT_S390_CTRS            = 0x304
	NT_S390_PREFIX          = 0x305
	NT_S390_LAST_BREAK      = 0x306
	NT_S390_SYSTEM_CALL     = 0x307
	NT_S390_TDB             = 0x308
	NT_S390_VXRS_LOW        = 0x309
	NT_S390_VXRS_HIGH       = 0x30a
	NT_S390_GS_CB           = 0x30b
	NT_S390_GS_BC           = 0x30c
	NT_S390_RI_CB           = 0x30d
	NT_S390_PV_CPU_DATA     = 0x30e
	NT_ARM_VFP              = 0x400
	NT_ARM_TLS              = 0x401
	NT_ARM_HW_BREAK         = 0x402
	NT_ARM_HW_WATCH         = 0x403
	NT_ARM_SYSTEM_CALL      = 0x404
	NT_ARM_SVE              = 0x405
	NT_ARM_PAC_MASK         = 0x406
	NT_ARM_PACA_KEYS        = 0x407
	NT_ARM_PACG_KEYS        = 0x408
	NT_ARM_TAGGED_ADDR_CTRL = 0x409
	NT_ARM_PAC_ENABLED_KEYS = 0x40a
	NT_ARM_SSVE             = 0x40b
	NT_ARM_ZA               = 0x40c
	NT_ARC_V2               = 0x600
	NT_VMCOREDD             = 0x700
	NT_MIPS_DSP             = 0x800
	NT_MIPS_FP_MODE         = 0x801
	NT_MIPS_MSA             = 0x802
	NT_LOONGARCH_CPUCFG     = 0xa00
	NT_LOONGARCH_CSR        = 0xa01
	NT_LOONGARCH_LSX        = 0xa02
	NT_LOONGARCH_LASX       = 0xa03
	NT_LOONGARCH_LBT        = 0xa04
)
View Source
const (
	SHT_NULL          = 0x0
	SHT_PROGBITS      = 0x1
	SHT_SYMTAB        = 0x2
	SHT_STRTAB        = 0x3
	SHT_RELA          = 0x4
	SHT_HASH          = 0x5
	SHT_DYNAMIC       = 0x6
	SHT_NOTE          = 0x7
	SHT_NOBITS        = 0x8
	SHT_REL           = 0x9
	SHT_SHLIB         = 0x0a
	SHT_DYNSYM        = 0x0b
	SHT_INIT_ARRAY    = 0x0e
	SHT_FINI_ARRAY    = 0x0f
	SHT_PREINIT_ARRAY = 0x10
	SHT_GROUP         = 0x11
	SHT_SYMTAB_SHNDX  = 0x12
	SHT_GNU_HASH      = 0x6ffffff6
)
View Source
const (
	STRTAB_DYNSTR   = ".dynstr"
	STRTAB_SHSTRTAB = ".shstrtab"
	STRTAB_STRTAB   = ".strtab"
)
View Source
const (
	DT_NULL            = 0
	DT_NEEDED          = 1
	DT_PLTRELSZ        = 2
	DT_PLTGOT          = 3
	DT_HASH            = 4
	DT_STRTAB          = 5
	DT_SYMTAB          = 6
	DT_RELA            = 7
	DT_RELASZ          = 8
	DT_RELAENT         = 9
	DT_STRSZ           = 10
	DT_SYMENT          = 11
	DT_INIT            = 12
	DT_FINI            = 13
	DT_SONAME          = 14
	DT_RPATH           = 15
	DT_SYMBOLIC        = 16
	DT_REL             = 17
	DT_RELSZ           = 18
	DT_RELENT          = 19
	DT_PLTREL          = 20
	DT_DEBUG           = 21
	DT_TEXTREL         = 22
	DT_JMPREL          = 23
	DT_BIND_NOW        = 24
	DT_INIT_ARRAY      = 25
	DT_FINI_ARRAY      = 26
	DT_INIT_ARRAYSZ    = 27
	DT_FINI_ARRAYSZ    = 28
	DT_RUNPATH         = 29
	DT_FLAGS           = 30 // TODO: flag map
	DT_ENCODING        = 32 // or DT_PREINIT_ARRAY ?
	DT_PREINIT_ARRAYSZ = 33
	DT_LOOS            = 0x6000000D
	DT_HIOS            = 0x6ffff000
	DT_LOPROC          = 0x70000000
	DT_HIPROC          = 0x7fffffff
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL